Skip to content
Claude Certified Developer – Foundations (CCDV-F) Exam Prep

Lesson 19 of 25 · 7 min

x
19/25

MCP Server Development

Video lesson: CCDV-F 19/25: MCP Server Development (Domain 8, 2.1%)

Official scope (Exam Guide v1.0): authoring, deployment, integration, resources/tools/prompts, communication patterns (stdio, sockets, client vs server). Low weight: know the model, not the wire format.

Roles

Host (the AI application, such as Claude Code or Claude Desktop) creates one client per server connection. A host with four servers holds four clients. "Server" means the program providing context, local or remote.

Two layers

  • Data layer: JSON-RPC 2.0 messages: discovery, primitives, notifications.
  • Transport layer: connection, framing, authentication.

Transports

TransportWhereNotes
stdioLocal process started by the hostUsually one client; no network overhead
Streamable HTTPRemote serverHTTP POST for client→server, optional SSE for streaming; many clients; bearer tokens, API keys or custom headers; OAuth recommended

"Sockets" in the exam wording maps to network transport (Streamable HTTP over TCP) versus local stdio; MCP defines only these two standard transports.

Server primitives

PrimitiveWhatControlled by (design guidance)
ToolsActions the model can invoke (tools/call)Model
ResourcesContext data to read (file contents, records, schemas)Application
PromptsReusable templates (system prompts, few-shot examples)User

Clients discover with */list, so listings are dynamic.

Client features and the current spec (verified, protocol 2026-07-28)

  • Elicitation: a server asks the user for input or confirmation.
  • Sampling and logging are deprecated; new servers call model APIs directly and log to stderr or OpenTelemetry.
  • Stateless: every request carries protocol version and capabilities in _meta; optional server/discover returns versions, capabilities and identity.
  • Notifications are opt-in (subscriptions/listen) and best effort; clients should still poll.

Building and deploying (design guidance, verified tools)

Define primitives with clear names and descriptions (tool design rules from 8.1 apply), implement handlers with an MCP SDK, choose a transport, test with the MCP Inspector, then connect from a host. Deploy locally over stdio, or host over Streamable HTTP with authentication for many users.

Integration

Claude Code and the Agent SDK connect to configured servers (project .mcp.json or user config) and expose their tools as mcp__<server>__<tool>. The Messages API can reach remote servers through the MCP connector (server tool). Many tools cost context; tool search and progressive discovery help.

Exam traps

  • Resource vs tool confusion (read-only context is a resource).
  • stdio for a shared remote server, or HTTP for a local single-user tool.
  • New server using sampling (deprecated).
  • Trusting notifications as guaranteed delivery.

References

  1. MCP architecture overview — checked Oct 16, 2026
  2. MCP in Claude Code — checked Oct 16, 2026
  3. MCP connector — checked Oct 16, 2026

Check your understanding

  • Let the model read a database schema but not change it. Primitive?Show answer

    Answer

    Resource (or a read-only tool).
  • Local filesystem server for one desktop app. Transport?Show answer

    Answer

    stdio.
  • Remote server for many clients needing auth. Transport and auth?Show answer

    Answer

    Streamable HTTP; OAuth recommended.
  • Why poll even after subscribing to change notifications?Show answer

    Answer

    Notifications are best effort.
Previous

Progress is saved in this browser.

Next Lesson