MeterSphere MCP Server

MeterSphere MCP Server

metersphere-mcp-server•bymetersphere

A Model Context Protocol server for API testing that exposes MeterSphere testing tools and resources to LLM clients over HTTP+SSE, STDIO or Docker.

License: Not specified•Runtime: Awaiting documentation review•Category: developer tools

WHAT IT DOES

  • •Connects MCP clients to a MeterSphere platform and exposes testing-related tools and resources.
  • •Lets clients discover and invoke tools for API testing, retrieving interface documentation and other test scenarios.
  • •Supports natural-language-driven operations covering API testing, documentation retrieval, Mock service creation and compatibility verification.
  • •Uses AK/SK authentication and role-based permissions for sensitive tools.

BEST FOR

  • •Developers who want to run API tests and fetch interface definitions directly from an IDE or AI assistant.
  • •Teams that need to reuse test assets such as case libraries, environment configurations and assertion rules during development.

ABOUT METERSPHERE-MCP-SERVER

MeterSphere MCP Server is cataloged as an MCP server attributed to metersphere. A Model Context Protocol server for API testing that exposes MeterSphere testing tools and resources to LLM clients over HTTP+SSE, STDIO or Docker. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for MeterSphere MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Which transport channels can clients use to connect to the server?

Clients can connect over HTTP+SSE, STDIO or Docker.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 13876b861560 · 采集于 2026-11-13 09:57:18 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

MeterSphere MCP Server (Model Context Protocol)

本项目基于 Model Context Protocol(MCP)规范,实现一个面向 API 测试的 MCP Server,让 LLM 客户端(如 VS Code、Claude、Cursor 等)能够通过标准化协议调用测试服务、获取接口定义、执行测试用例并返回结果。

简介

MeterSphere MCP Server(Model Context Protocol Server)通过 HTTP + SSE、STDIO 或 Docker 通道,与 MCP Client 建立连接,向 LLM 暴露测试相关工具与资源。作为测试平台与开发环境间的智能桥梁,它彻底打通了测试与研发之间的壁垒,使开发人员无需切换工具即可直接在IDE、代码编辑器或AI助手中获取、执行与分析测试资源。开发者可通过自然语言指令让大模型调用底层测试能力,实现接口测试、文档获取、Mock服务创建、兼容性验证等全流程操作,将测试左移至开发阶段,显著缩短反馈循环,提升研发效能。同时,测试团队配置的测试资产(用例库、环境配置、断言规则等)可被开发者无缝调用,确保测试标准统一,促进DevTestOps一体化实践。客户端可发现并调用工具执行功能测试、接口测试、接口文档获取等多种场景,实现测试过程的智能化、自动化与协同化。

安装与运行

git clone https://github.com/metersphere/metersphere-mcp-server.git
cd metersphere-mcp-server
mvn clean install

核心功能

客户端配置示例

VS Code

// .vscode/settings.json

{
  "servers": {
    // SSE 连接方式配置
    "ms-mcp-server-sse": {
      "type": "sse",
      "url": "http://localhost:8000/sse",
      "headers": {
        "accessKey": "your-access-key",
        "signature": "your-signature",
        "meterSphereUrl": "http://your-metersphere-url"
      }
    },
    
    // Docker 连接方式配置
    "ms-mcp-server-docker": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run", 
        "-i", 
        "--rm", 
        "-p", 
        "8000:8000", 
        "-e", "accessKey=${env:accessKey}",
        "-e", "signature=${env:signature}",
        "-e", "meterSphereUrl=${env:meterSphereUrl}",
        "metersphere-mcp-server"
      ],
      "env": {
        "accessKey": "your-access-key", 
        "signature": "your-signature",
        "meterSphereUrl": "http://your-metersphere-url"
      }
    }
  }
}

Claude 客户端

{
  "mcp_providers": {
    // SSE 方式连接
    "metersphere-sse": {
      "protocol": {
        "type": "sse",
        "baseUrl": "http://localhost:8000",
        "path": "/sse"
      },
      "auth": {
        "type": "header",
        "headers": {
          "accessKey": "your-access-key",
          "signature": "your-signature",
          "meterSphereUrl": "http://your-metersphere-url"
        }
      },
      "defaults": {
        "env": "dev"
      }
    },

    // Docker 方式连接
    "metersphere-docker": {
      "protocol": {
        "type": "stdio",
        "command": "docker run -i --rm -p 8000:8000 metersphere-mcp-server"
      },
      "env": {
        "accessKey": "your-access-key",
        "signature": "your-signature",
        "meterSphereUrl": "http://your-metersphere-url"
      },
      "defaults": {
        "env": "staging"
      }
    }
  },

  // 默认使用提供者
  "default_provider": "metersphere-sse"
}

配置与部署

  • PORT(HTTP 端口,默认 8000)
  • MCP_TPYE(http-sse | stdio | docker)
  • AK/SK(鉴权密钥)
  • MeterSphereURL(部署的 MeterSphere 平台地址)

安全与权限

  • 支持 AK/SK 鉴权。
  • 管理角色权限,仅允许授权角色调用敏感工具(如 项目数据获取与处理)。

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for MeterSphere MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/metersphere-mcp-server)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related developer tools MCP Servers

Alternative and complementary servers in the same category

View all in developer tools →
Postbye
postbye-mcp•postbye-team

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools
Singapore Proxy MCP
singapore-proxy-mcp•Xavierfok

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

0
Developer Tools

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools