New
MCP Config Generator
Runs in browserBuild MCP (Model Context Protocol) server configuration for Claude Desktop or Cursor. Toggle popular servers, set paths and secrets, then copy or download JSON.
MCP Config Generator tool
{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-filesystem",
"/Users/me/projects"
]
},
"github": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-github"
],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "<YOUR_GITHUB_TOKEN>",
"GITHUB_REPO_FILTER": "owner/repo"
}
}
}
}Never commit files with API tokens to version control.
How to use
Pick servers
Use checkboxes for Filesystem, GitHub, Slack, Postgres, and other MCP servers.
Fill options
Set allowed paths, GitHub token and repo filter, and Postgres connection string where shown.
Export
Toggle Claude Desktop vs Cursor filename, then copy or download the JSON.
Examples
Default selection
Filesystem + GitHub.
Output{ "mcpServers": { "filesystem": { ... }, "github": { ... } } }
Frequently asked questions
- Is this tied to official MCP packages?
- The template uses common @modelcontextprotocol server names; confirm versions and env vars in each server’s docs.
- Where do I put the file?
- Claude Desktop uses its app config path; Cursor expects .cursor/mcp.json — follow your editor’s latest instructions.
Related tools
You might find these useful too.