Advanced MCP: remote server, OAuth, Streamable HTTP, Registry
Build a remote MCP server: move from stdio to Streamable HTTP, add OAuth tokens, progress and elicitation, and prepare it for the MCP Registry.
- Claude API
- 7 days
- advanced
- 7 lessons
- about 3 hours
Free and self-paced. Every lesson is open to everyone.
Start with lesson 1What you will do
For people who finished MCP for beginners. In seven days you connect a remote server to Claude Code, learn what the Claude API MCP connector needs, report progress, ask users questions with elicitation, test the security checks, and learn which features are deprecated: sampling, roots and logging. The exercises run on your own computer and need no API key; Claude Code needs a paid Claude plan or a Console account.
How this course works
The course is free and you go at your own pace. Each lesson is short: a bit of reading and a few small tasks you do in the tool itself, so you learn by using it. Every lesson is open to everyone, no account needed. A free account saves your progress, so you can pick up where you left off on any device. What the account stores and how to get it removed is on the privacy page.
Syllabus
- Day 1, 25 minutes Run a remote MCP server over Streamable HTTP Move Romy's MCP server from stdio to Streamable HTTP on localhost and call its tools over HTTP with the MCP Inspector CLI.
- Day 2, 25 minutes Connect a remote MCP server to Claude Code and the API Add Romy's remote MCP server to Claude Code with one command, use its tool, and plan what the Claude API MCP connector needs to reach it.
- Day 3, 30 minutes Secure a remote MCP server with OAuth access tokens Explain the OAuth roles and discovery steps in MCP, then protect a copy of Romy's server so it only answers requests with a valid access token.
- Day 4, 25 minutes Send MCP progress notifications from a slow tool Add a slow stocktake tool that sends MCP progress notifications, and read them in a small Python client while the tool runs.
- Day 5, 30 minutes Ask users with MCP elicitation, and skip sampling and roots Add a tool that asks the user a question halfway through with elicitation, and know which MCP features are deprecated and what replaces them.
- Day 6, 30 minutes Defend an MCP server against DNS rebinding and common attacks Name the main attacks on MCP servers and their fixes, test the DNS rebinding guard of Romy's server and write a security review for it.
- Day 7, 25 minutes Prepare an MCP server for the MCP Registry with server.json Search the official MCP Registry, write a server.json and the README mcp-name marker for Romy's server, and list the steps to publish a real one.