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:
How the runtime launches the process, manages its lifecycle, and applies allow/deny policy are load-time decisions — they are not part of the portable validation that Agent Volumes performs on the component itself.
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).