MCP server builder
MCP (the Model Context Protocol) is the open standard an AI application such as Claude Code uses to reach your tools and data. The application, the host, connects to an MCP server, which offers tools (functions the model can call), resources (data the host can read by its address) and prompts (message templates a person picks, often as a slash command). Pick the options below and download a working server, in TypeScript or Python, built on the official SDK, with a small worked example of each and tests that run offline.
Every server it builds passes Toolproof's conformance report, the same checks Toolproof runs on any MCP server, with no check failing. The TypeScript servers leave one warning: the TypeScript SDK accepts a made-up pagination cursor instead of refusing it (why, in the Help).
The zip is built in your browser from templates, and the same choices always give the same files. As with every click on this site, a click on Download is recorded with the options you chose; nothing else is. Privacy
What you get
- The server. One entry point, with its tools, resources and prompt each in their own file, over a small in-memory notes store you replace with your own data:
list_notesandget_note, which only read, anddelete_note, which is marked destructive so the host asks first. Every tool has a description a model can use, described parameters, an output schema and annotations. - The protocol done by the official SDK. Both revisions: 2026-07-28, which is stateless (each request stands alone), and the 2025 handshake. Requests from a web page of another site are refused (protection against DNS rebinding), and errors carry no stack traces.
- Sign-in, if you choose it. An API key in a header, or OAuth 2.1, where the server checks the access tokens your own sign-in service issues: it publishes the metadata that tells a client where to sign in, and a token that may only read is refused
delete_notewith a request for more permission (step-up). - Tests that run offline. Each tool, each sign-in path, and the SDK's own client connecting, listing and calling, with no network.
- An eval harness, if you choose it. A golden set of requests a person might make, and a runner that gives Claude your tools exactly as a host would and scores each case on four measures: the tool it picked (never the destructive one unasked), its arguments, the facts in its answer, and grounding (every figure and quote in the answer is in a tool result). A
comparecommand runs the set with two versions of your tool descriptions and shows which cases changed. It runs offline with a scripted stand-in model in your tests and CI, and with Claude when you give it a key. - A README for an engineer new to MCP: how to connect it to Claude Code with
claude mcp add, how to add a tool, how to point OAuth at your authorization server, and how to check it with Toolproof. - Yours to use. The code is yours to use, change and ship, in any project, commercial or not: the zip includes an MIT
LICENSEfor you to put your name in.
Once it runs where Toolproof can reach it, test it with Toolproof. To learn how AI systems like these are built, the free video series goes a step at a time, and the book explains a RAG pipeline chapter by chapter. Need a pipeline for your server to search? The RAG pipeline builder gives you one.