A tool for creating and managing Model Context Protocol (MCP) servers for Claude Desktop.
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
- Managing dependencies
- Registering servers with Claude Desktop
- Node.js (v16 or later)
- Claude Desktop installed
- TypeScript SDK for Model Context Protocol
-
Clone this repository:
git clone https://github.com/SerhatUzbas/mcp-server-generator.git cd mcprotocol -
Install dependencies:
npm install
-
Register the creator server with Claude Desktop:
Macos: ~/Library/Application Support/Claude/claude_desktop_config.json for macos users Windows: %APPDATA%\Claude\claude_desktop_config.json
example:
{ "mcpServers": { "serverGenerator": { "command": "npx", "args": [ "tsx", "/Users/username/Documents/GitHub/mcprotocol/creator-server.ts" ] } } }
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
Ask Claude to create a server for your specific needs:
Create an MCP server that integrates with the OpenWeather API to provide weather forecasts. Claude will:
- Generate the server code
- Save it to the
serversdirectory - Register it with Claude Desktop
- Identify and install required dependencies
List all available MCP servers. Show me the code for [server name]. Update the [server name] server to add [new functionality]. Analyze the dependencies for [server name]. Install dependencies for [server name]. 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 serverupdateServer- Update an existing serveranalyzeServerDependencies- Identify required npm packagesinstallServerDependencies- Install required packagesgetClaudeConfig- View current Claude Desktop configurationupdateClaudeConfig- Update Claude Desktop configuration
- 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
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
Contributions are welcome! Please feel free to submit a Pull Request.