Back to MCP directory
publicPublicdnsLocal runtime

mcp-tool-builder

一个动态创建LLM工具的MCP服务器

article

README

🚀 MCP 工具构建器(开发中,请谨慎使用)- Windows版

MCP 工具构建器是一款强大的 MCP 服务器,它为大语言模型(LLMs)提供了动态创建新工具的能力。借助 Claude 桌面等 MCP 客户端,用户能够轻松地定义并生成新工具。

🚀 快速开始

安装说明

  1. 克隆本仓库。
  2. 安装依赖项:
cd mcp-tool-builder
uv venv
.venv\Scripts\activate
uv pip install -e .

与Claude桌面配合使用

将以下配置添加到claude_desktop_config.json

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

界面截图

示例界面

✨ 主要特性

  • 自然语言描述创建工具
    • ⚠️ 重要提示:在Claude桌面中使用新工具前需重启客户端。
  • 新工具将以 Python 脚本形式保存于...\\mcp-tool-builder\\tools
  • 工具定义文件将保存于...\\mcp-tool-builder\\tools\tools.json

💻 使用示例

示例工具(安装时包含)

  • get_bitcoin_price:从 CoinGecko 获取比特币当前价格。
  • get_weather_forecast:查询美国邮政编码的天气预报(使用 geopy 库)。

创建新工具

通过在 Claude 桌面中执行create_tool命令或强烈建议模型执行此操作,可以生成新的工具。

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