MCP Config Generator

Set up MCP servers once and get the exact config for every AI client. Add local or remote servers, then copy the JSON or command for Claude Desktop, Claude Code, Cursor, VS Code, Windsurf or Zed.

In your browser7 client formatsFreeNew

Servers

    How it works

    How to use the MCP Config Generator

    1. 01

      Add a server: a name, then either a command (like npx -y package) or a remote URL.

    2. 02

      Add environment variables or headers if the server needs API keys.

    3. 03

      Pick your client, copy the config into the file shown (or run the command), and restart the client.

    About this tool

    One server definition, every client's format

    The Model Context Protocol (MCP) lets AI assistants use external tools and data, such as your files, a database, GitHub or a SaaS product, through small servers. Every client stores MCP servers differently: Claude Desktop and Cursor use an mcpServers object, VS Code uses servers with typed entries, Windsurf calls the URL serverUrl, Zed uses context_servers, and Claude Code can be set up with a project file or a CLI command.

    Describe each server once, either a local command such as npx or uvx with arguments and environment variables, or a remote HTTP or SSE URL with headers, and this tool writes the right shape for each client. It warns when a config contains API keys so you don't commit secrets, and for VS Code it moves secrets into prompted inputs automatically. Client formats change, so each one links to its official docs.

    • 7 output formats

      Claude Desktop, Claude Code (.mcp.json and CLI), Cursor, VS Code, Windsurf and Zed.

    • Local and remote servers

      stdio commands with args and env, or HTTP/SSE URLs with headers.

    • Secret warnings

      Flags API keys and tokens; VS Code output uses password inputs instead.

    • Paste a command

      Paste a full command line and it's split into command and arguments for you.

    FAQ

    Frequently asked questions

    Where is the Claude Desktop config file?

    On macOS at ~/Library/Application Support/Claude/claude_desktop_config.json and on Windows at %APPDATA%\Claude\claude_desktop_config.json. Restart Claude Desktop after editing it.

    How do I add a remote MCP server to Claude Desktop?

    Claude Desktop's config file starts local processes, so this tool uses the open-source mcp-remote bridge (npx mcp-remote <url>). Many remote servers can also be added as connectors in Claude's settings.

    Is it safe to put API keys in these files?

    They're stored in plain text on your machine. Don't commit them to a shared repository; prefer environment variables, or VS Code's prompted inputs.

    What's the difference between stdio and HTTP servers?

    A stdio server is a program the client starts on your computer. An HTTP (streamable HTTP) or SSE server runs remotely and the client connects to its URL. SSE is the older remote transport.

    Is my data sent anywhere?

    No. Everything you type is processed in your browser and never leaves your device. Drafts are saved only in this browser's local storage so you can come back to them.

    Missing something?

    Tell us the tool you wish existed.

    Instant.tools grows from real requests. Describe the task you're stuck on and we'll consider building it next.

    Search Instant.tools

    Suggested
    Image CompressorPopularCompress PNG, JPG and SVG files in lossless or lossy mode so your pages load faster.ImagesMeta Tags GeneratorPopularPreview and generate Open Graph, Twitter and SEO meta tags for how your site appears when shared.UtilitiesQR Code GeneratorNewTurn links and text into a QR code you can download and print.UtilitiesImage ConverterNewConvert images between common formats in a few clicks.ImagesImage CropperNewCrop images to an exact size or aspect ratio.ImagesImage SearchNewSearch for free images to use in your projects.ImagesHEIC to JPGNewConvert iPhone HEIC photos to JPG, PNG or WebP in bulk, with location data removed.ImagesResize ImageNewResize images to exact pixels, a percentage or a longest side, in bulk, with sharp results.ImagesCompress Image to KBNewShrink images under an exact size like 20 KB, 50 KB or 200 KB for forms and uploads.ImagesRemove Photo MetadataNewSee and strip hidden EXIF, GPS location and camera data from photos without re-compressing them.ImagesMerge PDFNewCombine PDFs into one file, reorder them and pick exactly which pages to keep from each.DocumentsSplit PDFNewSplit a PDF into single pages, page ranges or equal parts, or extract the pages you select.DocumentsOrganize PDFNewReorder, rotate and delete PDF pages visually, then save a clean new file.DocumentsJPG to PDFNewTurn JPG, PNG and WebP images into one PDF with page size, orientation and margins.DocumentsPDF to JPGNewConvert PDF pages to high-resolution JPG or PNG images, all pages or just the ones you pick.DocumentsCompress VideoNewShrink videos to a target size for WhatsApp, Discord or email, and see the result size before you start.VideoCompress PDFNewShrink PDFs by recompressing the images inside them, while text and vector graphics stay sharp.DocumentsPDF to WordNewTurn a PDF's text into an editable Word document, with headings, paragraphs and page breaks.DocumentsSign PDFNewDraw, type or upload your signature and place it anywhere on a PDF, plus dates and initials.DocumentsOCR PDFNewMake scanned PDFs searchable and copyable by recognising the text on every page.DocumentsProtect PDFNewAdd a password with AES-256 encryption and control printing and copying, or remove a password you know.Documentsllms.txt GeneratorPopularNewWrite and validate an llms.txt file that points AI tools to your site's most useful pages.AIAI Crawler CheckerNewSee which AI crawlers (GPTBot, ClaudeBot, PerplexityBot and more) your robots.txt allows or blocks.AIJSON-LD GeneratorNewBuild schema.org structured data for articles, products, FAQs, events and more, with built-in checks.AILLM Token CounterNewCount tokens and estimate cost for GPT, Claude, Gemini and Llama prompts, with exact counts where tokenizers are public.AIMCP Config GeneratorNewGenerate MCP server config for Claude, Cursor, VS Code, Windsurf and Zed from one form.AIJSON Schema GeneratorNewGenerate a JSON Schema from example JSON, then validate data against it.DeveloperAI Prompt BuilderNewStructure prompts with a role, task, context, constraints, output format and examples, with reusable variables.AIAI Readiness CheckerNewScore how well a page can be read, understood and cited by AI search and assistants.AI
    Categories
    Developer toolsFormat, minify and inspect HTML, CSS, JavaScript and JSON.15 toolsImage toolsCompress, convert, crop and find images for the web.11 toolsPDF toolsMerge, split, organise and convert PDFs right in your browser.10 toolsAI toolsGet sites, data and prompts ready for AI: llms.txt, crawler access, tokens, schemas and MCP.8 toolsCalculators & convertersConvert between image, document, data and colour formats in a click.7 toolsUtility toolsQR codes, website screenshots, SEO tags and other handy helpers.6 toolsDesign & color toolsColour conversion, favicons and visual assets for your brand.3 toolsText & writing toolsCount, check and shape your words and copy.3 toolsVideo toolsCompress and prepare video files without uploading them.1 tools