# What Is an MCP Server? Tools, Resources and Prompts

> Canonical: https://skillalmanac.com/learn/what-is-an-mcp-server | Updated: 2026-11-25 | Index status: index-eligible

An MCP server exposes tools, resources and prompts to an AI app over the Model Context Protocol. See how a single request moves through one.

## Facts

- 2026-11-25 current-source check: MCP is an open-source standard for connecting AI applications to external systems, including data sources, tools and workflows (https://modelcontextprotocol.io/docs/getting-started/intro)
- 2025-06-18 normative frame, verified 2026-11-25: tools are designed to be model-controlled, implementations may choose their interface, and applications should keep a human able to deny invocations (https://modelcontextprotocol.io/specification/2025-06-18/server/tools)
- 2025-06-18 normative frame, verified 2026-11-25: clients discover tools with tools/list and invoke them with tools/call; name, description and inputSchema are defined fields, while title, outputSchema and annotations are optional (https://modelcontextprotocol.io/specification/2025-06-18/server/tools)
- 2025-06-18 normative frame, verified 2026-11-25: JSON-RPC protocol errors cover problems such as unknown tools and malformed requests, while actionable execution failures can be returned as tool results with isError set to true (https://modelcontextprotocol.io/specification/2025-06-18/server/tools)
- 2025-06-18 normative frame, verified 2026-11-25: resources are URI-identified, application-driven context; parameterized resources are exposed separately as URI templates (https://modelcontextprotocol.io/specification/2025-06-18/server/resources)
- 2025-06-18 normative frame, verified 2026-11-25: prompts are designed to be user-controlled, while the protocol does not mandate a particular interface; clients use prompts/list and prompts/get (https://modelcontextprotocol.io/specification/2025-06-18/server/prompts)
- 2026-11-25 current-source check for protocol revision 2026-07-28: MCP is stateless, requests carry version and capability metadata, and clients may call server/discover to fetch supported versions, identity and capabilities (https://modelcontextprotocol.io/docs/2026-07-28/learn/architecture)

An MCP server is a program that makes tools, resources and prompts available to an AI application through the Model Context Protocol, an open standard for connecting AI applications to external systems. The application reaches the server through an MCP client, and compatible clients can reuse the server when they support its protocol revision, transport and capabilities.

## The three server primitives

| Primitive | What it is | Who drives it (per the spec) | Typical example |
|---|---|---|---|
| Tools | Named functions with a JSON Schema for inputs | Model-controlled: the model picks a tool from context | Query a database, call a weather API |
| Resources | Data identified by a URI | Application-driven: the host app decides what to include | A file at `file:///...`, a database schema |
| Prompts | Reusable prompt templates with arguments | User-controlled: the spec says prompts are meant for the user to select, often as slash commands | A "code review" template that takes a `code` argument |

Tools are the primitive most people mean when they say an MCP server "does something." Resources provide URI-addressed context retrieved with `resources/read`; resource templates describe parameterized URI patterns. Choosing between primitives is a design decision: use a tool for a model-invoked action or computation, a resource when the application should retrieve URI-addressed context, and a prompt when the user should explicitly select a server-authored interaction template.

## How one request moves through a server

Assume a weather server is connected to an assistant, and the user asks "What is the weather in New York?"

1. The client sends `tools/list`. The server returns each tool with its `name`, `description` and `inputSchema`. For example, `get_weather` takes a required string field `location`.
2. The model reads the descriptions and decides `get_weather` fits. It produces arguments such as `{"location": "New York"}`.
3. The client sends `tools/call` with the tool name and those arguments. Before sending, a client that follows the spec should show the user the inputs and, for sensitive operations, ask for confirmation.
4. The server runs the logic and returns `content`, for example a text item describing the weather, with `isError: false`.
5. The client passes that result back to the model, which writes the answer.

If the server could not reach its weather API, step 4 would return `isError: true` with a text message. The model then sees a failure and can say so, instead of inventing weather data.

## What an MCP server is not

- It is not a model. It supplies capabilities; the AI app supplies the reasoning.
- It is not a skill. A skill is a packaged set of instructions and files that shapes how a model works. An MCP server gives the model live access to systems.
- It is not automatically safe. The spec says servers must validate tool inputs, apply access controls, rate limit calls and sanitize outputs.

## Pitfalls

1. **The model calls the wrong tool.** Symptom: a search tool runs when you wanted a lookup. Cause: vague descriptions that overlap. Fix: name each tool for one action and state when not to use it in the description.
2. **Failures look like successes.** Symptom: the model reports a result that is actually an error message. Cause: the server returns an ordinary successful tool result for a failed execution. Fix: use a tool result with `isError: true` for actionable execution, domain-validation or upstream failures. Use JSON-RPC errors for protocol-level problems such as an unknown tool or a malformed `tools/call` request.
3. **Expecting resources to load automatically.** Symptom: the model never sees a file you exposed. Cause: resources are application-driven, so the host must include them. Fix: check whether your client has a resource picker or inclusion rule, or move the data behind a tool.
4. **Trusting tool annotations.** The spec says clients must treat annotations as untrusted unless they come from a trusted server. Do not auto-approve a tool because its metadata says it is read-only.
5. **Unbounded outputs.** A tool that returns a whole table floods the context window. Fix: cap result size and return pagination details the model can use.

## When to use a skill instead

The primitive definitions and request examples above follow the normative 2025-06-18 specification named in their URLs. The current architecture checked on 2026-11-25 describes protocol revision 2026-07-28 instead: requests carry version and capability metadata, and clients may use `server/discover` rather than the 2025 connection-initialization sequence. An MCP server is useful when an application needs protocol-accessible actions, context or prompt templates from another program. For designing that server, a reusable skill can help because tool schemas, error contracts and transport choices recur across implementations. [mcp-server-builder](/skills/skill-almanac/mcp-server-builder) is a related skill on this site that reviews and designs an MCP server against those rules, covering tool versus resource versus prompt choice and stdio versus HTTP transport. If you only need to ask a model about a document you already have, you do not need a server at all; paste the text or attach the file.

## FAQ

**What is an MCP server in simple terms?**
It is a service that gives an AI app a standard set of tools, resources and prompts it can use. The app connects to it instead of needing a custom integration for each system.

**Is an MCP server the same as an API?**
No. An API is a general interface for software. An MCP server speaks MCP so a compatible client can discover supported primitives at runtime. Tools are designed to be model-controlled, but the host application determines how they are surfaced, approved and routed. A server can wrap an API internally.

**Can I see an MCP server example?**
Yes. The 2025-06-18 tools page shows a `get_weather` tool with a `location` input and a sample `tools/call` response, which is the explanatory trace described above. The official introduction names example MCP-capable applications, but actual compatibility depends on the protocol revision, transport and capabilities each application supports.

## Related skills

- [mcp-server-builder](https://skillalmanac.com/skills/skill-almanac/mcp-server-builder.md): Platform Score 56/100 (provisional)

## Related guides

- [Claude skills vs MCP vs plugins: what each one is for](https://skillalmanac.com/learn/skills-vs-mcp-vs-plugins.md)
- [MCP Tools, Resources, and Prompts: Which to Use](https://skillalmanac.com/learn/mcp-tools-resources-prompts.md)
- [MCP vs API: When an Agent Needs an MCP Server](https://skillalmanac.com/learn/mcp-vs-api.md)
- [What Does MCP Stand For? Model Context Protocol Explained](https://skillalmanac.com/learn/what-does-mcp-stand-for.md)
- [Debug an MCP Server with MCP Inspector](https://skillalmanac.com/learn/debug-an-mcp-server-with-inspector.md)

## Sources

- https://modelcontextprotocol.io/docs/getting-started/intro
- https://modelcontextprotocol.io/specification/2025-06-18/server/tools
- https://modelcontextprotocol.io/specification/2025-06-18/server/resources
- https://modelcontextprotocol.io/specification/2025-06-18/server/prompts
- https://modelcontextprotocol.io/docs/2026-07-28/learn/architecture

Platform Scores report our assessment under a published method. They are not a safety guarantee.
