StaffCoder
MCP

MCP Practice Exercises

Linux CLI
1 module · 5 challengesSign up
Module 1 of 1 · 5 challenges

Server Tools, Resources & Prompts

Learn how to expose an existing system over MCP so an agent can use it, serving tools, resources and prompts with error semantics a model can recover from.
Finish every challenge, or complete the star challenge, to complete the module.

Challenges

5 challenges

Tool Definitions And Handlers

Sign up to unlock
75%3 of 4 solvedeasy
About this challenge

Expose four working support-desk functions as MCP tools a client can list and call.

Solved in a browser IDE and graded by tests. Sign up to solve

Resource Definitions

Sign up to unlock
100%1 of 1 solvedeasy
About this challenge

Publish the desk's rulebook, vocabulary, counts and tickets as MCP resources and templates.

Solved in a browser IDE and graded by tests. Sign up to solve

Prompt Definitions

Sign up to unlock
100%1 of 1 solvedeasy
About this challenge

Publish the desk's triage, reply and handover instructions as MCP prompts with declared arguments.

Solved in a browser IDE and graded by tests. Sign up to solve

Error Semantics

Sign up to unlock
100%1 of 1 solvedeasy
About this challenge

Split protocol errors from tool execution errors so a model can correct its own mistakes.

Solved in a browser IDE and graded by tests. Sign up to solve

Server Under Agent Fire

STAR
Solving it completes the module
50%1 of 2 solvedeasy
About this challenge

Serve tools, resources, templates and prompts from one server that a scripted agent cannot break.

Solved in a browser IDE and graded by tests. Sign up to solve

About this path

Learn MCP as the standard way to connect AI apps to tools and data, from basic tools, resources, and prompts to transports, authorization, security, and production troubleshooting.

Frequently asked questions

4

What will I practice in this path?

1 module: Server Tools, Resources & Prompts.

How many MCP exercises are there, and how hard are they?

5 exercises, all easy.

What does this path run on?

Challenges run on Linux CLI.

Do I need to install anything?

No. Every challenge runs in a browser-based IDE with everything already set up, and your code is graded automatically against a test suite.

We use cookies that are necessary to run Staffcoder, and optional analytics cookies to see which pages get used. Analytics stays off unless you accept. Read our Cookie Policy.