mcp server to invoke yuanqi agent
Project description
元器官方智能体上下文协议(MCP)服务器,支持与强大的元器智能体交互。允许MCP客户端如Claude Desktop、Cursor、Windsurf、OpenAI Agents等进行集成。
快速开始使用 MCP 客户端
- 从元器智能体平台获取你开发的智能体的 API 密钥。
- 安装
uv(Python包管理器),使用curl -LsSf https://astral.sh/uv/install.sh | sh安装或查看uv仓库获取其他安装方法。 - 重要提示: 每个元器智能体的ID和密钥都不相同,两者需要匹配,否则会有
token验证失败的错误
Claude Desktop
前往Claude > Settings > Developer > Edit Config > claude_desktop_config.json包含以下内容:
{
"mcpServers": {
"YuanQiAgent": {
"command": "uvx",
"args": [
"yuanqi-agent-test-mcp"
],
"env": {
"TOOL_NAME": "填写你提供调用的元器智能体名称",
"TOOL_DESC": "填写你提供调用的元器智能体描述,方便AI工具",
"ASSISTANT_ID": "填写你调用的元器智能体ID",
"API_KEY": "填写你调用的元器智能体Token"
}
}
}
}
⚠️ 注意:API_KEY需要与ASSISTANT_ID匹配。如果出现“token验证失败”错误,请检查您的API_KEY和ASSISTANT_ID。 如果你使用Windows,你需要在Claude Desktop中启用"开发者模式"才能使用MCP服务器。点击左上角汉堡菜单中的"Help",然后选择"Enable Developer Mode"。
Cursor
前往Cursor -> Preferences -> Cursor Settings -> MCP -> Add new global MCP Server添加上述配置。
Transport
我们仅支持 stdio 传输方式
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file yuanqi_agent_test_mcp-0.1.1.tar.gz.
File metadata
- Download URL: yuanqi_agent_test_mcp-0.1.1.tar.gz
- Upload date:
- Size: 19.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
51577262adebffe06849e9683b1d97e6331c081d88af01140799feba375556c7
|
|
| MD5 |
075bdd0be30ba9c7d4b395d6814700a9
|
|
| BLAKE2b-256 |
8ccbdad3a333aa9f70cce4036db0d9bdfd6f3606c9175b1a51d3f2a3f0fc3a7d
|
File details
Details for the file yuanqi_agent_test_mcp-0.1.1-py3-none-any.whl.
File metadata
- Download URL: yuanqi_agent_test_mcp-0.1.1-py3-none-any.whl
- Upload date:
- Size: 6.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
190d5194fe7221cac08577881ae00085c6c84f4d67b922212156074ce73f5171
|
|
| MD5 |
654c0bc624b0ffff5b81d1b4fb554c3e
|
|
| BLAKE2b-256 |
4cba487efe2406abe9edbaf28a906bae2a3bb0f963f93c3671b2be96c73d9f42
|