MCP Server Creator

by gongrzhe

Not rated
GitHub

About

A meta-server for dynamically generating MCP server configurations and Python code.

Details

Author
gongrzhe
Categories
Developer Tools, Automation, Other

Setup

Install MCP Server Creator in your MCP client (Claude Desktop, Cursor, Windsurf, and others).

Repository: https://github.com/gongrzhe/MCP-Server-Creator

Follow the installation instructions in the repository README, then restart your MCP client.

A meta-server for dynamically generating MCP server configurations and Python code.

A powerful Model Context Protocol (MCP) server that creates other MCP servers! This meta-server provides tools for dynamically generating FastMCP server configurations and Python code.

- Dynamic Server Creation: Create new MCP server configurations on the fly
- Tool Builder: Add custom tools with parameters, return types, and implementations
- Resource Manager: Add static and dynamic resources with template support
- Code Generation: Generate complete, runnable Python code for your servers
- File Export: Save generated servers directly to Python files
- Example Templates: Built-in example server to demonstrate capabilities

The MCP Server Creator is itself an MCP server that can be used with Claude Desktop or any MCP client.

Add to yourclaude_desktop_config.json:

{ "mcpServers": { "mcp-server-creator": { "command": "uvx", "args": ["mcp-server-creator"] } } }
from mcp_server_creator import create_server, add_tool, generate_server_code # Create a new server configuration result = create_server( name="My API Server", description="A custom API integration server", version="1.0.0" ) # Add a tool add_tool( server_id="my_api_server", tool_name="fetch_data", description="Fetch data from the API", parameters=[{"name": "endpoint", "type": "str"}], return_type="dict", implementation='return {"data": f"Fetched from {endpoint}"}' ) # Generate the code code = generate_server_code("my_api_server") print(code)

- create_server: Create a new MCP server configuration
- list_servers: List all server configurations in memory
- get_server_details: Get detailed information about a specific server

- add_tool: Add a tool to an existing server

- Supports both sync and async tools
- Custom parameter definitions with types and defaults
- Automatic import management

- add_resource: Add a resource to an existing server

- Static resources for fixed data
- Dynamic resource templates with parameters
- Custom MIME types

- generate_server_code: Generate complete Python code for a server
- save_server: Save generated server code to a file
- create_example_server: Create a complete example Weather Service

import asyncio from mcp_server_creator import create_server, add_tool, add_resource, save_server async def create_weather_service(): # Create the server create_server( name="Weather Service", description="Get weather information", version="1.0.0" ) # Add a weather tool add_tool( server_id="weather_service", tool_name="get_weather", description="Get current weather for a city", parameters=[ {"name": "city", "type": "str"}, {"name": "units", "type": "str", "default": '"celsius"'} ], return_type="dict", is_async=True, implementation=''' # Your weather API logic here return { "city": city, "temperature": 20, "units": units, "condition": "sunny" }''' ) # Add a resource add_resource( server_id="weather_service", uri="weather://{city}/current", name="Current Weather", description="Get current weather data", is_template=True, implementation='return {"city": city, "weather": "sunny"}' ) # Save to file await save_server("weather_service", "weather_service.py") # Run the creation asyncio.run(create_weather_service())
git clone https://github.com/GongRzhe/mcp-server-creator.git cd mcp-server-creator pip install -e .

MIT License - seeLICENSEfile for details.

Contributions are welcome! Please feel free to submit a Pull Request.

- GitHub Repository
-
PyPI Package
-
FastMCP Documentation
-
Model Context Protocol

This is a web browser that enables your coding agent, such as Claude Code, to visit websites on your behalf and assist you in identifying bugs or creating UI test cases.

Execute any LLM-generated code in the YepCode secure and scalable sandbox environment and create your own MCP tools using JavaScript or Python, with full support for NPM and PyPI packages

Agent-native developer Q&A API with MCP + A2A endpoints for citations, job pickup, and answer submission.

MCP bridge that lets Claude Code delegate heavy tasks to the Antigravity CLI (agy) — purpose-built tools, model routing with fallback, session continuity, and output truncation to save Claude's context and tokens.

Structured .aide spec files that give AI agents progressive disclosure into your codebase architecture. 6 MCP tools, 8 slash commands, TUI wizard, multi-IDE support.

An MCP server for real-time user intervention in AI-assisted development workflows.

Embeds intelligent guidance into AI workflows to organize development and ensure quality.

Hosted MCP server and coordination layer for AI coding agents — live API contracts, database schema, frontend/backend mismatch detection, and shared handoff tickets for Claude Code, Cursor, Codex, and Lovable.

Open-source AI coding stack — bundled MCP servers, agent runtime, and developer tooling for shipping AI-native dev tools.

Local agent workbench bundling OpenHands, Goose, Aider, and ashlrcode against one local LLM, with ashlr-plugin MCP servers pre-wired.

Async Parallel Antigravity for Codex & Claude Code

Run parallel, resumable, human-operable Antigravity CLI sessions from Codex, Claude Code, or any MCP-capable agent harness.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.