McpServerTools
MCP服务器工具注册表的工具清单。此存储库充当主存储库 工具桶 -一组工具定义,可通过MCP服务器的工具注册表API进行浏览、安装和同步。
结构
每个工具都被定义为根目录中的JSON清单文件:
tool-name.json清单格式
{
"name": "tool-name",
"description": "Human-readable description of what this tool does",
"tags": ["keyword1", "keyword2"],
"parameterSchema": "{ ... optional JSON schema ... }",
"commandTemplate": "command --arg {{param1}}"
}用法
在MCP服务器上注册此存储桶
curl -X POST http://localhost:7147/mcpserver/tools/buckets \
-H "Content-Type: application/json" \
-d '{
"name": "official",
"owner": "sharpninja",
"repo": "McpServerTools",
"branch": "main",
"manifestPath": "/"
}'浏览可用工具
curl http://localhost:7147/mcpserver/tools/buckets/official/browse从该铲斗安装工具
curl -X POST "http://localhost:7147/mcpserver/tools/buckets/official/install?toolName=screenshot"同步以获取更新
curl -X POST http://localhost:7147/mcpserver/tools/buckets/official/sync贡献
添加新 .json 按照上述格式创建清单文件,并提交拉取请求。
