Back to MCP directory
publicPublicdnsLocal runtime

atest-mcp-server

这是一个为API测试工具atest提供的MCP服务器,支持通过gRPC连接atest运行器,并提供多种启动模式(SSE、stdio)。

article

README

🚀 [atest MCP 服务器]

这是 atest 的 MCP 服务器,为 atest 提供相关服务支持,助力 API 测试工作高效开展。

🚀 快速开始

请使用 atest 的 gRPC 端口启动 MCP 服务器。

📦 本地启动

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

你还可以使用 --mode 标志设置 MCP 服务器模式。

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 模式配置 MCP 服务器:

{
  "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

你可以使用以下命令构建 .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-publisher 的信息,请参考该链接。

help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client