An MCP Server component packages a service endpoint implementing the Model Context Protocol. By wrapping an MCP server in a volume, you make it discoverable and installable through any bibliotheca, with content integrity and provenance attached. Any MCP-compatible runtime — Claude Code, Cursor, Cline, and others — can then install and run your server through the standard Agent Volumes workflow.Documentation Index
Fetch the complete documentation index at: https://agentvolumes.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Entrypoint format
MCP Server entrypoints must be JSON (.json) files. JSON is the only v0.1 baseline format for MCP server configuration in Agent Volumes — this is an interoperability convention that ensures consistent discovery across tools and runtimes.
The canonical discovery filename is .mcp.json at the volume root. You should use this path unless you have a specific reason not to.
The portable validation minimum requires:
- The entrypoint file exists and is a regular file.
- The file is valid JSON.
- The file parses to a JSON object (not an array or primitive).
Declaring an MCP server in volume.toml
Add a [[components]] entry with type = "mcp-server" and point entrypoint to your .mcp.json configuration file.
Execution model
An MCP server runs as a long-running process separate from the agent runtime. The three supported transport mechanisms are:| Transport | Description |
|---|---|
stdio | Communicates over standard input and output streams. |
sse | Server-Sent Events over HTTP. |
streamable-http | Bidirectional streaming over HTTP. |
Protocol compatibility declaration
If your MCP server targets a specific protocol version, declare it in the[[protocols]] table. This is advisory metadata that runtimes and tooling can use to filter compatible servers.
Protocol version expressions are advisory metadata in Agent Volumes v0.1. A runtime that does not
understand how to evaluate an MCP version expression must treat it as informational rather than
applying it as a hard filter.
Runtime compatibility
To signal that your MCP server is compatible with specific runtimes, add a[[runtimes]] entry. The generic-mcp identifier covers any MCP-compatible client:
Validation requirements
An MCP server entrypoint fails portable validation if any of these conditions are true:- The file does not exist or is not a regular file.
- The file is not valid JSON.
- The parsed JSON is not an object (is an array, string, number, boolean, or null).