Skip to main content

Overview

The Grapevine MCP provides 2 categories of tools that can be used to query your Company Context: Search Tools are the core tools, intended to be used by an agent to find specific documents that match a query. These tools are intended to be used in sequence, and execute quickly. They are modeled after the tools that applications like Claude Code or Cline use to navigate a codebase. In addition to the Search Tools, we provide a pre-packaged Agent Tool that is adept at using the Search Tools to research your Company Context and answer arbitrary questions.

Configuration

Grapevine runs as a remote MCP server at:
https://mcp.getgrapevine.ai
For more information on how to setup your Grapevine tenant, see Getting Started. For more information on how you can authenticate with the MCP, see the Authentication page.

Available tools

Search tools

These tools provide direct access to search and retrieve documents from your organization’s knowledge base.
Retrieve the full raw text content of a specific document from your organization’s internal context. Use this when you have a document ID from search results and need the complete document text.
  • Request
  • Response
document_id
string
required
Document identifier. Format varies by connector. See Document Sources and IDs for details
Retrieve metadata for a document without downloading its full text content. Use this when you only need document information like source, dates, and metadata fields.
  • Request
  • Response
document_id
string
required
Document identifier. Format varies by connector. See Document Sources and IDs for details
For complete details on document sources, ID formats, filters, and data structures, see the API Reference.

Agent Tools

This is the simplest way to get a comprehensive answer with citations - it is a good starting point for complex queries that require reasoning and synthesis across multiple documents.
ask_agent is akin to a Deep Research Agent - it is slow, thorough, and will answer with citations to the documents that were used to answer the question. Make sure your client is ready for large (100k+ tokens) and slow (multi-minute) responses.
  • Request
  • Response
query
string
required
User question to answer with agentic search
files
array
Optional file attachments as list of objects with:
  • name (string) - Filename
  • mimetype (string) - MIME type
  • content (string) - Base64 encoded file content
previous_response_id
string
Prior response ID to continue a conversation
output_format
string
Output format: use 'slack' for Slack markdown formatting
agent_prompt_override
string
Override the default system prompt
reasoning_effort
string
default:"medium"
OpenAI reasoning effort level: 'minimal', 'low', 'medium', or 'high'
verbosity
string
Response detail level: 'low', 'medium', or 'high'
Streaming variant of ask_agent that returns events as they occur. Use this when you need real-time progress updates during agentic search.
  • Request
  • Response
Same as ask_agent above.