{"uid":"cap_x62DlPLQi7KBl6BirsvU7","slug":"mcp-contract-compatibility-checker-e3d97e8e","name":"MCP Contract Compatibility Checker","description":"Check declared MCP tool contracts before an upgrade. Compare required names and exact input/output schema digests with a supplied server snapshot, protocol version and transport. No server contact, semantic schema-subtyping proof or official conformance certification.","url":"https://www.mahastrategies.com/api/v1/micro/mcp-contract-compatibility","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["dataClass","required","offered"],"properties":{"offered":{"type":"object"},"required":{"type":"object"},"dataClass":{"enum":["public","synthetic"],"type":"string"}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["version","offerId","amountBaseUnits","inputDigest","result","boundaries","receiptDigest"],"properties":{"result":{"type":"object"},"offerId":{"enum":["mcp-contract-compatibility"],"type":"string"},"version":{"enum":["maha-microproducts/0.1"],"type":"string"},"boundaries":{"type":"array","maxItems":128,"minItems":0},"inputDigest":{"type":"string","maxLength":71},"receiptDigest":{"type":"string","maxLength":71},"amountBaseUnits":{"enum":["15000"],"type":"string"}},"additionalProperties":false}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.015","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.015/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.015","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.015","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_OsjlyWKMUjmw5sjlHNB3n","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.015","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates declared MCP tool contracts against a server snapshot by comparing required tool names and exact input/output schema digests without contacting the server","exampleAgentPrompt":"Before I upgrade my MCP server, check if the declared tool contracts are still compatible — here's my server snapshot with the required tool names and schema digests, using HTTP transport and POST method with JSON body, with public data class.","exampleUseCases":[{"title":"Pre-upgrade MCP contract validation","prompt":"I'm about to upgrade my MCP server to a new protocol version — can you compare my declared tool contracts against this server snapshot to make sure the required tool names and input/output schema digests still match? Use HTTP POST with JSON body and public data class."},{"title":"Detecting breaking schema changes","prompt":"Check whether any of my MCP tool's required schema digests have drifted from what's declared in my offered server snapshot before I push this release — HTTP transport, POST method, JSON body, synthetic data class."},{"title":"CI pipeline contract gate","prompt":"As part of my deployment pipeline, validate that the MCP tool contracts in this server snapshot satisfy all required name and schema digest requirements — HTTP POST, JSON body, public data class — and tell me about any boundary violations."}],"resultDescription":"Returns a structured result including the offer ID ('mcp-contract-compatibility'), protocol version, compatibility result object, an array of boundary violations (0–128 items), an input digest, a receipt digest, and the amount charged in base units (15000). No live server is contacted during validation.","failureModes":["Schema digest mismatch if the offered snapshot uses incompatible schema formats","Missing required tool names in the offered snapshot cause boundary violations","Unsupported protocol version or transport type returns an error","Malformed body or missing required fields (dataClass, required, offered) cause a 400-level rejection","Incompatible bodyType enum value (must be json, form-data, or text) causes rejection"],"whenToPreferThis":"Choose this endpoint when you need offline, deterministic MCP tool contract validation — i.e., comparing declared required tool names and schema digests against a server snapshot without making live server requests. It is ideal for CI/CD pipelines, pre-upgrade audits, and protocol version bumps where you want a reproducible, receipt-backed compatibility check. Do not use it if you need semantic schema subtyping proofs or official conformance certification.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:43:09.780Z","isFirstParty":false}