D8: MCP Server Development
Claude Certified Developer – Foundations exam practice questions · 11 flashcards
Question
What is the Model Context Protocol (MCP)?
1 / 11
Tip: Space flips the card, ← / → navigate.
Show all 11 MCP Server Development practice questions and answers
- What is the Model Context Protocol (MCP)?An open standard for connecting AI applications to external tools and data through servers.
- What are the three MCP server primitives?Tools (actions the model calls), Resources (data the app can read) and Prompts (reusable templates).
- Who controls each MCP primitive?Tools: model-controlled. Resources: application-controlled. Prompts: user-controlled.
- What are MCP host, client and server?Host: the AI app. Client: connector inside the host, one per server. Server: exposes capabilities.
- What message format does MCP use?JSON-RPC 2.0.
- What is the stdio transport?The client launches the server as a local subprocess and talks via standard input/output.
- What transport is used for remote servers?HTTP-based transport (Streamable HTTP) over network sockets.
- stdio vs remote: when to use each?stdio for local, single-user tools; remote HTTP for shared, centrally deployed services.
- Which SDKs help author MCP servers?Official MCP SDKs, e.g. Python (FastMCP) and TypeScript.
- How do you add an MCP server to Claude Code?claude mcp add, or a project .mcp.json file to share with the team.
- How should remote MCP servers handle auth?Use proper authorization (e.g. OAuth) and least-privilege access.