Agent 5ive MCP服务器
](https://smithery.ai/server/@agent5ive/agent5ive-mcp)
此包提供了一个模型上下文协议(MCP)服务器,用于与部署的Agent5代理进行交互。它允许您将MCP兼容客户端(如Claude Desktop)连接到Agent5ive代理,以利用其作为工具的功能。
安装
通过Smithery安装
通过以下方式自动安装agent5ive mcp 铁匠铺:
npx -y @smithery/cli install @agent5ive/agent5ive-mcp手动安装
要使用此MCP服务器,您可以直接使用 npx 或全局安装:
npm install -g agent5ive-mcp用法
要运行服务器,您需要提供 DEPLOYMENT_ID 将Agent5ive代理作为环境变量。
export DEPLOYMENT_ID="your-deployment-id"
npx agent5ive-mcp服务器将启动并监听标准输入/输出上的命令。
与MCP客户端连接
您可以从任何兼容MCP的客户端连接到此服务器。例如,要从Claude Desktop连接,请将以下内容添加到您的 claude_desktop_config.json 文件:
{
"mcpServers": {
"my-agent5ive-agent": {
"command": "npx",
"args": [
"agent5ive-mcp"
],
"env": {
"DEPLOYMENT_ID": "your-deployment-id"
}
}
}
}可用工具
此服务器公开以下工具:
get_agent_purpose
- 描述:获取已部署代理的详细信息和目的。
- 输入:无
interact_with_agent
- 描述:与部署的代理进行交互。
- 输入:
- message (string,必填):要发送给代理的消息。 - history (数组,可选):对话历史记录。
