Learning path
MCP in production
An MCP course for production use: connect clients, build and test servers for a team, secure remote servers and keep up with changes to the MCP specification.
Bookmark
Bookmarks are kept in your free account, so you can find this page again on any device.
Sign in to bookmarkWhat you will be able to do
- Explain hosts, clients, servers, transports and the three server primitives
- Connect a remote MCP server to a coding agent and check which tools loaded
- Build an MCP server for an internal API with narrow, well-described tools
- Apply the specification's authorization and security guidance to a remote server
- Describe what the 2026-07-28 revision changed and what that means for your servers
Steps
Step 1: MCP explained: hosts, clients, servers and transports
What MCP is and how the Model Context Protocol connects AI apps to tools and data: hosts, clients, servers, transports and what the 2026-07-28 spec changed.
Step 2: Connect MCP servers to Claude Code, Codex and Cursor
Add local and remote MCP servers to Claude Code, Codex and Cursor, choose the right scope, sign in with OAuth and check which tools actually loaded.
Connect a remote server to your coding agent and check which tools loaded. The Context7 workflow is a quick real-world example.
Step 3: Build an MCP server in TypeScript
Build a small MCP server with the official TypeScript SDK v2, test it from the command line and in MCP Inspector, then connect it to Claude Code or Cursor.
The Python version of this tutorial covers the same ground if that is your stack.
Step 4: Build an MCP server for an internal API
Two read-only tools, tested in MCP Inspector and called from Claude Code, Codex or Cursor.
Step 5: Prompt injection basics for builders
How direct and indirect prompt injection work, why agents with tools raise the stakes, and the design choices that limit the damage when no complete fix exists.
Every tool result is untrusted input. Read this before you expose a server to other people.
Step 6: MCP security: tool poisoning, token scope and the lethal trifecta
The real attacks on MCP setups, from tool poisoning and rug pulls to token passthrough and the lethal trifecta, what hosts do about them, and a checklist.
Tool poisoning, token scope and the confused-deputy problem, with links to the MCP maintainers' own security guidance.
Step 7: MCP servers worth installing, checked
A short list of MCP servers worth installing for browsers, GitHub, docs and databases, with the access each one needs and the security settings to turn on.
Apply those risks to real servers: the access each widely used server needs and the read-only or isolated mode to turn on first.
Step 8: Secure a remote MCP server with OAuth
Protect a Streamable HTTP MCP server with OAuth 2.1 as the 2026-07-28 spec requires: resource metadata, audience checks, per-tool scopes and Inspector tests.
Put a server behind OAuth with scoped tokens, following the 2026-07-28 authorization spec.
Step 9: What changed in MCP 2026-07-28: a stateless protocol
The July 2026 MCP specification removes the handshake and sessions, adds server discovery and deprecates roots and sampling. What it means for you.
Finish here: what the latest revision changed and what to update in servers you run.
MCP in production quiz
7 questions with explanations. Your score is saved when you are signed in.
Final quiz
Related paths
Agents and MCP
An AI agents and MCP course for developers: build a tool-using agent with a clear stop condition, then expose your own data and actions with an MCP server.
AI foundations
The working vocabulary of modern AI, from prompting and structured output to retrieval, MCP, Agent Skills and prompt injection.
Production AI agents: approval, multi-agent and evals
For engineers moving past single-agent demos: add code-level approval gates, context isolation, multi-agent patterns and automated evals you can trust in CI.