Build a Full MCP Server and Connect Claude as a Client
Build a complete Model Context Protocol server exposing tools, resources, and prompts, then connect Claude to it as an MCP client. Handle project-vs-user configuration with env-var secrets, and design token-efficient tool results with pagination so large outputs do not blow the context. Submit a single script or notebook for instant, rubric-based feedback.
3 hrs
Est. time
4
Outcomes
6
Rubric criteria
65%
Pass score
What you'll learn
Skills you'll have real reps in after shipping this.
See how it works
The MCP surface
An MCP server publishes tools, resources, and prompts. A client lists them and calls in, with configuration and secrets supplied at the boundary.
Token-efficient results
A tool that returns an entire dataset floods the context. Pagination and limits keep each result small enough for the agent to use.
The scenario
Your team wants to expose an internal system (a docs store, a ticketing API) to Claude through MCP so any client can use it. The first attempt exposed three tools and nothing else, returned entire 50-kilobyte documents in a single tool result that swamped the context, and hardcoded the credentials.
You are going to build the server properly: tools, resources, and prompts, consumed by Claude as a real MCP client, configured at the right level with secrets from the environment, and returning results that are paginated and trimmed so they stay token-efficient.
Your role
You are a Claude solutions architect building an MCP integration end to end. Your deliverable is one module with a complete MCP server, a Claude client that consumes it, correct configuration, and token-efficient result design.
Start the task to unlock the full brief
You'll get the step-by-step requirements, setup commands, the 6-criterion grading rubric, tips, and the ability to submit your solution for instant AI grading.
Free to start · submit when you're ready
Learning resources
What you'll build in this MCP server suite task
This is a build-and-submit task, not a guided lab. You build a complete Model Context Protocol integration: a server exposing tools, resources, and prompts, consumed by Claude as a real MCP client, configured at the right level with secrets from the environment. The deliverable is one Python module that shows the full protocol surface working end to end.
The depth here is what production MCP integrations actually require. You expose more than tools, you drive the client side rather than assuming it, you separate project from user configuration, and, critically, you design tool results to be token-efficient with pagination and limits so a single large response cannot swamp the context window and degrade the agent.
Grading is rubric-based and explainable. Your submission is scored against weighted criteria (SDK setup, the full server surface, the client, configuration levels, token-efficient results, and the demonstration) with per-criterion feedback quoted from your code. The pass threshold is 65 percent and you can resubmit. These are the MCP integration skills the Claude Certified Architect exam tests.