Skip to main content

mcp server to invoke yuanqi agent

Project description

Framelink

元器智能体 MCP 服务器

为您的元器智能体提供 mcp 访问能力。
一次性在任何智能体框架中集成。

MIT 许可证

元器官方智能体上下文协议(MCP)服务器,支持与强大的元器智能体交互。允许MCP客户端如Claude DesktopCursorWindsurfOpenAI Agents等进行集成。

快速开始使用 MCP 客户端

  1. 元器智能体平台获取你开发的智能体的 API 密钥。
  2. 安装uv(Python包管理器),使用curl -LsSf https://astral.sh/uv/install.sh | sh安装或查看uv 仓库获取其他安装方法。
  3. 重要提示: 每个元器智能体的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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

yuanqi_agent_test_mcp-0.1.0.tar.gz (19.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

yuanqi_agent_test_mcp-0.1.0-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file yuanqi_agent_test_mcp-0.1.0.tar.gz.

File metadata

File hashes

Hashes for yuanqi_agent_test_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c183b4166d37a51fe595075f4435f8c0952e9eb6d955afda6b26d089cd47031b
MD5 0ca199a70b48a518e33dc6c87ff05459
BLAKE2b-256 954ff52e6fe047532c50bee9240ee6faaf2dc2289ce38c0a73cae0ab58020dfe

See more details on using hashes here.

File details

Details for the file yuanqi_agent_test_mcp-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for yuanqi_agent_test_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8004304dec0815ff0e6b3e1a1e0b32861f831151cb4e4816562192324186538a
MD5 342ff9e2db83048fe16d9de0f3deb0f3
BLAKE2b-256 7e185bf44fc7db2f8ed8ad716c56d7c529a79721e9a0d4639cd9b3bfe8a3f71e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page