Beta: This feature is in beta. The API schema may change as we iterate on the design.
Basic Usage
Configuration Options
| Field | Type | Required | Description |
|---|---|---|---|
type | string | Yes | Must be "inline_mcp" for server configs passed in the request |
server_label | string | Yes | Unique identifier for the server (max 64 characters). Used for tool namespacing. |
server_url | string | Yes | HTTPS URL of the MCP server endpoint |
server_description | string | No | Description of what the server provides (max 500 characters) |
authorization | string | No | Value sent in the Authorization header when calling the MCP server (e.g., "Bearer token") |
Multiple Servers
You can connect multiple MCP servers in a single request. Each server’s tools will be available to the agent:How It Works
- Tool Discovery: When a request includes MCP servers, Datagrid calls
tools/liston each server to discover available tools - Tool Registration: The discovered tools are registered with the agent for the duration of the request
- Tool Execution: When the agent uses a tool, Datagrid calls
tools/callon the appropriate MCP server - Credential Isolation: Each server’s authorization token is kept separate and only sent to that specific server
Security
- HTTPS Required: All MCP server URLs must use HTTPS
- SSRF Protection: Requests to private IP addresses, localhost, and internal domains are blocked
- Credential Isolation: Authorization tokens are isolated per-server and never shared between servers
- Ephemeral: Server configurations are not persisted - they only exist for the duration of the request
Building MCP Servers
To create an MCP server, implement the Model Context Protocol specification. Your server must handle two JSON-RPC methods:tools/list- Returns available tools and their JSON Schema definitionstools/call- Executes a tool and returns the result