Skip to main content
Glama

MCP Create Server

by tesla0225

MCP Create Server

A dynamic MCP server management service that creates, runs, and manages Model Context Protocol (MCP) servers dynamically. This service itself functions as an MCP server and launches/manages other MCP servers as child processes, enabling a flexible MCP ecosystem.

Key Features

  • Dynamic creation and execution of MCP server code
  • Support for TypeScript only (JavaScript and Python support planned for future releases)
  • Tool execution on child MCP servers
  • Server code updates and restarts
  • Removal of unnecessary servers

Installation

Note: Docker is the recommended way to run this service

# Build Docker image docker build -t mcp-create . # Run Docker container docker run -it --rm mcp-create

Manual Installation (TypeScript Only)

# Clone repository git clone https://github.com/tesla0225/mcp-create.git cd mcp-create # Install dependencies npm install # Build npm run build # Run npm start

Integration with Claude Desktop

Add the following to your Claude Desktop configuration file (claude_desktop_config.json):

{ "mcpServers": { "mcp-create": { "command": "docker", "args": ["run", "-i", "--rm", "mcp-create"] } } }

Available Tools

Tool NameDescriptionInput ParametersOutput
create-server-from-templateCreate MCP server from templatelanguage: string{ serverId: string, message: string }
execute-toolExecute tool on serverserverId: stringtoolName: stringargs: objectTool execution result
get-server-toolsGet list of server toolsserverId: string{ tools: ToolDefinition[] }
delete-serverDelete serverserverId: string{ success: boolean, message: string }
list-serversGet list of running serversnone{ servers: string[] }

Usage Examples

Creating a New Server

{ "name": "create-server-from-template", "arguments": { "language": "typescript" } }

Executing a Tool

{ "name": "execute-tool", "arguments": { "serverId": "ba7c9a4f-6ba8-4cad-8ec8-a41a08c19fac", "toolName": "echo", "args": { "message": "Hello, dynamic MCP server!" } } }

Technical Specifications

  • Node.js 18 or higher
  • TypeScript (required)
  • Dependencies:
    • @modelcontextprotocol/sdk: MCP client/server implementation
    • child_process (Node.js built-in): Child process management
    • fs/promises (Node.js built-in): File operations
    • uuid: Unique server ID generation

Security Considerations

  • Code Execution Restrictions: Consider sandboxing as the service executes arbitrary code
  • Resource Limitations: Set limits on memory, CPU usage, number of files, etc.
  • Process Monitoring: Monitor and forcibly terminate zombie or runaway processes
  • Path Validation: Properly validate file paths to prevent directory traversal attacks

License

MIT

Deploy Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

Динамическая служба, которая создает и управляет серверами Model Context Protocol (MCP), позволяя пользователям создавать, настраивать и контролировать несколько серверов MCP в качестве дочерних процессов.

  1. Основные характеристики
    1. Установка
      1. Установка Docker (рекомендуется)
      2. Ручная установка (только TypeScript)
    2. Интеграция с Claude Desktop
      1. Доступные инструменты
        1. Примеры использования
          1. Создание нового сервера
          2. Выполнение инструмента
        2. Технические характеристики
          1. Соображения безопасности
            1. Лицензия

              Related MCP Servers

              • A
                security
                A
                license
                A
                quality
                A beginner-friendly Model Context Protocol (MCP) server that helps users understand MCP concepts, provides interactive examples, and lists available MCP servers. This server is designed to be a helpful companion for developers working with MCP. Also comes with a huge list of servers you can install.
                Last updated -
                3
                44
                61
                Apache 2.0
              • -
                security
                A
                license
                -
                quality
                MCP Server simplifies the implementation of the Model Context Protocol by providing a user-friendly API to create custom tools and manage server workflows efficiently.
                Last updated -
                2
                4
                MIT License
              • -
                security
                A
                license
                -
                quality
                MCP Server provides a simpler API to interact with the Model Context Protocol by allowing users to define custom tools and services to streamline workflows and processes.
                Last updated -
                1
                3
                MIT License
              • A
                security
                F
                license
                A
                quality
                A specialized server that helps users create new Model Context Protocol (MCP) servers by providing tools and templates for scaffolding projects with various capabilities.
                Last updated -
                8
                2

              View all related MCP servers

              MCP directory API

              We provide all the information about MCP servers via our MCP API.

              curl -X GET 'https://glama.ai/api/mcp/v1/servers/tesla0225/mcp-create'

              If you have feedback or need assistance with the MCP directory API, please join our Discord server