Skip to content

Build MCP servers

Build a working MCP server in TypeScript or Python, publish it to the MCP Registry and check it against a security list.
6 lessons, about 1 h 6 min in all. Updated 19 November 2026.
Stage 4 of 4: Build

By the end, you'll build, test and publish an MCP server, and know the security mistakes to avoid.

Lessons, in order

Follow them in order, or jump to the one you need. Progress is saved in this browser only.
  1. 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. 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. 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. 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. 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. 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

Get the next lesson

New Academy lessons are announced in the weekly AI-Powered email.

Other paths