Skip to main content

Set Up Remote MCP Server

Beta Feature

The Remote MCP Server is currently in beta. Features and configuration may change.

What is Remote MCP?

The Remote MCP Server enables AI assistants to connect to Vectorize’s Model Context Protocol (MCP) services over the network. This allows agents to access custom tools and functions without installing local packages.

Unlike the local MCP server, the remote server:

  • Connects via Server-Sent Events (SSE)
  • Supports custom tools configured per agent
  • Allows dynamic tool configuration through the Vectorize UI
note

Note: The Remote MCP Server is designed for AI assistants that support MCP. Current compatible clients include Claude Desktop and custom frameworks implementing MCP.

Connecting Your AI Assistant

Add this configuration to your MCP-compatible AI assistant (e.g., Claude Desktop):

Connect using an agent ID to access custom tools configured for that agent:

{
"mcpServers": {
"vectorize": {
"command": "npx",
"args": [
"-y",
"mcp-remote@latest",
"https://mcp.vectorize.io/sse",
"--header", "Authorization: Bearer ${AUTH_HEADER}",
"--header", "x-agent-id: ${AGENT_ID}"
],
"env": {
"AUTH_HEADER": "your-vectorize-api-key",
"AGENT_ID": "your-agent-id"
}
}
}
}

Organization & Pipeline Configuration

Alternatively, connect using your organization ID and pipeline ID:

{
"mcpServers": {
"vectorize": {
"command": "npx",
"args": [
"-y",
"mcp-remote@latest",
"https://mcp.vectorize.io/sse",
"--header", "Authorization: Bearer ${AUTH_HEADER}",
"--header", "x-organization-id: ${organizationId}",
"--header", "x-pipeline-id: ${pipelineId}"
],
"env": {
"AUTH_HEADER": "your-vectorize-api-key",
"organizationId": "your-org-id",
"pipelineId": "your-pipeline-id"
}
}
}
}
Configuration Note

Recommendation: Agent-based configuration is preferred as it enables access to custom tools with defined parameters and filters. Organization/pipeline configuration provides basic retrieval functionality only.

Need Help?

If you need assistance connecting to the Remote MCP Server, check out our this quickstart guide for step-by-step instructions.

Finding Your Agent ID

Agent IDs are unique identifiers for each agent in your workspace.

From the MCP Functions Page

  1. Navigate to your workspace's MCP Functions page on the sidebar under the Metadata section.
  2. Select any function to view connected agents.
  3. Copy the Agent ID from the agent list.

Create Tool

Creating Custom Tools

Steps to Create a Tool

  1. Navigate to MCP Functions Access the MCP Functions page from the sidebar. This is where you'll manage all your custom tools.
  2. Click Create Function Click the "Create Function" button to start building your custom tool.
  3. Configure The Following Fields
  • Tool Name: Choose a descriptive name (e.g., invoice-search, contract-finder)
  • Description: Explain what the tool does - this helps AI assistants understand when to use it.
  • Pipeline Selection: Choose the pipeline to query.
  • Agent Selection: Select which agents can use this tool. Agents can be added or removed later.

Select one or more agents that should have access to this tool You can add or remove agents later through the edit function

Add Parameters (Optional)

If your tool requires specific parameters, you can define them here. This allows users to filter results based on metadata or other criteria. Click "Add Parameter" to create a new parameter.

FieldDescriptionExample
Parameter NameThe name of the parameterstatus, amount, date_range
TypeData type of the parameterString or Number
Metadata KeyThe exact metadata key to filter ondocument_metadata.status
DescriptionExplain what this parameter filters"Filter documents by their status (e.g., paid, pending)"
RequiredWhether the parameter must be providedtrue or false

Example Parameter Configuration

FieldValue
Parameter Namestatus
Typestring
Metadata Keydocument_metadata.status
DescriptionFilter documents by their status (e.g., paid, pending)
Requiredtrue

Add Hard-Coded Filters (Optional) Hard-coded filters restrict tool queries to specific metadata values. Examples: Limit by origin (e.g., file-upload). Restrict results to a specific document type.

After configuring your tool:

  • Click Create Tool.
  • Tools can be edited later via the MCP Functions page.

Was this page helpful?