# Free mcp.json Generator for MCP Servers

> Free mcp.json generator. Build the MCP server config for Claude Desktop, Claude Code, Cursor and VS Code: local commands or remote URLs, env vars and headers.

Canonical: https://abacklaunch.com/tools/mcp-json-generator
Last updated: 2026-10-25

Build the config that connects an MCP server to Claude Desktop, Claude Code, Cursor or VS Code: a local command or a remote URL, with env vars and headers.

This is an interactive tool. Use it at https://abacklaunch.com/tools/mcp-json-generator (it runs in your browser; nothing is uploaded).

## How to use it

1. **Describe the server**: A local command (npx, uvx, docker) or a remote URL.
2. **Add settings**: Environment variables, arguments or headers.
3. **Copy for your client**: Each client's file name and format is shown.

## What MCP config does

The Model Context Protocol (MCP) lets AI assistants use external tools and data through servers. Each client reads a JSON file listing the servers to start or connect to: Claude Desktop uses claude_desktop_config.json, Claude Code and Cursor use .mcp.json or mcp.json in the project, and VS Code uses .vscode/mcp.json with a servers key.

If your product has an MCP server, publishing a ready config snippet in your docs is the fastest way to get developers to try it.

## Questions

### Local or remote server?

Local servers run as a command on the user's machine (stdio). Remote servers are reached over HTTP at a URL, often with OAuth or a header token.

### Where do secrets go?

In env or headers. Avoid committing real keys to a shared .mcp.json; use placeholders and environment variables.

### Why does VS Code use a different key?

VS Code's file uses servers instead of mcpServers. The generator writes the right shape for each client.

### Is the config sent anywhere?

No. It is built in your browser.

## Related

- [llms.txt generator](https://abacklaunch.com/tools/llms-txt-generator)
- [ai.txt generator](https://abacklaunch.com/tools/ai-txt-generator)
- [JSON to Markdown](https://abacklaunch.com/tools/json-to-markdown)
- [GEO checker](https://abacklaunch.com/tools/geo-checker)
- [Free tools for AI search](https://abacklaunch.com/tools/category/ai-search)
