What problem does it solve?
This Skill ensures that an AI-assisted project that produces an MCP (Model Context Protocol) server maintains the same governance, trust boundaries, and safety posture that would otherwise be lost when tools and runtime agents communicate over MCP.
Core Features & Use Cases
- MCP producer-side governance: Defines how the harness tier model must be applied when your server exposes MCP tools to consumers.
- Explicit tool tier mapping & review gates: Requires a one-line rationale per tool tier in docs/mcp/tool-registry.md to prevent placeholder defaults.
- Threat surface coverage for MCP-specific attacks: Documents prompt-injection, capability drift, token handling, OAuth proxy confused-deputy, SSRF, and session/auth discipline requirements.
- Honest capability negotiation checks: Enforces consistency between initialize declarations and runtime tool/capability behavior.
- Transport and auth posture: Sets expectations for stdio vs HTTP transports, including bearer-token enforcement and refusal to forward inbound tokens.
- Clear boundaries between sibling skills: Keeps producer governance distinct from harness-tools (consumer side) and harness-governance (trust tiers/lifecycle).
Quick Start
Use the harness-mcp skill when your project ships an MCP server that exposes tools to MCP clients, and tell your agent: “Review the MCP server changes and ensure tool registry tier mappings with rationales, capability negotiation consistency, prompt-injection test coverage, and transport/auth rules are all satisfied.”