HM

hanweg/mcp-tool-builder

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

25 stars 6 forks 质量 57 趋势 11Unlicense

MCP服务器根据需要创建自己的工具

概览

这是一个MCP服务器,赋能LLM通过Claude Desktop等MCP客户端动态创建新工具。 - 通过自然语言描述创建新工具 - 需要客户端重启以使用新工具(Claude Desktop)- 新工具保存为 Python 脚本小子,存储于 ...\mcp-tool-builder\tools_中 - 新工具定义保存于 ...\mcp-tool-builder\tools\tools.json - get_bitcoin_price:从CoinGecko获取当前比特币价格- get_weather_forecast:获取美国邮政编码的天气(使用geopy) 在 Claude Desktop 中使用 create_tool 命令(或者强烈建议!!)动态创建新工具 1. 克隆该仓库 2.安装依赖:

概述(AI 翻译)

MCP工具建造器

这是一个MCP服务器,赋能LLM通过Claude Desktop等MCP客户端动态创建新工具。

特色

  • 通过自然语言描述新工具来创建它们
  • 需要客户端重启以使用新工具(Claude Desktop)
  • 新工具保存为 Python 脚本小子,存储于 …\mcp-tool-builder\tools
  • 新工具定义保存在 …\mcp-tool-builder\tools\tools.json

安装时附带的示例工具

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

创造新工具

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

安装

  1. 克隆此仓库
  2. 安装依赖:

使用 Claude Desktop

加到claude_desktop_config.json:

本页由 AI 翻译,技术细节请以原文为准。

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.

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"
            ]
        }
    }
}

在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →

配置

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