The Model Context Protocol (MCP) is an open standard for connecting AI applications to external systems. Write one MCP server for your CRM, database or internal API, and it can be used from Claude, ChatGPT, IDE assistants and custom agents that support the protocol. This course shows how to design and build MCP servers that models can use well, that respect permissions, and that are safe to expose to your team or customers.
What you'll learn
- What MCP is, how clients, hosts and servers fit together, and where it is supported
- The building blocks: tools, resources and prompts, and when to use each
- Building a server with the official TypeScript or Python SDK
- Designing tools a model can use well: names, descriptions, schemas and helpful errors
- Local (stdio) versus remote (HTTP) servers and how to choose
- Authentication and authorisation for remote servers, including OAuth flows
- Returning the right amount of data: pagination, filtering and keeping context small
- Security: least privilege, confirmation for risky actions and prompt injection through tool results
- Testing servers with the MCP Inspector and real clients
- Deploying, versioning and monitoring servers in production
Who it's for
- Developers who want their product or internal systems to work with AI assistants
- Platform and integration engineers building AI access to company data
- Agent builders who want reusable, standard integrations instead of one-off tool code
Prerequisites
- Comfortable with TypeScript or Python
- Experience building or consuming REST APIs
- Familiarity with tool calling helps; AI Agents and Agentic Workflows is a good companion
Outcomes
By the end of this course you will be able to:
- Build an MCP server that exposes tools and resources from a real system.
- Design tools that models call correctly and recover from errors.
- Secure a remote server with proper authentication and scoped permissions.
- Test, deploy and maintain MCP servers that your team can rely on.
Projects you'll build
- Local database server - A stdio MCP server that lets an assistant query a read-only copy of a Postgres or SQLite database through a few well-described tools, with row limits and clear error messages.
- REST API wrapper - Wrap an existing internal or public REST API as MCP tools and resources, adding pagination and filtering so responses stay small enough for the model's context.
- Remote server with OAuth - Deploy a Streamable HTTP server that requires OAuth sign-in, scopes each tool to the user's permissions and asks for confirmation before write actions.
Tools you'll use
- The official MCP TypeScript SDK and Python SDK (including FastMCP)
- MCP Inspector for interactive testing
- Claude Desktop, Claude Code, VS Code and other MCP-capable clients
- Zod or Pydantic for tool input schemas
- Docker and Cloudflare Workers or a small VPS for hosting remote servers
Course outline
| Module | Topic |
|---|---|
| 1 | MCP architecture: hosts, clients and servers |
| 2 | Your first server with the official SDK |
| 3 | Tools: schemas, descriptions and errors |
| 4 | Resources and prompts |
| 5 | Wrapping an existing REST API or database |
| 6 | Local and remote transports |
| 7 | Authentication and authorisation |
| 8 | Context-efficient responses |
| 9 | Security and prompt injection |
| 10 | Testing with the Inspector and real clients |
| 11 | Deployment, versioning and monitoring |
| 12 | Project: an MCP server for a business system |
FAQ
Is MCP tied to one AI company?
No. It was introduced by Anthropic as an open protocol and is now supported by many AI applications and developer tools from different vendors.
Should I use MCP or plain tool calling in my app?
If only your own application uses the integration, direct tool calling may be simpler. MCP pays off when several clients or agents need the same tools. We cover both.
Can I expose an MCP server to customers?
Yes, with care. Remote servers need real authentication, rate limits and clear permission scopes, which take up a large part of the course.
What mistake do first MCP servers usually make?
Exposing one tool per API endpoint. Models then face dozens of similar tools and pick the wrong one. Fewer, task-shaped tools with precise descriptions and compact outputs work far better, and we practise redesigning a naive server into that shape.
How do I join?
Get in touch and we'll share the current format, schedule and enrolment details.