Sample MCP Config File Download
- sample1.mcp200 bytesDownload sample mcp file
- sample2.mcp795 bytesDownload sample mcp file
- sample3.mcp2.5 KBDownload sample mcp file
Sample mcp file
MCP (Model Context Protocol) is the emerging standard for connecting AI assistants like Claude to external tools, data sources, and APIs — an MCP config file (conventionally named mcp.json or .mcp.json) is plain JSON describing which servers to launch, under an mcpServers key, each with a command, arguments, and optional environment variables.
It's structurally just JSON, but the schema is specific enough that getting it wrong — a missing comma, a relative path where an absolute one is required — silently disables every configured server without an obvious error. As MCP adoption grows across AI coding tools in 2026, having a real, valid reference file to check your config against matters more than it might for a more mature format.
Use the sample below to test an MCP config parser, confirm your tooling reads the mcpServers structure correctly, or just double-check your own config against a known-valid example.