Skip to main content

MCP Config Generator

Build your claude_desktop_config.json or .cursor/mcp.json by adding MCP server entries with commands, args, and env vars. Copy the ready-to-paste JSON and drop it into your config file.

✓ Claude Desktop & Cursor/Cline ✓ npx / node / uvx / python ✓ Env var support ✓ Runs 100% in your browser

Frequently Asked Questions

What is MCP (Model Context Protocol)?▼

MCP is an open protocol developed by Anthropic that lets AI assistants like Claude connect to external tools, data sources, and services. Instead of hard-coding integrations, MCP defines a standard way for a host application (Claude Desktop, Cursor, Cline) to spawn local server processes that expose tools and resources to the AI. Examples include a filesystem server that lets Claude read and write files, a GitHub server for repository access, or a database server for SQL queries.

How do I add an MCP server to Claude Desktop?▼

Generate your config using this tool, then open claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/claude_desktop_config.json, Windows: %APPDATA%\Claude\claude_desktop_config.json). Paste the mcpServers block into that file (merge with any existing entries), save, and restart Claude Desktop. The servers will appear in the Claude interface under the tools icon. Make sure Node.js is installed if using npx-based servers, or Python/uv for uvx-based servers.

How do environment variables work in MCP configs?▼

Environment variables in an MCP server entry are passed to the server process when it starts. They are not exposed to Claude directly — they configure the server itself (API keys, base URLs, credentials). For example, a GitHub MCP server needs GITHUB_PERSONAL_ACCESS_TOKEN so it can make authenticated API calls. Never commit a config file with real secrets to source control. Instead, use a secrets manager or reference variables from your shell environment by omitting them from the JSON and relying on the process.env fallback.

What are some common MCP servers I can use?▼

Popular official servers from Anthropic's MCP repo include: @modelcontextprotocol/server-filesystem (read/write local files), @modelcontextprotocol/server-fetch (HTTP requests), @modelcontextprotocol/server-github (GitHub API), @modelcontextprotocol/server-postgres (PostgreSQL), @modelcontextprotocol/server-brave-search (Brave Search API), and @modelcontextprotocol/server-slack (Slack). The community also maintains servers for databases, web scraping, and developer tools. All installable via npx without a global install step.

Share this tool: X / Twitter LinkedIn
✓ 60,000+ developers use DevPlaybook ★★★★★ 4.8 / 5 on Gumroad ✓ MIT licensed · Instant download ✓ No login required

Related Products

on Gumroad

You Might Also Need

More Free Tools

TypeScript tsconfig.json Generator MCP Server Config Builder CrewAI Agent Config Generator AI IDE Comparator nginx Config Builder AI Safety Checklist Generator Jotai Atom Explorer OpenTelemetry Config Generator Playwright Config Generator CSS Container Query Builder Jest Coverage Config Generator Helm Values Builder MCP Endpoint Tester AI Hallucination Detector Vibe Coding Prompt Optimizer Sentry DSN Configurator LangChain PromptTemplate Builder Expo App Config Generator AI Token Cost Calculator ESLint Config Generator Prettier Config Generator LLM Cost Calculator MySQL Query Explainer PostgreSQL EXPLAIN Analyzer Nuxt Config Generator Vitest Configuration Generator AI Prompt Cost Calculator AI Model Comparator Sentry DSN Config Builder mTLS Certificate Chain Builder AI Model Benchmark Comparator Cron Expression Explainer Font Pairing Preview AI Model Context Window Visualizer LLM JSON Schema Builder AI Agent Run Cost Tracker AI Pipeline DAG Builder AI Rate Limit Calculator Prompt Injection Tester AI Model Comparison Tool Token Counter & Cost Estimator AI Model Comparison Table AI API Rate Limit Calculator LLM Prompt Template Builder AI Commit Message Generator AI Doc Generator — Pro Tool AI Regex Explainer — Pro Tool AI System Guardian nginx Config Generator SMTP Server Tester Biome Config Generator Load Balancer Config Generator CORS Policy Builder Haproxy Config Validator CI/CD Pipeline Generator package.json Generator Git Hooks Generator (Husky + lint-staged) LLM Context Window Calculator Mermaid Diagram Generator Kafka Topic Config Generator Elasticsearch Query Tester Prompt Token Estimator JS Prototype Chain Visualizer API Mock Server Config Generator OpenAI Token Counter LLM Prompt Cost Calculator Pulumi Stack Config Generator OpenAI Prompt Tester LLM Prompt Caching Calculator Multi-Agent Orchestration Planner k6 Script Generator TanStack Query Config Builder SWR Config Generator GraphQL Client Configurator AI Prompt Token Estimator OpenAI Function Calling Generator AI Context Window Visualizer Embedding Storage Calculator RAG Chunk Size Optimizer HTTP Headers Analyzer AI Code Review — Pro Tool AI Error Explainer — Pro Tool AI SQL Builder — Pro Tool AI Unit Test Generator — Pro Tool Color Palette Generator Docker Compose Generator JWT Decoder Prompt Template Builder Regex Tester RSA Key Pair Generator Helm Values Generator Rate Limit Calculator Feature Flag Config Generator Terraform Variable Validator Grafana Dashboard JSON Validator Caddy Caddyfile Generator SBOM Generator AI Variable Namer AI PR Description Generator AI JSDoc Generator K8s Resource Limits Calculator YAML to TOML Converter Regex Flags Explainer LLM Token Counter HTTP/2 Server Push Headers Builder NATS Connection String Builder OAuth2 Flow Visualizer Jest Testing Framework Guide Vitest Guide — Vite-native Testing Playwright E2E Testing Guide Ansible Configuration Management Guide Core Web Vitals Calculator CORS Policy Tester YAML to TOML Converter System Prompt Builder Jest to Vitest Migrator AI Agent Memory Planner Solana Program ID Generator Multi-Chain Wallet Address Validator Nomad Job Spec Builder Helm Values Validator ArgoCD Application Generator Kubernetes Resource Calculator LLM System Prompt Analyzer HTTP Cache Header Builder Sprite Sheet Coordinate Generator Particle System Config Generator LLM Benchmark Calculator Token Context Calculator OpenTelemetry Trace Builder Axios Interceptor Builder RAG Chunking Calculator TypeScript Discriminated Union Builder Core Web Vitals Budget Calculator JWT Decoder & Validator CORS Header Generator Blockchain Transaction Fee Calculator Database Query Cost Analyzer

Related Articles

Apr 1, 2026 · 14 min read

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.

Mar 28, 2026 · 20 min read

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.

Apr 1, 2026 · 14 min read

The Complete Guide to .cursorrules in 2026: Write Better AI Coding Rules

Master .cursorrules in 2026. Learn the syntax, best practices for Next.js, Python, and Go projects, global vs project-level rules, auto-apply patterns, and real-world examples that make your AI coding assistant dramatically more effective.

Apr 1, 2026 · 12 min read

GitHub Copilot vs Cursor vs Windsurf: Best AI Coding Assistant in 2026

Comparing GitHub Copilot, Cursor, and Windsurf in 2026: features, pricing, IDE support, AI model quality, and real-world productivity. Find the right AI coding assistant for your workflow.

Apr 1, 2026 · 13 min read

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.

Enjoying this tool? Get more like it.

Weekly developer tool guides, productivity playbooks & AI tricks. Free. No spam.

DevPlaybook Pro 7 days free

Unlock AI-Powered Dev Tools

  • ⚡ AI Code Review, Doc Generator & SQL Builder
  • ⚡ All premium templates & early access
  • ⚡ Member discounts on Gumroad products
Start Free Trial →

$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.

$79
$241 separately Save $162 (67% off)
Get DevPlaybook Pro — $79 →

MIT licensed · Instant download · No subscription

See what's included → Browse all deals →