AgentOps MCP服务器
](https://smithery.ai/server/@AgentOps-AI/agentops-mcp)
AgentOps MCP服务器提供对可观察性和跟踪数据的访问,用于调试复杂的AI代理运行。这增加了关于AI代理成功或失败的关键背景。
用法
MCP客户端配置
将以下内容添加到MCP配置文件中:
{
"mcpServers": {
"agentops-mcp": {
"command": "npx",
"args": ["agentops-mcp"],
"env": {
"AGENTOPS_API_KEY": ""
}
}
}
}安装
通过Cursor Deeplink安装

通过Smithery安装
通过以下方式自动安装Claude Desktop的agentops mcp 史密瑟里:
npx -y @smithery/cli install @AgentOps-AI/agentops-mcp --client claude地方发展
要在本地构建MCP服务器:
# Clone and setup
git clone https://github.com/AgentOps-AI/agentops-mcp.git
cd mcp
npm install
# Build the project
npm run build
# Run the server
npm pack可用工具
auth
授权使用AgentOps项目API密钥并返回JWT令牌。
参数:
api_key(字符串):您的AgentOps项目API密钥
get_trace
按ID检索跟踪信息。
参数:
trace_id(string):要检索的跟踪ID
get_span
按ID获取跨度信息。
参数:
span_id(string):要检索的跨度ID
get_complete_trace
获取全面的跟踪信息,包括所有跨度及其指标。
参数:
trace_id(string):跟踪ID
需求
- Node.js>=18.0.0
- AgentOps API密钥(作为参数传递给工具)
