使用说明
代理 MCP
Agentset的MCP服务器,一个用于检索增强生成(RAG)的开源平台。专为希望快速高效地构建智能、基于文档的应用程序的开发人员而设计。
安装
使用npm:
AGENTSET_API_KEY=your-api-key npx @agentset/mcp --ns your-namespace-id
使用纱线:
AGENTSET_API_KEY=your-api-key yarn dlx @agentset/mcp --ns your-namespace-id
使用pnpm:
AGENTSET_API_KEY=your-api-key pnpm dlx @agentset/mcp --ns your-namespace-id
添加到克劳德
{
"mcpServers": {
"agentset": {
"command": "npx",
"args": ["-y", "@agentset/mcp@latest"],
"env": {
"AGENTSET_API_KEY": "agentset_xxx",
"AGENTSET_NAMESPACE_ID": "ns_xxx"
}
}
}
}
提示
将命名空间id作为环境变量传递
AGENTSET_API_KEY=your-api-key AGENTSET_NAMESPACE_ID=your-namespace-id npx @agentset/mcp
传递自定义工具描述
AGENTSET_API_KEY=your-api-key npx @agentset/mcp --ns your-namespace-id -d "Your custom tool description"
传递租户id:
AGENTSET_API_KEY=your-api-key npx @agentset/mcp --ns your-namespace-id -t your-tenant-id
api参考
访问 全部文件 了解更多详情。