WORK IN PROGRESS - USE WITH CAUTION - Windows
根据需要创建自己工具的MCP Server。
⚠️ 注意:此项目正在开发中,请谨慎使用
简介
MCP 工具构建器是一个 MCP 服务器,允许 Claude Desktop 等 LLM 客户端通过自然语言动态创建新工具。
安装步骤
- 克隆仓库
- 安装依赖:
cd mcp-tool-builder uv venv .venv\Scripts\activate # Windows路径 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"
]
}
}
}
使用方法
- 启动 Claude Desktop
- 使用
create_tool
命令创建新工具(推荐) - 新创建的工具将保存在
...\mcp-tool-builder\tools
目录 - 重要:创建新工具后需要重启 Claude Desktop
预装工具示例
get_bitcoin_price
: 从 CoinGecko 获取比特币价格get_weather_forecast
: 获取美国邮政编码地区的天气预报
示例界面