mcp-server-generator
An MCP server for creating and managing Model Context Protocol (MCP) servers for Claude Desktop.
Documentation
MCP Server Generator
A tool for creating and managing Model Context Protocol (MCP) servers for Claude Desktop.
Overview
The MCP Server Creator helps you create, manage, and register custom MCP servers with Claude Desktop. This tool provides an interface for:
- Creating new MCP servers
- Updating existing servers
- Registering servers with Claude Desktop
Getting Started
Prerequisites
- Node.js (v16 or later)
- Claude Desktop installed
Installation
1. Clone this repository:
git clone https://github.com/SerhatUzbas/mcp-server-generator.git
cd mcprotocol2. Install dependencies (only first installation):
npm install3. Register the creator server with Claude Desktop:
- Macos:
open ~/Library/"Application Support"/Claude/claude_desktop_config.json- Windows (Command Prompt):
start %APPDATA%\Claude\claude_desktop_config.json- Or from Claude Desktop: Settings > Developer > Edit Config
example:
{
"mcpServers": {
"mcp-server-generator": {
"command": "node",
"args": ["/Users/username/Documents/GitHub/mcprotocol/creator-server.js"]
}
}
}> Note for Windows users: Remember to use backslashes for file paths and escape them properly in your JSON configuration. Example:
>
> ```json
> {
> "mcpServers": {
> "mcp-server-generator": {
> "command": "node",
> "args": ["C:\\Users\\username\\Documents\\GitHub\\mcprotocol\\creator-server.js"]
> }
> }
> }
> ```
Using the MCP Server Creator
Once registered, you can use the MCP Server Creator through Claude Desktop:
1. Open Claude Desktop
2. Select resources and prompts from choose an integration dropdown
3. Ask Claude to create or manage your MCP servers
Creating a New Server
Ask Claude to create a server for your specific needs:
Create an simple MCP server that integrates with PostgreSQL to provide database operations and query capabilities.Claude will (probably):
1. Check the server list if it exist
2. Generate the server code
3. Save it to the `servers` directory
4. Register it with Claude Desktop
5. Identify and install required dependencies
Available Tools
The MCP Server Creator provides several tools for managing your servers:
- `listServers` - List all available servers
- `getServerContent` - View the code of an existing server
- `createMcpServer` - Create a new server
- `updateMcpServer` - Update an existing server
- `analyzeServerDependencies` - Identify required npm packages
- `installServerDependencies` - Install required packages
- `getClaudeConfig` - View current Claude Desktop configuration
- `updateClaudeConfig` - Update Claude Desktop configuration
- `runServerDirectly` - Checks if any error appears when running
Troubleshooting
Server Not Appearing in Claude
- Verify the server was registered correctly in the Claude Desktop config
- Check for any JavaScript syntax errors in your server code
- Restart Claude Desktop after registering new servers
Dependency Issues
If dependencies aren't installing correctly:
- Try installing them manually: `npm install [package-name]`
- Check for compatibility issues between packages
- Ensure your Node.js version is compatible with the packages
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Frequently asked questions
What is mcp-server-generator?
mcp-server-generator is An MCP server for creating and managing Model Context Protocol (MCP) servers for Claude Desktop.
How do I install mcp-server-generator?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is mcp-server-generator open source?
Yes — it is hosted on GitHub at https://github.com/SerhatUzbas/mcp-server-generator and has 10 stars.
Related MCP tools
The all-in-one Desktop & Docker AI application with built-in RAG, AI agents, No-code agent builder, MCP compatibility, and more.
An AI-powered task-management system you can drop into Cursor, Lovable, Windsurf, Roo, and others. Built for the Model Context Protocol to enhance AI capabiliti
Fay是一个帮助数字人(2.5d、3d、移动、pc、网页)或大语言模型(openai兼容、deepseek)连通业务系统的mcp框架。 JavaScript-based implementation. Trusted by 12000+ developers.
CTTF: MCP integration between Cursor and Figma, allowing Cursor Agentic AI to communicate with Figma for reading designs and modifying them programmatically.
🔥 Official Firecrawl MCP Server - Adds powerful web scraping and search to Cursor, Claude and any other LLM clients. JavaScript-based implementation.
This is MCP server for Claude that gives it terminal control, file system search and diff file editing capabilities JavaScript-based implementation.
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP