Model Context Protocol
Connecting AI applications to tools and data through MCP servers and clients.
Bookmark
Bookmarks are kept in your free account, so you can find this page again on any device.
Sign in to bookmarkOn this page
Overview
The Model Context Protocol is an open standard for connecting AI applications to external tools and data. An MCP server exposes tools, resources and prompts; any MCP-capable host, such as Claude, ChatGPT, Cursor or VS Code, can connect to it. You write an integration once and use it in many clients.
The skill covers using servers (adding them to a client, scoping credentials, reviewing what each tool can do) and building them with an SDK such as FastMCP or the official TypeScript and Python SDKs, choosing between local stdio and remote Streamable HTTP transports, and testing with MCP Inspector. Security is part of it: tool descriptions and outputs are untrusted input to the model.
What you will practise
- Add an MCP server to a client and scope its credentials
- Build a small server with an official SDK or FastMCP
- Test a server with MCP Inspector before shipping it
- Review tool descriptions and outputs as untrusted input
Learning 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
A free AI foundations course: the working vocabulary of modern AI, from prompting and structured output to retrieval, MCP, Agent Skills and prompt injection.
- 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.
Tutorials
- Build an MCP App: an interactive UI inside the chat
Add an interactive UI to a TypeScript MCP server with the MCP Apps SDK: a ui:// resource, a view that calls tools, a test in MCP Inspector and a text fallback.
- 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.
- 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.
- Build an MCP server in Python with FastMCP
Build a small MCP server in Python with FastMCP, test its tools in MCP Inspector without a model, then connect it to Claude Code, Cursor or another MCP host.
- 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.
- 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.
Workflow recipes
- Turn a Figma design into code with an agent
Connect the Figma MCP server, map the design's variables to your tokens first, build one frame, then run a visual diff and an axe check.
- Triage production errors with an agent
AI error triage with a coding agent: read errors over a read-only Sentry MCP connection, write a triage note, reproduce in a failing test, then fix behind it.
- Give your coding agent current docs with Context7 or llms.txt
Stop your coding agent using outdated APIs: connect Context7 over MCP, point it at a library's llms.txt, or install a vendor skill, then check it worked.
- Build an MCP server for an internal API
Two read-only tools, tested in MCP Inspector and called from Claude Code, Codex or Cursor.
Articles
- 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.
- Claude Code vs Codex vs Cursor
One task walked through in Claude Code, Codex and Cursor, plus where each runs, how it is priced, its skills and MCP support, and who each one suits.
- MCP config cheat sheet
Where Claude Code, Codex and Cursor keep MCP server config, with copyable JSON and TOML for local and remote servers, secrets, scopes and OAuth commands.
- 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.
- Migrate an MCP server from HTTP+SSE to Streamable HTTP
A migration guide for MCP server authors moving off the deprecated HTTP+SSE transport to Streamable HTTP as defined in the stateless 2026-07-28 specification.
- AGENTS.md vs Agent Skills: which one you need, and where MCP fits
AGENTS.md vs Agent Skills: what an instruction file and a skill each do for a coding agent, when to use which, and how MCP servers fit alongside both of them.
- Coding agents side by side: Claude Code, Codex and Cursor
The same task in Claude Code, Codex CLI and Cursor, in one table per topic: start, commands, instruction files, skill folders, MCP setup and permissions.
- 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.
Tools for this skill
9 of 16 tools tagged with this skill.
Agent Plugins
Package format for shipping Agent Skills and MCP servers together.
Chrome DevTools for agents
MCP server and CLI for agents to debug live Chrome.
Claude Agent SDK
Build agents on the same harness that powers Claude Code.
Context7
Serves current, version-specific library documentation to coding agents over MCP.
FastMCP
Pythonic framework for building MCP servers and clients with decorators.
Figma MCP server
Figma's MCP server for giving coding agents design context.
GitHub MCP Server
GitHub's official MCP server for repositories, issues and pull requests.
goose
Open-source local agent, now an Agentic AI Foundation project.
Gradio
Python library for web demos of ML models.
Key terms
Words you will meet while learning this, defined in the glossary.
- Elicitation (MCP)
An MCP feature that lets a server ask the user for more information during a request, through a form in the client or a link to a web page.
- MCP Apps
An official MCP extension that lets a tool return an interactive interface, such as a form or chart, shown in a sandboxed frame in the chat.
- MCP authorization
The part of the MCP specification that defines how clients obtain OAuth 2.1 access tokens for remote MCP servers over HTTP.
- MCP client
The component inside a host application that holds a connection to a single MCP server and relays messages to and from that server.
- MCP host
The AI application, such as a chat app, IDE or agent, that runs MCP clients and decides how server capabilities reach the model and the user.
- MCP prompt
A reusable prompt template offered by an MCP server, which users usually pick explicitly, for example as a slash command in chat.
- MCP resource
Data that an MCP server makes available by URI, such as a file, a database record or an API response, for the host to read into context.
- MCP tool
A function that a Model Context Protocol server exposes for a model to call, described by a name, a description and a JSON Schema for its input.
- Model Context Protocol (MCP)
An open protocol that lets AI apps reach external tools, data and prompts through small servers that each wrap one service.
- Sampling (MCP)
An MCP feature that lets a server ask the client's model to generate a response, so the server needs no model API key of its own.
- Streamable HTTP
The MCP transport for remote servers, using HTTP POST requests with optional streamed responses. It replaced the older HTTP+SSE transport.