Build MCP servers
By the end, you'll build, test and publish an MCP server, and know the security mistakes to avoid.
Lessons, in order
- 1
Build your first MCP server in TypeScript or Python
A minimal working MCP server with one tool, in TypeScript and in Python, tested with the MCP Inspector and connected to Claude. Code we ran on 19 November 2026.
About 15 min
- 2
Migrate your MCP server to the 2026-07-28 spec
What changed in the stateless 2026-07-28 MCP spec - no initialize or session ID, routing headers, multi round-trip requests, CIMD - and how to migrate.
About 10 min
- 3
MCP server security checklist
A checklist for building a safe MCP server, from the MCP security best practices - tokens, OAuth proxies, SSRF, local servers, scopes and tool design.
About 12 min
- 4
How to publish an MCP server to the MCP Registry
Publish your MCP server to the official MCP Registry with mcp-publisher, server.json and namespace verification, for npm, PyPI and remote servers.
About 10 min
- 5
Remote MCP servers and sign-in: OAuth, CIMD and enterprise login
How sign-in works for a remote MCP server under the 2026-07-28 spec - OAuth, CIMD instead of DCR, issuer checks, token audience and enterprise-managed access.
About 10 min
- 6
Prompt injection for MCP builders: design tools that fail safe
How your MCP server's tools can carry prompt injection into an AI app, and design patterns that limit the damage - separate read and write, hints, sandboxing.
About 9 min