Building MCP Servers
Build, test and deploy MCP servers that expose agent-friendly tools and resources over stdio and Streamable HTTP, with OAuth-based authorization for remote access.
4 objectives 6 steps about 120 min
Learn it step by step
Read the lessons in order, try the practice checks, then prove the skill with the knowledge check.
This skill page is a public outline. Its lessons and knowledge check appear here as subject-matter experts approve them.
Learning objectives
- Implement an MCP server with an official SDK that exposes tools with input and output schemas, plus at least one resource.
- Test a server with the MCP Inspector and automated contract tests covering tool schemas, results and error cases.
- Deploy a remote server over Streamable HTTP that publishes protected resource metadata and accepts only access tokens issued for its own audience.
- Design server tools for agents: a few task-level tools with concise, paginated, deterministically ordered output instead of one tool per API endpoint.
Lesson plan
6 steps, about 120 min · 5 of 5 lessons available so far
- A First Server with an Official SDK Worked example · 20 min
- Designing Tools for Agents, Not for APIs Concept · 15 min
- Lab: Wrap a REST API as an MCP Server Lab · 30 min
- Contract Tests and the Inspector Lab · 20 min
- Remote Deployment with OAuth Authorization Worked example · 25 min
- Check: Server Design Review Knowledge check · 8 questions
Practise it
Wrap a small issue-tracker REST API as an MCP server with four task-level tools and one resource, cover it with contract tests, deploy it over Streamable HTTP behind OAuth token validation, and connect it to two different MCP hosts.
References
Hard prerequisites
Unlocks
Nothing depends on this skill yet.
On these roadmaps
Progress and evidence for this skill are shared across all of them.