CrewAI MCP测试仪
重要的是要确保您的MCP服务器正常运行,所有工具都可用并按预期工作。此Actor自动化了手动测试过程,并提供了每个工具状态的详细报告。
由于MCP服务器经常用于基于代理的应用程序,因此使用代理方法测试MCP服务器至关重要。
ℹ️ 注意:\ 此Actor内部使用 Apify Openrouter 演员 打电话给LLM。您将通过此Actor为LLM使用付费。
🔥 特性
- 通过URL连接到MCP服务器并测试所有可用工具
- 使用GPT-4.1 Mini与MCP工具交互并评估响应
- 生成包含通过/失败状态和结果的测试报告
- 支持用于身份验证的自定义标头
- 基于代币的定价模型 按活动付费
- 在Apify平台上运行
📊 输出数据
Actor返回每个测试工具的单独记录。每条记录包含:
| 字段 | 类型 | 描述 |
|---|---|---|
name | String | 被测试的MCP工具的名称 |
passed | Boolean | 工具测试是否通过(true/false) |
detail | String | 测试场景描述或失败解释 |
🚀 用法
- 导航到Actor页面
- 提供MCP服务器URL
- 为MCP服务器添加身份验证标头(如果需要)
- 开始测试
- 查看生成的报告
💰 定价
您将根据LLM令牌的使用情况收费。对于具有一些工具的简单MCP服务器,每次测试运行的成本应低于0.05美元。
💾 输入
Actor接受以下输入参数:
{
"mcpUrl": "https://your-mcp-server.com/mcp",
"headers": {
"Authorization": "Bearer your-token",
"X-Custom-Header": "custom-value"
}
}参数:
mcpUrl(必需):MCP服务器端点URLheaders(可选):用于身份验证或配置的HTTP标头
🔢 输出
Actor返回每个测试工具的单独记录。每条记录都是一个单独的JSON对象:
[
{
"name": "get-actor-details",
"passed": true,
"detail": "Successfully retrieved detailed information about the actor 'apify/proxy-test'."
},
{
"name": "search-actors",
"passed": true,
"detail": "Successfully searched for actors with the keyword 'test' and received valid results."
},
{
"name": "search-apify-docs",
"passed": true,
"detail": "Successfully searched Apify documentation for the keyword 'test' and received relevant documentation links."
},
{
"name": "fetch-apify-docs",
"passed": true,
"detail": "Successfully fetched full content of an Apify documentation page about automated testing."
},
{
"name": "add-actor",
"passed": true,
"detail": "Successfully added the actor 'apify/proxy-test' to the available tools."
},
{
"name": "apify-slash-rag-web-browser",
"passed": true,
"detail": "Successfully ran a basic operation querying 'san francisco weather' and received results without errors."
}
]🔧 配置
自定义头
对于需要身份验证的MCP服务器:
{
"mcpUrl": "https://secure-mcp-server.com/mcp",
"headers": {
"Authorization": "Bearer your-secure-token",
"X-API-Key": "your-api-key",
}
}🌐 开源
此Actor是开源的,可在 .
