Glossary protocol/

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.

Published
Read
1 min
Source
Markdown
{
  "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 · MCP transport · Build an MCP server in TypeScript · Build an MCP server in Python · Security checklist for shipping an MCP server

MCP client, MCP host, MCP registry, MCP transport

Guides that cover MCP server

Sources

  1. Architecture overviewModel Context Protocol modelcontextprotocol.io
  2. Tools (specification version 2026-07-28)Model Context Protocol modelcontextprotocol.io
  3. Authorization (specification version 2026-07-28)Model Context Protocol modelcontextprotocol.io

Changelog

  • First published.

Cite this page

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