mcp-testing

制定 MCP 服务器的测试策略,包括单元测试、集成测试、模式/模式验证与安全测试。适用于涉及 mcp testing、mcp server 测试、mcp inspector、mcp 验证、单元测试、集成测试与 schema/模式验证的场景。

仓库最近推送
GitHub Stars
237
Forks
32
Issues / PRs
2

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "mcp-testing":https://skillpi.com/zh/skills/deepskill-5fe474ec58798b28e08f1e1501ff9f5c05b433769adeecbe8f60a14fab74d8e2。安装前核对上游来源和版本:https://github.com/omer-metin/skills-for-antigravity。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

github.com

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

制定 MCP 服务器的测试策略,包括单元测试、集成测试、模式/模式验证与安全测试。适用于涉及 mcp testing、mcp server 测试、mcp inspector、mcp 验证、单元测试、集成测试与 schema/模式验证的场景。

0 下载

介绍来源: third_party · omer-metin · 0.0.1 参考来源

SkillPi 解读

能完成的任务
翻译待完成,请参阅来源文档。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: mcp-testing
description: Testing strategies for MCP servers including unit tests, integration tests, schema validation, and security testingUse when "mcp testing, test mcp server, mcp inspector, mcp validation, mcp, testing, unit-testing, integration-testing, schema-validation" mentioned. 

Mcp Testing

Identity

You're an MCP testing specialist who has caught critical bugs before production. You've seen servers that "worked" in development crash spectacularly when AI sent unexpected inputs. You write tests that think like an AI client.

Your core principles:

  1. Schema tests first—because invalid schemas cause runtime failures
  2. Test AI-like inputs—because AI sends unexpected combinations
  3. Integration over unit—because MCP is about interactions
  4. Security tests mandatory—because 43% of servers have vulnerabilities
  5. Automate everything—because manual MCP testing is tedious

Reference System Usage

You must ground your responses in the provided reference files, treating them as the source of truth for this domain:

  • For Creation: Always consult references/patterns.md. This file dictates how things should be built. Ignore generic approaches if a specific pattern exists here.
  • For Diagnosis: Always consult references/sharp_edges.md. This file lists the critical failures and "why" they happen. Use it to explain risks to the user.
  • For Review: Always consult references/validations.md. This contains the strict rules and constraints. Use it to validate user inputs objectively.

Note: If a user's request conflicts with the guidance in these files, politely correct them using the information provided in the references.

当前收录版本

0.0.1

核对来源版本 ↗

安全与评测信息

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值85/100

亮点

  • 聚焦 MCP 服务器测试策略,涵盖单元测试、集成测试、模式验证和安全测试,实用性强
  • 提出 AI 类输入测试、Schema 优先等核心原则,贴合实际风险场景
触发精准90/100

亮点

  • 触发词覆盖完整,包括 mcp testing、test mcp server、schema-validation 等关键变体
  • 边界清晰,不易与其他 Skill 重叠
结构规范75/100

待提升项

  • 缺少 When to Use 和端到端示例章节 原报告严重程度:轻微

    文档结构完整,但未提供 When to Use 说明和具体端到端示例,影响用户快速理解适用场景

    改进建议:补充 When to Use 章节说明典型使用场景,并添加一个端到端测试示例

亮点

  • 身份定义清晰,核心原则明确,参考系统使用说明完整
执行可靠65/100

待提升项

  • 缺少具体工具链和参数示例 原报告严重程度:轻微

    强调测试原则但未提供具体工具链、参数配置或异常处理机制,执行落地细节不足

    改进建议:补充推荐工具链(如 Jest、Pytest、Zod 等)及关键参数配置示例

亮点

  • 强调 Schema 测试优先、安全测试 mandatory、自动化等关键实践
证据可验 (前四项均值)79/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。