返回市场
工具腰带

工具腰带

作者:richardanaya9 星标更新:2025-04-18

项目介绍

<p align="center"> <img src="https://gips3.baidu.com/it/u=2450800772,2728575493&fm=3081&app=3081&f=PNG?w=1024&h=1024" alt="描述" width="300"> </p>

技术文档摘要

一个用于与MCP端点交互的CLI工具(适用于基于CLI的AI代理,如aider)

使用方法

此工具的目的是加载aider,并提供如何调用MCP端点上的工具的上下文信息。

在aider中:

/run utilitybelt describe https://mcp-example.com

这应该会列出一些命令行调用,作为aider可以调用的工具建议。

当有工具被建议时,aider应使用以下格式:

/run utilitybelt tools call https://mcp-example.com <tool_name> "<tool_params_escaped_json>"

实际操作

在aider中使用计算器的MCP端点。

<img width="530" alt="2025-03-24 1:02:00 AM 的屏幕截图" src="https://gips0.baidu.com/it/u=825207602,2444537867&fm=3081&app=3081&f=PNG?w=1060&h=764" /> <img width="558" alt="2025-03-24 1:02:13 AM 的屏幕截图" src="https://gips1.baidu.com/it/u=265080827,827961375&fm=3081&app=3081&f=PNG?w=1116&h=644" />