Get the FREE Ultimate OpenClaw Setup Guide →

mcp -generator

An MCP server for creating and managing Model Context Protocol (MCP) servers for Claude Desktop.

Installation
Run this command in your terminal to add the MCP server to Claude Code.
Run in terminal:
Command
claude mcp add serhatuzbas-mcp-server-generator

How to use

This MCP server generator helps you create, manage, and register custom MCP servers for Claude Desktop. It provides an interface to generate server code, update existing servers, and register them so Claude Desktop can use them as integration resources. The toolset exposes capabilities to list existing servers, view server code, create new servers, update or reconfigure them, analyze required dependencies, and install those dependencies. Once a server is created, Claude Desktop can be configured to load and run it directly from the generated server directory. The included commands and features are designed to streamline building MCP servers for data-backed tasks, such as database queries or API interactions, with Claude’s prompts and workflows.

How to install

Prerequisites:

  • Node.js v16 or later
  • Claude Desktop installed

Installation steps:

  1. Clone the repository: git clone https://github.com/SerhatUzbas/mcp-server-generator.git cd mcprotocol

  2. Install dependencies (first installation): npm install

  3. Register the creator server with Claude Desktop:

    • Mac: 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 config snippet to add to claude_desktop_config.json: { "mcpServers": { "mcp-server-generator": { "command": "node", "args": ["/Users/username/Documents/GitHub/mcprotocol/creator-server.js"] } } }

Notes:

  • Ensure the path in args points to the actual location of creator-server.js after cloning.
  • On Windows, use double backslashes in paths (escape sequences) when editing JSON.

Additional notes

Tips and common issues:

  • If the MCP server does not appear in Claude Desktop after registration, verify the config file path and syntax, then restart Claude Desktop.
  • When installing dependencies, ensure Node.js version compatibility with packages; run npm install manually if automatic installation fails.
  • Regularly run runServerDirectly to check for runtime errors and verify that the server starts without syntax or runtime issues.
  • Use listServers and getServerContent to inspect existing servers and their code before modifying or recreating them.
  • Keep a consistent servers directory structure to simplify registration and updates within Claude Desktop.

Related MCP Servers

Sponsor this space

Reach thousands of developers