MCP Studio
Learn MCP by building it. A free, open-source course where you build each piece of the Model Context Protocol in your browser, a server, then a client, then a host, one small step per screen. No setup, and no experience needed.
- MODEL
- None. You play the model in chapter 3
- LANGUAGE
- TypeScript · React
- FRAMEWORK
- Vite · MCP spec 2026-07-28
- TOOLS
- Python and Java downloads on the official MCP SDKs
- MEMORY
- Your browser only · progress saved in browser storage
- LICENSE
- MIT
- LAST PUSH
- 30 Nov 2026
- STARS
- ★ 1
Ask, pass it on, do the job, answer.
- 01 · PERSONTypes a request into an AI app
- 02 · HOSTThe AI app. Its model decides which tool to use
- 03 · CLIENTCarries the message to the server
- 04 · SERVERDoes the job
- 05 · ANSWERComes back the same way
MCP is how AI apps get new abilities, like checking the weather or reading your files. A person asks an AI app for something, the app passes the job to a helper, and the answer comes back the same way. That is all of MCP. The best way to understand it is to build each piece yourself, so that is what this course does.
You build a server first, then a client that talks to it, then a host, the AI app that holds the model and the client. A big picture button in the header shows how the pieces fit and marks the one you are building. Once chapter 1 is done, extras open up: add another tool, write a tool that fetches live weather, and connect your server to a real AI app.
Every message is a real request in the current MCP spec, 2026-07-28: stateless, with per-request _meta, server/discover and the Mcp-Method / Mcp-Name headers. There is no initialize handshake and no session. Your server runs in a Web Worker in the tab, with no AI model and no backend, so it costs nothing to run.
When you are done, download your server and client as small Python or Java projects on the official MCP SDKs. CI builds them, starts the servers and runs the clients against them, so the code you take away works.
- 01Build a serverThe helper that does something useful. Name it, add a tool, its inputs and its reply, then run it. Download it as Python or Java.
- 02Build a clientThe messenger that talks to your server. Send server/discover, tools/list and tools/call, learn to read a message, and see an error. Download it as Python or Java.
- 03Build a hostThe AI app that puts it all to work. Connect your server, play the model (choose a tool, fill its inputs, write the reply), then watch the whole trip.
- 04Real serversFive-step walkthroughs of a file server, a database server and a GitHub server, on sample data, each ending with how to use the real one. Open from the first screen.
git clone https://github.com/kagitha-dev/mcp-studio
cd mcp-studio
npm install
npm run dev -w @mcp-studio/web # http://localhost:5173