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.
{
"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
Related terms
MCP client, MCP host, MCP registry, MCP transport
Guides that cover MCP server
- Build an MCP server in Python with the official SDK
- Build an MCP server in TypeScript with the official SDK
- Claude Code MCP config: commands, scopes and managed settings
- Codex CLI MCP config: config.toml, servers and approvals
- How coding agents ask permission: approval modes by agent
- Grok Build MCP config: mcp.json, project vs global, and OAuth
- Debug an MCP server with MCP Inspector: web UI, CLI and CI
- Run a remote MCP server: Streamable HTTP, sessions and auth
Sources
Changelog
- 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 version: https://agentsfordevs.com/glossary/mcp-server.md
- Reuse: quote or summarize with a link to this page. Reuse terms