API测试服务器

MCP服务器用于API测试,支持gRPC、Docker和npx等多种启动方式,适用于开发和测试场景。

  • by LinuxSuRen
  • Go
  • 本地部署
  • 8 星标
  • 更新于
在 GitHub 查看 LinuxSuRen/atest-mcp-server

使用说明

这是MCP服务器 最新.

开始

请使用以下命令启动MCP服务器 最新 gRPC端口。

atest-store-mcp server --runner-address 127.0.0.1:64385

或者在Docker中启动

docker run -p 7845:7845 ghcr.io/linuxsuren/atest-mcp-server --runner-address 127.0.0.1:64385

或从npx开始

npx atest-mcp-server-launcher@latest server --mode=stdio --runner-address=localhost:64385

您还可以使用以下命令设置MCP服务器模式 --mode 旗帜。

atest-store-mcp server --runner-address 127.0.0.1:64385 --mode=[sse|stdio]

MCP服务器

{
  "mcpServers": {
    "atest": {
      "name": "atest",
      "type": "streamableHttp",
      "description": "The MCP server of atest",
      "isActive": true,
      "baseUrl": "http://localhost:7845",
      "disabledAutoApproveTools": []
    }
  }
}

或作为stdio模式:

{
  "mcpServers": {
    "atest": {
      "name": "atest-mcp-stdio",
      "type": "stdio",
      "description": "",
      "isActive": true,
      "command": "atest-store-mcp",
      "args": [
        "server",
        "-m=stdio",
        "--runner-address=localhost:64385"
      ]
    }
  }
}

如何构建

您可以使用以下命令构建二进制文件:

make build

您可以构建 .dxt 使用以下命令打包:

npm install -g @anthropic-ai/dxt
dxt pack

如何发布

您可以使用以下命令发布包:

npm login --registry https://registry.npmjs.com
npm publish --registry https://registry.npmjs.com

mcp-publisher login github
mcp-publisher publish

阅读更多关于 mcp出版商