返回 MCP 目录
public公开dns本地运行

MCP工具构建器

根据用户请求通过创建新工具来构建自身的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

运行方式说明

cloud

托管运行

托管运行通常表示这个 MCP Server 由服务方环境承载,用户一般按页面提供的连接方式或授权流程接入,不需要在本地长期启动一个 MCP 进程

  1. 打开服务方连接页
  2. 完成授权或复制端点
  3. 在 MCP 客户端中连接
terminal

本地运行 / 其它方式

本地运行通常需要用户在自己的电脑或服务器上安装依赖,把 server_config 复制到 MCP 客户端,并按 env_schema 补齐环境变量、密钥或其它配置

  1. 复制 server_config
  2. 安装所需依赖
  3. 补齐环境变量后重启客户端