Which three primitives can an MCP server expose?
- Exam domain
- Model Context Protocol (MCP)
- Difficulty
- Easy
- In this mock
- 5 questions on this domainPractise this domain
Why B is the answer
Tools, resources and prompts
MCP servers expose tools (actions), resources (context data) and prompts (reusable templates). Clients discover each with a list method.
Remember: Tools, resources, prompts.
In detail
- Tools act, resources inform, prompts template.
- Clients list them before using them.
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. Models, embeddings and indexesWrong
Those are model and search concepts, not MCP primitives.
B. Tools, resources and promptsRight
Tools, resources, prompts.
C. Agents, teams and tasksWrong
Agents, teams and tasks are Select AI Agent terms.
D. Chains, parsers and retrieversWrong
Chains, parsers and retrievers are LangChain terms.
Use case
An illustrative scenario, not a real incident.
Illustrative: a database server exposes a query tool, the schema as a resource, and a prompt with example queries.
See it in different ways
mindmap
root(("MCP server"))
n1["Tools"]
n2["Actions"]
n3["Resources"]
n4["Context data"]
n5["Prompts"]
n6["Templates"]How to read this chart
- The centre is "MCP server".
- "Tools" covers "Actions".
- "Resources" covers "Context data".
- "Prompts" covers "Templates".
flowchart TD
Q{"What are you exposing?"}
Q -->|"An action"| A0["Tool"]
Q -->|"Read-only data"| A1["Resource"]
Q -->|"A reusable template"| A2["Prompt"]How to read this chart
- At "What are you exposing?": if "An action", go to "Tool"; if "Read-only data", go to "Resource"; if "A reusable template", go to "Prompt".