mcp_expertagent

1.0.2 • Public • Published

MCP Expert Agent Server

这是一个Model Context Protocol (MCP) 服务器,为专家智能体系统提供工具支持。

安装

全局安装(推荐)

npm install -g mcp_expertagent

本地开发

npm install

使用方法

mcp配置

{ "mcpServers": { "expertagent": { "command": "npx", "args": ["mcp_expertagent"], "env": { "BASE_URL": "https://expertagent.huaguangyun.cn/", "API_KEY": "sk-xxx" } } } }

通过npx运行

npx mcp_expertagent

全局安装后运行

mcp-expertagent

本地开发运行

npm start

功能

当前支持的工具:

  • addMcpTool: 添加MCP工具到专家智能体系统中

addMcpTool 工具

添加MCP工具,输入参数configuration为mcp server的格式。

输入格式示例:

{
  "mcpServers": {
    "serverName": {
      "command": "npx",
      "args": ["parameter1", "parameter2"],
      "env": {
        "env1": "test"
      }
    }
  }
}

开发

安装依赖

npm install

运行测试

npm test

发布到npm

  1. 登录到npm:
npm login
  1. 发布包:
npm publish

许可证

ISC

Package Sidebar

Install

npm i mcp_expertagent

Weekly Downloads

3

Version

1.0.2

License

ISC

Unpacked Size

11.7 kB

Total Files

3

Last publish

Collaborators

  • chenpingaodian