FileSamplesHub

Sample MCP Config File Download

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.

Related file formats