Skip to main content
Glama
mcp-tool-builder

mcp-tool-builder

by hanweg

工作正在进行中 - 谨慎使用 - Windows

MCP 工具生成器

MCP 服务器使 LLM 能够通过 MCP 客户端(例如 Claude Desktop)动态创建新工具。

特征

  • 使用自然语言描述来创建新工具

    • 需要重新启动客户端才能使用新工具(Claude Desktop)

  • 新工具作为 Python 脚本保存在 ...\mcp-tool-builder\tools 中

  • 新的工具定义保存在...\mcp-tool-builder\tools\tools.json

Related MCP server: my-mcp-server

安装时包含的示例工具

  • get_bitcoin_price:从 CoinGecko 获取当前比特币价格

  • get_weather_forecast:获取美国邮政编码的天气(使用 geopy)

创建新工具

使用 Claude Desktop 中的 create_tool 命令(或强烈建议!!)动态创建新工具

安装

  1. 克隆此存储库

  2. 安装依赖项:

cd mcp-tool-builder
uv venv
.venv\Scripts\activate
uv pip install -e .

与 Claude Desktop 一起使用

添加到claude_desktop_config.json :

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

截图 2024-12-24 105318

图像

Available Tools

4 tools
create_toolC

Create a new Python tool with specified functionality

Inputs: tool_name (required), description (required), code (required).

get_bitcoin_priceA

Gets current Bitcoin price in USD from CoinGecko API

Inputs: no named parameters.

get_weather_forecastC

Retrieves weather forecast for a given ZIP code using NWS API

Inputs: zip_code (required).

list_available_toolsB

List all currently available tools

Inputs: no named parameters.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3/5.0

    Scored across 4 tools

    Disambiguation3/5

    The tools have distinct purposes (tool creation, Bitcoin price, weather forecast, tool listing), but the domain is unclear—'create_tool' and 'list_available_tools' suggest a tool management server, while the other two are unrelated utilities. This mismatch could confuse agents about the server's scope, though individual tools are not directly overlapping.

    Naming Consistency4/5

    Three tools follow a consistent verb_noun pattern (create_tool, get_bitcoin_price, get_weather_forecast), but 'list_available_tools' uses 'list' instead of 'get', breaking full consistency. Overall, naming is mostly predictable and readable with only minor deviation.

    Tool Count3/5

    With 4 tools, the count is reasonable for a small utility set, but it feels thin for a 'tool-builder' server that might imply more comprehensive tool management. The inclusion of unrelated utilities (Bitcoin, weather) makes the scope ambiguous, affecting appropriateness.

    Completeness2/5

    If the domain is tool management, there are significant gaps: no update, delete, or test tools, and the unrelated utilities don't fit. If it's a general utility server, coverage is sparse and random. In either case, the surface is incomplete for coherent agent workflows.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers