Back to MCP directory
publicPublicdnsLocal runtime

mcp-tool-builder

根据用户请求通过创建新工具来构建自身的MCP服务器(需要重启克劳德桌面以使用新创建的工具)。

article

README

WORK IN PROGRESS - USE WITH CAUTION - Windows

MCP Tool Builder

An MCP server that empowers LLMs to dynamically create new tools through MCP clients such as Claude Desktop.

mcp-tool-builder MCP server

Features

  • Create new tools by describing them in natural language
    • Requires client restart to use new tools (Claude Desktop)
  • New tools are saved as python scriptlets in ...\mcp-tool-builder\tools
  • New tool definitions are saved in ...\mcp-tool-builder\tools\tools.json

Example tools included at installation

  • get_bitcoin_price: Fetches current Bitcoin price from CoinGecko
  • get_weather_forecast: Gets weather for US ZIP codes (uses geopy)

Creating New Tools

Use the create_tool command in Claude Desktop (or suggest strongly!!) to create new tools dynamically

Installation

  1. Clone this repository
  2. Install dependencies:
cd mcp-tool-builder
uv venv
.venv\Scripts\activate
uv pip install -e .

Usage with Claude Desktop

Add to claude_desktop_config.json:

{
    "mcpServers": {
        "tool-builder": {
            "command": "uv",
            "args": [
                "--directory", 
                "PATH_TO\\mcp-tool-builder",
                "run",
                "tool-builder"
            ]
        }
    }
}

Screenshot 2024-12-24 105318

image

help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client