MCP Config Generator
A web tool for safely adding MCP servers to your Claude Desktop configuration.
MCP Config Generator
A modern web tool for safely adding MCP servers to your Claude Desktop configuration without breaking the JSON structure.
🌟 Features
- Safe Configuration Management - Load your existing config and safely add new servers
- JSON Validation - Prevents breaking your configuration with automatic validation
- Multiple Server Types - Supports command-based, HTTP, and custom server configurations
- Visual Server List - See all your current servers with easy removal options
- Copy & Download - Easy export of your final configuration
- Real-time Formatting - Automatic JSON formatting and validation
- Responsive Design - Works on desktop and mobile devices
🎯 Problem This Solves
When you find a new MCP server configuration online and want to add it to your existing Claude Desktop config, manually editing the JSON can be risky - one syntax error breaks the entire configuration. This tool eliminates that risk by:
- Validating your existing configuration first
- Safely merging new server configurations
- Ensuring the final output is valid JSON
- Providing visual feedback throughout the process
🚀 How to Use
1. Load Your Current Config
- Open the tool in your browser: mcp-conf-gen.pages.dev
- Paste your existing
claude_desktop_config.jsoncontent into the first text area - Click "Validate Config" to ensure it's properly formatted
- Or use "Load Example" to start with a sample configuration
2. Add New Servers
- Find a server configuration on a website (GitHub, documentation, blog posts, etc.)
- Copy the JSON block for the server (just the server part, not the whole config)
- Enter a unique server name in the "Server name" field
- Paste the JSON configuration in the "Server JSON configuration" field
- Click "Add Server" - the tool validates and adds it safely
3. Manage Your Servers
- View all current servers in the "Current Servers" section
- See command details and configuration for each server
- Remove unwanted servers with the delete button
- Server details are truncated for readability but show full info on hover
4. Export Your Config
- View the complete configuration in the "Final Configuration" section
- Copy to clipboard with the "Copy" button
- Download as a file with the "Download" button
- Use "Format" to clean up the JSON formatting
📋 Example Workflow
Your existing config:
{
"serverConfig": {
"command": "/bin/sh",
"args": ["-c"]
},
"mcpServers": {
"desktop-commander": {
"command": "npx",
"args": ["@wonderwhy-er/desktop-commander@latest"]
},
"context7": {
"command": "npx",
"args": ["-y", "@upstash/context7-mcp"]
}
}
}
Found a new server configuration online:
"github": {
"type": "http",
"url": "https://api.githubcopilot.com/mcp/",
"headers": {
"Authorization": "Bearer ${input:github_mcp_pat}"
}
}
Result after safely adding:
{
"serverConfig": {
"command": "/bin/sh",
"args": ["-c"]
},
"mcpServers": {
"desktop-commander": {
"command": "npx",
"args": ["@wonderwhy-er/desktop-commander@latest"]
},
"context7": {
"command": "npx",
"args": ["-y", "@upstash/context7-mcp"]
},
"github": {
"type": "http",
"url": "https://api.githubcopilot.com/mcp/",
"headers": {
"Authorization": "Bearer ${input:github_mcp_pat}"
}
}
}
}
📁 Claude Desktop Setup
- Use the tool to generate your configuration
- Copy or download the final configuration
- Save as
claude_desktop_config.jsonin your Claude config folder:- macOS:
~/Library/Application Support/Claude/ - Windows:
%APPDATA%/Claude/ - Linux:
~/.config/claude/
- macOS:
- Restart Claude Desktop to load the new configuration
🛠️ Supported Server Types
Command-based Servers
{
"command": "npx",
"args": ["@modelcontextprotocol/server-github"]
}
HTTP Servers
{
"type": "http",
"url": "https://api.example.com/mcp/",
"headers": {
"Authorization": "Bearer ${input:api_key}"
}
}
Custom Configurations
Any valid MCP server configuration is supported. The tool preserves all properties and structures.
🔧 Development
The project uses pure HTML, CSS, and JavaScript with no dependencies or build process.
# Clone the repository
git clone https://github.com/maslybs/mcp-config-generator.git
# Open in browser
open index.html
Project Structure
index.html- Complete single-file applicationREADME.md- This documentation
🌐 Live Demo
Visit mcp-conf-gen.pages.dev to use the tool online.
🤝 Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
📝 License
MIT License - see the code for details.
Похожие серверы
Scout Monitoring MCP
спонсорPut performance and error data directly in the hands of your AI assistant.
Alpha Vantage MCP Server
спонсорAccess financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
Qase MCP Server
An MCP server for interacting with the Qase test management platform.
ForeverVM
Run Python in a code sandbox.
MCP Arduino Server
An MCP server for the Arduino CLI, offering tools to manage sketches, boards, libraries, and files.
AAP Enterprise MCP Server
An MCP server that allows AI assistants to interact with Ansible Automation Platform (AAP) and Event-Driven Ansible (EDA) infrastructure.
Toolkit MCP Server
Provides system utilities and tools like IP geolocation, network diagnostics, system monitoring, crypto operations, and QR code generation.
Angular MCP Server
An MCP server for accessing the official Angular documentation.
Accordo MCP Server
Provides dynamic YAML-driven workflow guidance for AI coding agents with structured development workflows, progression control, and decision points.
Model Context Protocol servers
A collection of reference implementations for the Model Context Protocol (MCP), showcasing various MCP servers implemented with TypeScript and Python SDKs.
ECharts MCP Server
A server for generating various types of charts using the ECharts library.
CodeBase Optimizer
Analyzes, optimizes, and detects duplicates in codebases for Claude Code.