How do I build an MCP configuration file?
Select your MCP client (Claude Desktop, Cursor, VS Code, Windsurf, Claude Code), add servers from 16 templates (filesystem, GitHub, Slack, Postgres, and more), configure transport and arguments, and generate a valid MCP config file. Copy or download the result. Everything runs in your browser.
Servers: - filesystem (read-only) - github (with token) - sqlite (local db)
{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": ["-y",
"@modelcontextprotocol/
server-filesystem",
"/home/user/projects"]
},
"github": {
"command": "npx",
"args": ["-y",
"@modelcontextprotocol/
server-github"],
"env": {
"GITHUB_TOKEN": "ghp_..."
}
}
}
}MCP Config Builder
Build mcp.json configuration files visually for Claude Desktop, Cursor, VS Code, Windsurf, and Claude Code.
MCP Servers
No servers configured yet.
Add a server from or .
Client / Editor
Save to: claude_desktop_config.json
Generated Config
// Add at least one server to generate config
Related Guides
Tips & Best Practices
Start with 2-3 MCP servers, not 20 — context window is finite
Every MCP server adds tool definitions to the AI's context window, consuming tokens and potentially confusing the model. Start with the servers you actually need (filesystem, database, search) and add more only when you hit a real limitation.
MCP server permissions are as dangerous as shell access
An MCP server with filesystem access can read/write any file the process can access. A database MCP server can DROP tables. Always configure the narrowest permissions possible — read-only by default, write access only for specific paths or operations.
Use environment variables for server connection strings in MCP config
Never hardcode database URLs, API keys, or connection strings in your MCP config file. Use env: references or a .env file. MCP configs are often committed to repos or shared in documentation, exposing embedded credentials.
Review MCP server source code before granting it system access
MCP servers run as local processes with access to your system. A malicious or compromised MCP server could exfiltrate data, modify files, or open network connections. Only use MCP servers from trusted sources and review their capabilities.
Frequently Asked Questions
What is MCP and what is mcp.json?
How do I configure MCP servers for Claude Desktop?
What MCP server templates are available?
Related Generate Tools
JSON Mock Data Generator
Generate realistic fake JSON data for API testing with 30+ field types, preset templates, and schema builder
README Generator
Generate professional GitHub README.md files with badges, installation steps, usage examples, and more
robots.txt Generator
Generate robots.txt files with crawl rules for Googlebot, Bingbot, AI bots, and more — presets included
Zod Schema Generator
Generate Zod validation schemas from JSON — auto-detects emails, URLs, UUIDs, dates, and nested objects