MCP Server Config Generator
Build your mcpServers configuration for Claude Desktop, Cursor, Continue, or Windsurf. Add stdio and SSE servers, configure arguments and environment variables, then copy the JSON directly into your config file. Runs entirely in your browser — no data sent anywhere.
Frequently Asked Questions
What is MCP (Model Context Protocol)?▼
MCP (Model Context Protocol) is an open standard developed by Anthropic that lets AI assistants like Claude connect to external tools, data sources, and services. Think of it as a universal plugin system for AI — instead of hardcoding integrations, MCP lets AI clients discover and call server-defined tools at runtime. This tool generates the JSON configuration that tells your AI client which MCP servers to load on startup.
Where is the claude_desktop_config.json file located?▼
On macOS, the file lives at ~/Library/Application Support/Claude/claude_desktop_config.json. On Windows, it's at %APPDATA%\Claude\claude_desktop_config.json (typically C:\Users\YourName\AppData\Roaming\Claude\). On Linux, check ~/.config/Claude/claude_desktop_config.json. You can also find it via Claude Desktop → Settings → Developer → Edit Config, which opens the file directly in your editor.
What is the difference between stdio and SSE transport?▼
stdio (standard input/output) is the most common transport: the AI client launches the MCP server as a subprocess and communicates via stdin/stdout pipes. This works great for local servers installed via npm, Python, or other runtimes. SSE (Server-Sent Events) connects to a remote HTTP server instead — useful for shared servers, cloud-hosted MCP services, or servers that need to stay running independently. For local development, stdio is usually simpler; for production services, SSE is preferred.
How do I add environment variables to an MCP server config?▼
In the stdio transport section, click '+ env var' to add key-value pairs. These become the env object in the JSON config, which the AI client passes to the server process as environment variables. This is the recommended way to provide API keys and secrets to MCP servers — never hardcode secrets in the args array. Example: set GITHUB_TOKEN as a key with your personal access token as the value for the GitHub MCP server.
What are some commonly used MCP servers?▼
The official Anthropic MCP repository includes servers for: filesystem (read/write local files), GitHub (repos, issues, PRs), PostgreSQL and SQLite (database queries), Brave Search and Fetch (web search), Memory (persistent key-value store), Puppeteer (browser automation), Slack (messaging), and Google Drive. The community has built hundreds more. Install most via npx -y @modelcontextprotocol/server-name. Browse the full list at github.com/modelcontextprotocol/servers.
Does this tool work for Cursor, Continue, and Windsurf too?▼
Yes — switch the Target Client selector to generate config for Cursor (~/.cursor/mcp.json), Continue (~/.continue/config.json), or Windsurf (~/.codeium/windsurf/mcp_config.json). The mcpServers JSON structure is identical across all clients since they all follow the MCP specification. Only the file location differs. The 'File Path' tab shows where to save the config for each client and includes setup instructions.
Related Products
on GumroadAI Prompt Engineering Toolkit
58 structured prompt templates for Claude, ChatGPT, and Gemini — organized by use case. Code Review, Debugging, Documentation, Architecture, and 10 model-specific tips. Stop writing prompts from scratch.
Buy on Gumroad →AI Developer Prompts Pack
55 battle-tested prompt templates for the workflows developers actually use: code review, debugging, architecture, documentation, and testing. Stop writing prompts from scratch.
Buy on Gumroad →DevToolkit Starter Kit
A ready-to-deploy developer tools website with 12 built-in tools. Astro + Preact + Tailwind. Deploy to Cloudflare Pages for free. Built-in SEO, dark mode, and ad-ready layout.
Buy on Gumroad →You Might Also Need
MCP Server Config Builder
Generate MCP (Model Context Protocol) server configuration JSON for Claude Desktop, Cursor, and Windsurf. Includes presets for filesystem, GitHub, Brave Search, PostgreSQL, and more.
Open free tool →
CrewAI Agent Config Generator
Build CrewAI agent configurations visually. Define roles, goals, backstories, and tools. Generate YAML or Python code for multi-agent crews.
Open free tool →
AI Safety Checklist Generator
Generate a customized AI safety evaluation checklist for your deployment. Covers technical safety, content moderation, security, bias, privacy, and regulatory compliance. Export to Markdown.
Open free tool →
More Free Tools
Related Articles
Claude MCP Protocol: Complete Developer Guide to Model Context Protocol (2026)
Complete guide to building MCP (Model Context Protocol) servers for Claude. Learn server types, tool definition schema, TypeScript SDK, real examples, and deployment patterns.
Model Context Protocol (MCP): The Complete Developer Guide 2026
Everything you need to know about Model Context Protocol (MCP): what it is, how it works, building MCP servers from scratch, integrating with Claude Code and other LLM clients, and production best practices.
Model Context Protocol (MCP): The Developer Guide to AI Tool Integration 2026
Build production-grade MCP servers from scratch. Covers TypeScript and Python SDKs, resources vs tools vs prompts, testing with Inspector, security patterns, and real integrations for Claude Desktop, Cursor, and Zed.
Model Context Protocol (MCP) Complete Guide 2026
The definitive guide to MCP (Model Context Protocol) by Anthropic. Learn what MCP is, how its architecture works, how to build MCP servers, real-world integrations, and how it compares to function calling and plugins.
Building AI Agents with MCP (Model Context Protocol) 2026: A Practical Guide
Step-by-step guide to building AI agents using MCP (Model Context Protocol). Covers MCP server and client architecture, tool calling, resource providers, real-world integrations, and production patterns.
Enjoying this tool? Get more like it.
Weekly developer tool guides, productivity playbooks & AI tricks. Free. No spam.
Unlock AI-Powered Dev Tools
- ⚡ AI Code Review, Doc Generator & SQL Builder
- ⚡ All premium templates & early access
- ⚡ Member discounts on Gumroad products
$9/mo after trial · Cancel anytime
Want the full toolkit?
Get DevPlaybook Pro
Every template, guide, boilerplate, and automation script in one bundle. 13 premium products — grab them all at once and save big.
MIT licensed · Instant download · No subscription
See what's included → Browse all deals →