Start from the contract
A tool schema is a public API. If it is vague, the model guesses, the server rejects, and the user sees a failure. We define input, output, error and permission before implementation, then generate the review artifacts from the same definition.
The example below is illustrative TypeScript for the official SDK. It shows the shape, not a runnable deployment: transport, authorization and upstream calls are deliberately omitted.
Illustrative tool registration
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
import { z } from "zod";
const server = new McpServer({ name: "support-docs", version: "1.0.0" });
server.registerTool("search_articles", {
description: "Search approved support articles. Returns summaries with canonical URLs.",
inputSchema: {
query: z.string().min(2).max(120),
product: z.enum(["core", "billing"]).optional(),
limit: z.number().int().min(1).max(10).default(5)
},
annotations: { readOnlyHint: true, openWorldHint: false }
}, async ({ query, product, limit }) => {
const results = await searchApprovedCorpus({ query, product, limit });
return {
content: [{ type: "text", text: summarize(results) }],
structuredContent: { results }
};
});Test the protocol, not only the function
| Test | Why it exists |
|---|---|
| initialize negotiation | A client with an unsupported version must fail cleanly, not hang. |
| tools/list stability | Schema drift breaks hosts silently; snapshot the manifest. |
| Invalid input | Models will send wrong types; the server must return a usable error. |
| Authorization denial | A missing scope must be denied even when the tool exists. |
| Timeout and cancel | A slow upstream must not hold the session open. |
| Large output | A big result must paginate or truncate, not exhaust the context. |
| Client matrix | Each host has quirks; record the version you tested. |
Compatibility is a record, not a claim
We maintain a per-project compatibility record: host name, version, transport, protocol revision and the tests that passed. It is a fact table, not a marketing badge.
If a host does not support a feature you need, the record says so. The answer may be a different transport, a narrower tool or a documented limitation.
Tooling we bring
- A capability inventory that maps each tool to a human route and an agent surface.
- Recorded upstream fixtures so tests run without production credentials.
- A manifest snapshot test to catch accidental schema changes.
- Structured error codes with a documented mapping to user-facing messages.
- A release checklist covering protocol version, SDK version and client matrix.
- A handover note that explains the parts your team will actually change.
Ways to work together
Some teams want a build. Some want a review of what they already have. Some want the specification and tests so their team can implement.
We scope the smallest version that gives you a defensible result, and we do not pretend a review is a build.
- Build: we implement the server and hand it over.
- Review: we audit an existing server against the test set.
- Pairing: we work in your repository with your review process.
- Specification: contracts, fixtures and acceptance tests only.
- Training: a working session on protocol and security boundaries.
Questions people ask before starting
Which SDK do you use?
We default to the official TypeScript SDK for new servers, and we can work with the official Python SDK. The version is pinned per project and recorded in the handover.
Can you review our existing server?
Yes. We start with the tool manifest, authorization model and test coverage, then run the protocol checks and report the gaps.
Do you write tests in our framework?
Yes. We adapt to your test runner and CI rather than adding a parallel test system your team will not maintain.
Is there a public SDK from you?
No. We publish specifications, schemas and skills, not a competing SDK. The official SDKs are the right dependency.
Next step
Review the contract
Send your tool manifest or a link to the repository. We will reply with the schema and test gaps we would fix first.
Last verified .