by SerhatUzbas
An MCP server for creating and managing Model Context Protocol (MCP) servers for Claude Desktop.
mcp-server-generator is a tool designed to help users create, manage, and register custom Model Context Protocol (MCP) servers specifically for Claude Desktop. It aims to simplify the process of building custom JavaScript MCP servers, providing AI guidance, automatic dependency management, and seamless integration with Claude Desktop.
To use mcp-server-generator, you first need to have Node.js (v16 or later) and Claude Desktop installed. After cloning the repository and installing dependencies, you need to register the creator server with Claude Desktop by modifying its configuration file (claude_desktop_config.json
). Once registered, you can interact with the MCP Server Creator directly through Claude Desktop by asking Claude to create or manage your MCP servers. For example, you can prompt Claude to create a server for specific needs, such as integrating with PostgreSQL for database operations.
listServers
, getServerContent
, createMcpServer
, updateMcpServer
, analyzeServerDependencies
, installServerDependencies
, getClaudeConfig
, updateClaudeConfig
, and runServerDirectly
.Q: My server is not appearing in Claude Desktop. What should I do? A: Verify that the server was registered correctly in the Claude Desktop configuration. Check for any JavaScript syntax errors in your server code and restart Claude Desktop after registering new servers.
Q: I am facing dependency issues. How can I resolve them?
A: Try installing dependencies manually using npm install [package-name]
. Also, check for compatibility issues between packages and ensure your Node.js version is compatible with the packages you are trying to install.
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:
Clone this repository:
git clone https://github.com/SerhatUzbas/mcp-server-generator.git
cd mcprotocol
Install dependencies (only first installation):
npm install
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:
{ "mcpServers": { "mcp-server-generator": { "command": "node", "args": ["C:\\Users\\username\\Documents\\GitHub\\mcprotocol\\creator-server.js"] } } }
Once registered, you can use the MCP Server Creator through Claude Desktop:
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):
servers
directoryThe 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 runningIf dependencies aren't installing correctly:
npm install [package-name]
Contributions are welcome! Please feel free to submit a Pull Request.
Please log in to share your review and rating for this MCP.