MCP Config Builder
MCP connects Claude to external tools and data. Pick the servers you want and copy (or download) a starting .mcp.json. Replace the ${...} placeholders with env vars тАФ never hard-code secrets.
.mcp.json
{
"mcpServers": {
"github": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-github"
],
"env": {
"GITHUB_TOKEN": "${GITHUB_TOKEN}"
}
}
}
}
Replace ${...} placeholders with env vars (never hard-code secrets), and confirm each package exists at modelcontextprotocol.io. Only connect servers you trust.
:::warning Trust and verify An MCP server runs code and can access data. Only connect servers you trust, give them least privilege, and confirm each package at modelcontextprotocol.io. See Reviewing Third-Party Code. :::
NextтАЛ
- MCP Servers in Claude Code тАФ the full how-to
- MCP Config & Server Scaffolds тАФ server starter code
- Build & Wire Your First MCP Server