MyNixOS website logo

MCP server configurations written to XDG_CONFIG_HOME/mcp/mcp.json.

Declarations
Type
JSON value
Default
{ }
Example
{
  everything = {
    command = "npx";
    args = [
      "-y"
      "@modelcontextprotocol/server-everything"
    ];
  };
  context7 = {
    url = "https://mcp.context7.com/mcp";
    headers = {
      CONTEXT7_API_KEY = "{env:CONTEXT7_API_KEY}";
    };
  };
}