Generate and Manage Custom MCP Servers
Meta-MCP server that lets Claude Desktop create, update, and register other MCP servers for you conversationally.
Why it matters
Streamline the development of custom JavaScript MCP servers. This asset automates server creation, dependency management, and integration with Claude Desktop for AI-powered development.
Outcomes
What it gets done
Create new MCP servers with AI assistance.
Automatically manage and install server dependencies.
Integrate and configure servers with Claude Desktop.
Analyze and update existing server code.
Install
Add it to your toolbox
Run in your project directory:
curl -fsSL https://spark.entire.vc/get/vb-mcp-server-generator | bash Capabilities
Tools your agent gets
List all available MCP servers
View code of an existing MCP server
Create a new MCP server
Update an existing MCP server
Identify required npm packages for a server
Install required npm packages for a server
View current Claude Desktop configuration
Update Claude Desktop configuration
Check for errors when running an MCP server
Overview
MCP Server Generator MCP server
A meta-MCP server for Claude Desktop that generates, registers, and manages other MCP servers from a plain-language description, handling code generation and dependency installation. Use when you want to bootstrap or manage MCP servers for Claude Desktop conversationally instead of scaffolding server code by hand.
What it does
This tool is a meta-MCP server: once registered with Claude Desktop, it lets Claude itself create, update, and register other MCP servers for you, rather than you writing the server code by hand. You describe the server you want in plain language (e.g. "Create an simple MCP server that integrates with PostgreSQL to provide database operations and query capabilities") and Claude works through a five-step sequence: checking whether a server with that name already exists, generating the server code, saving it to the servers directory, registering it with Claude Desktop, and identifying and installing the required dependencies.
When to use - and when NOT to
Use it when you want to bootstrap new MCP servers for Claude Desktop through conversation instead of manually scaffolding server code, or when you need to update, inspect, or troubleshoot MCP servers already registered with Claude Desktop. It requires Node.js (v16 or later) and Claude Desktop installed, and is specifically a generator/manager tool for other MCP servers - not an MCP server for a particular external API itself.
Capabilities
Nine tools are exposed: listServers (list all available servers), getServerContent (view an existing server's code), createMcpServer (create a new server), updateMcpServer (update an existing server), analyzeServerDependencies (identify required npm packages), installServerDependencies (install required packages), getClaudeConfig (view the current Claude Desktop configuration), updateClaudeConfig (update Claude Desktop configuration), and runServerDirectly (checks whether the server errors when run directly).
How to install
Clone the repository and install dependencies:
git clone https://github.com/SerhatUzbas/mcp-server-generator.git
cd mcprotocol
npm install
Then register the creator server itself with Claude Desktop by editing claude_desktop_config.json (via Settings > Developer > Edit Config, or directly on macOS/Windows) to add an entry pointing node at creator-server.js, for example:
{
"mcpServers": {
"mcp-server-generator": {
"command": "node",
"args": ["/Users/username/Documents/GitHub/mcprotocol/creator-server.js"]
}
}
}
Windows users need to use escaped backslashes in the args path. Once registered, open Claude Desktop, select resources and prompts from the choose-an-integration dropdown, and ask Claude to create or manage your MCP servers. If a newly created server doesn't appear in Claude, verify it was registered correctly, check for JavaScript syntax errors in the generated server code, and restart Claude Desktop; if a dependency fails to install, try npm install [package-name] manually and check for version/compatibility issues with your Node.js version.
Who it's for
Developers building custom MCP servers for Claude Desktop who want to generate, register, and manage those servers conversationally rather than scaffolding each one by hand.
Source README
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
Clone this repository:
git clone https://github.com/SerhatUzbas/mcp-server-generator.git cd mcprotocolInstall dependencies (only first installation):
npm installRegister the creator server with Claude Desktop:
Macos:
open ~/Library/"Application Support"/Claude/claude_desktop_config.jsonWindows (Command Prompt):
start %APPDATA%\Claude\claude_desktop_config.jsonOr 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:
{ "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:
- Open Claude Desktop
- Select resources and prompts from choose an integration dropdown
- 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):
- Check the server list if it exist
- Generate the server code
- Save it to the
serversdirectory - Register it with Claude Desktop
- Identify and install required dependencies
Available Tools
The MCP Server Creator provides several tools for managing your servers:
listServers- List all available serversgetServerContent- View the code of an existing servercreateMcpServer- Create a new serverupdateMcpServer- Update an existing serveranalyzeServerDependencies- Identify required npm packagesinstallServerDependencies- Install required packagesgetClaudeConfig- View current Claude Desktop configurationupdateClaudeConfig- Update Claude Desktop configurationrunServerDirectly- 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
FAQ
Common questions
Discussion
Questions & comments · 0
Sign In Sign in to leave a comment.