~ knotless Search/
↑↓ move↵ open⇧↵ all results
0
0
41 lines · 1.6 KB Raw History

title: Overview

Servers provide the fundamental building blocks for adding context to language models via MCP. These primitives enable rich interactions between clients, servers, and language models:

  • Prompts: Pre-defined templates or instructions that guide language model interactions
  • Resources: Structured data or content that provides additional context to the model
  • Tools: Executable functions that allow models to perform actions or retrieve information

Each primitive can be summarized in the following control hierarchy:

PrimitiveControlDescriptionExample
PromptsUser-controlledInteractive templates invoked by user choiceSlash commands, menu options
ResourcesApplication-controlledContextual data attached and managed by the clientFile contents, git history
ToolsModel-controlledFunctions exposed to the LLM to take actionsAPI POST requests, file writing

Explore these key primitives in more detail below:

<CardGroup cols={3}> <Card title="Prompts" icon="message" href="/specification/2026-07-28/server/prompts" /> <Card title="Resources" icon="file-lines" href="/specification/2026-07-28/server/resources" /> <Card title="Tools" icon="wrench" href="/specification/2026-07-28/server/tools" /> </CardGroup>