---
title: What is an MCP server?
type: glossary
url: https://agentsfordevs.com/glossary/mcp-server
markdown: https://agentsfordevs.com/glossary/mcp-server.md
publisher: Agents for Devs
author: Agents for Devs desk
reviewed_by: Agents for Devs desk
published: 2026-12-06
updated: 2026-12-06
license: https://agentsfordevs.com/reuse
citation: Agents for Devs. "What is an MCP server?." Published Dec 6, 2026. https://agentsfordevs.com/glossary/mcp-server
attribution: Credit Agents for Devs and link to https://agentsfordevs.com/glossary/mcp-server
term: MCP server
aliases: []
---

# What is an MCP server?

An MCP server is a program that exposes tools, resources and prompts to MCP clients, running either as a local subprocess over stdio or as a remote service over Streamable HTTP.

**Definition:** An MCP server is a program that exposes tools, resources and prompts to MCP clients, running either as a local subprocess over stdio or as a remote service over Streamable HTTP.

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "resultType": "complete",
    "tools": [{
      "name": "get_weather",
      "description": "Get current weather information for a location",
      "inputSchema": {
        "type": "object",
        "properties": { "location": { "type": "string" } },
        "required": ["location"]
      }
    }]
  }
}
```

That is a server answering `tools/list` under spec version 2026-07-28. The MCP docs define a server as "a program that provides context to MCP clients." It can expose tools the model runs with `tools/call`, resources read with `resources/read` and prompts fetched with `prompts/get`. Every server must also answer `server/discover`, which reports its supported versions and capabilities.

"Server" says nothing about location. A local server is launched by the client and speaks stdio, taking credentials from its environment. A remote one is deployed like any HTTP service, speaks Streamable HTTP and can put OAuth in front of its tools.

The tools spec gives every server four duties: validate all tool inputs, implement access controls, rate limit invocations and sanitize outputs. The protocol can't verify any of them for you.

**See also:** [MCP client](/glossary/mcp-client) · [MCP transport](/glossary/mcp-transport) · [Build an MCP server in TypeScript](/guides/build-mcp-server-typescript) · [Build an MCP server in Python](/guides/build-mcp-server-python) · [Security checklist for shipping an MCP server](/guides/mcp-server-security-checklist)

## Sources

1. [Architecture overview, Model Context Protocol](https://modelcontextprotocol.io/docs/learn/architecture)
2. [Tools (specification version 2026-07-28), Model Context Protocol](https://modelcontextprotocol.io/specification/2026-07-28/server/tools)
3. [Authorization (specification version 2026-07-28), Model Context Protocol](https://modelcontextprotocol.io/specification/2026-07-28/basic/authorization)

## Changelog

- 2026-12-06: First published.

## Cite this page

Agents for Devs. "What is an MCP server?." Published Dec 6, 2026. https://agentsfordevs.com/glossary/mcp-server

- Page: https://agentsfordevs.com/glossary/mcp-server
- Markdown: https://agentsfordevs.com/glossary/mcp-server.md
- Reuse: quote or summarize with a link to the page. Terms: https://agentsfordevs.com/reuse
