{"id":51702388,"url":"https://github.com/reaatech/mcp-contract-kit","last_synced_at":"2026-07-16T12:31:13.526Z","repository":{"id":352527189,"uuid":"1215375245","full_name":"reaatech/mcp-contract-kit","owner":"reaatech","description":"Conformance test suite for MCP servers — registry compliance, protocol conformance, and routing correctness verification. Point it at any MCP endpoint to validate spec adherence. ","archived":false,"fork":false,"pushed_at":"2026-06-10T23:46:49.000Z","size":385,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-18T21:07:43.028Z","etag":null,"topics":["agentic-ai","conformance-testing","contract-testing","developer-tools","mcp","mcp-server","model-context-protocol","protocol-validation","spec-compliance","test-suite","testing-tools","typescript"],"latest_commit_sha":null,"homepage":"https://reaatech.com/products/testing-security/mcp-contract-kit","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/reaatech.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-04-19T20:41:03.000Z","updated_at":"2026-06-10T23:46:53.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/reaatech/mcp-contract-kit","commit_stats":null,"previous_names":["reaatech/mcp-contract-kit"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/reaatech/mcp-contract-kit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reaatech%2Fmcp-contract-kit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reaatech%2Fmcp-contract-kit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reaatech%2Fmcp-contract-kit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reaatech%2Fmcp-contract-kit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/reaatech","download_url":"https://codeload.github.com/reaatech/mcp-contract-kit/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reaatech%2Fmcp-contract-kit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35544514,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-16T02:00:06.687Z","response_time":83,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["agentic-ai","conformance-testing","contract-testing","developer-tools","mcp","mcp-server","model-context-protocol","protocol-validation","spec-compliance","test-suite","testing-tools","typescript"],"created_at":"2026-07-16T12:31:12.884Z","updated_at":"2026-07-16T12:31:13.520Z","avatar_url":"https://github.com/reaatech.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mcp-contract-kit\n\n[![CI](https://github.com/reaatech/mcp-contract-kit/actions/workflows/ci.yml/badge.svg)](https://github.com/reaatech/mcp-contract-kit/actions/workflows/ci.yml)\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)\n[![TypeScript](https://img.shields.io/badge/TypeScript-5.8-blue.svg)](https://www.typescriptlang.org/)\n\n\u003e Conformance test suite for MCP servers. Validate registry compliance, protocol conformance, and routing correctness.\n\nThis monorepo provides a CLI tool, validators, MCP client SDK, and reporting infrastructure for testing Model Context Protocol (MCP) server implementations against the MCP specification.\n\n## Features\n\n- Protocol conformance — JSON-RPC 2.0 compliance, tool discovery, tool execution, session management\n- Registry validation — YAML schema validation, invariant checks, environment variable expansion\n- Routing contracts — Request/response format validation, compatibility testing\n- Security posture — SSRF protection, authentication checks, input sanitization\n- Performance baseline — Latency measurement, concurrency testing, rate limit detection\n- Multiple reporters — Console, JSON, Markdown, and HTML output formats\n- Programmatic API — integrate into CI/CD pipelines\n- MCP client SDK — connect to and test any MCP server\n\n## Installation\n\n### Using the packages\n\n```bash\n# CLI tool (includes all validators)\npnpm add @reaatech/mcp-contract-cli\n\n# Individual packages\npnpm add @reaatech/mcp-contract-core\npnpm add @reaatech/mcp-contract-client\npnpm add @reaatech/mcp-contract-validators\npnpm add @reaatech/mcp-contract-reporters\npnpm add @reaatech/mcp-contract-observability\n```\n\n### Contributing\n\n```bash\ngit clone https://github.com/reaatech/mcp-contract-kit.git\ncd mcp-contract-kit\npnpm install\npnpm build\npnpm test\npnpm lint\n```\n\n## Quick Start\n\nTest an MCP server:\n\n```bash\nmcp-contract-kit test http://localhost:8080 --suite all --format console\n```\n\nOr use the programmatic API:\n\n```typescript\nimport { runTests, generateReport } from \"@reaatech/mcp-contract-cli\";\n\nconst report = await runTests({ endpoint: \"http://localhost:8080\" });\nconsole.log(report.passed ? \"PASSED\" : \"FAILED\");\n```\n\n## Packages\n\n| Package | Description |\n|---------|-------------|\n| [`@reaatech/mcp-contract-core`](./packages/core) | Core domain types, JSON-RPC 2.0 schemas, and utilities |\n| [`@reaatech/mcp-contract-client`](./packages/client) | MCP client SDK for connecting to MCP servers |\n| [`@reaatech/mcp-contract-validators`](./packages/validators) | Conformance validators (protocol, registry, routing, security, performance) |\n| [`@reaatech/mcp-contract-reporters`](./packages/reporters) | Report formatters (console, JSON, markdown, HTML) |\n| [`@reaatech/mcp-contract-observability`](./packages/observability) | Structured logging, metrics, and tracing |\n| [`@reaatech/mcp-contract-cli`](./packages/cli) | CLI tool and public API |\n\n## Documentation\n\n- `ARCHITECTURE.md` — System design and package relationships\n- `AGENTS.md` — Coding conventions and development guidelines\n- `CONTRIBUTING.md` — Contribution workflow and release process\n- `docs/` — Additional documentation\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freaatech%2Fmcp-contract-kit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freaatech%2Fmcp-contract-kit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freaatech%2Fmcp-contract-kit/lists"}