
tesla0225/mcp-create
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
tesla0225/mcp-createは、https://github.com/tesla0225/mcp-create.からインポートされたMCPサーバー候補です。
概要
tesla0225/mcp-createは、https://github.com/tesla0225/mcp-create.からインポートされたMCPサーバー候補です。
概要(AI 翻訳)
モデルコンテキストプロトコル(MCP)サーバーを動的に作成、実行、管理する動的MCPサーバー管理サービスです。このサービス自体はMCPサーバーとして機能し、子プロセスとして他のMCPサーバーを起動・管理することで、柔軟なMCPエコシステムを可能にします。
主な特徴
- MCPサーバーコードの動的な作成および実行
- TypeScriptのみのサポート(JavaScriptおよびPythonのサポートは今後のリリースで予定)
- 子MCPサーバー上でのツール実行
- サーバーコードの更新と再起動
- 不要なサーバーの削除
設置
注:このサービスを実行するにはDockerが推奨されています
Docker インストール(推奨)
手動インストール(TypeScriptのみ)
Claude Desktopとの統合
Claude Desktopの設定ファイル(claude_desktop_config.json)に以下を追加してください:
利用可能なツール
| ツール名 | 説明 | 入力パラメータ | 出力 |
|---|---|---|---|
| テンプレートからサーバーを作成 | テンプレートからMCPサーバーを作成 | 言語:文字列 | { serverId: 文字列、メッセージ: 文字列 } |
| 実行ツール | サーバー上で実行ツール | serverId: string toolName: string args: object | ツール実行結果 |
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
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
Docker Installation (Recommended)
# 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 Name | Description | Input Parameters | Output |
|---|---|---|---|
| create-server-from-template | Create MCP server from template | language: string | { serverId: string, message: string } |
| execute-tool | Execute tool on server | serverId: stringtoolName: stringargs: object | Tool execution result |
| get-server-tools | Get list of server tools | serverId: string | { tools: ToolDefinition[] } |
| delete-server | Delete server | serverId: string | { success: boolean, message: string } |
| list-servers | Get list of running servers | none | { 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.
インストール
docker run -i --rm mcp-create設定
{
"mcpServers": {
"mcp-create": {
"command": "docker",
"args": ["run", "-i", "--rm", "mcp-create"]
}
}
}