---
title: "MCP server"
description: "An MCP server is a program that provides context to AI applications over the Model Context Protocol, exposing tools, resources and prompts that a connected MCP client can discover and use."
canonical: "https://agentdrive.sh/glossary/mcp-server"
---
# MCP server

> For the complete documentation index, see [llms.txt](https://agentdrive.sh/llms.txt). Every docs page is also served as markdown at its URL plus `.md`, and the full docs are in one file at [llms-full.txt](https://agentdrive.sh/llms-full.txt).

> An MCP server is a program that provides context to AI applications over the Model Context Protocol, exposing tools, resources and prompts that a connected MCP client can discover and use.

Source: https://agentdrive.sh/glossary/mcp-server. Part of the AgentDrive glossary: https://agentdrive.sh/glossary.

The term covers the program wherever it runs. A local server is usually launched by the host on the same machine and talks over stdio; a remote server runs on a service, uses Streamable HTTP and typically serves many clients. Clients discover a server's tools with `tools/list` and run one with `tools/call`. This design allows listings to be dynamic, and a server can notify clients when its tool list changes.

## In AgentDrive

AgentDrive ships an MCP server with 22 tools (18 stable plus 4 experimental sandbox tools) for versioned files, semantic search, run logs, sharing and session resume. It is published on npm as `@adrive/mcp-server` and listed in the MCP Registry as `sh.agentdrive/agentdrive`.

## Related terms

- [Model Context Protocol (MCP)](https://agentdrive.sh/glossary/mcp/index.md): The Model Context Protocol (MCP) is an open-source standard for connecting AI applications to external systems such as data sources, tools and workflows.
- [Principal (AgentDrive)](https://agentdrive.sh/glossary/principal/index.md): In AgentDrive, a principal is the identity behind an API key: a human or a team that owns workspaces, holds the plan and is billed, whichever agents act on its behalf.
- [Cross-agent resume](https://agentdrive.sh/glossary/cross-agent-resume/index.md): Cross-agent resume is continuing a coding task in a different coding agent from the one that started it, by loading the earlier session instead of explaining the task again.

## Go deeper

- [MCP tools reference](https://agentdrive.sh/docs/mcp-tools)
- [AgentDrive vs the Filesystem MCP server](https://agentdrive.sh/compare/filesystem-mcp)
- [Quick start](https://agentdrive.sh/docs/quick-start)

## Official source

- [modelcontextprotocol.io: Architecture overview](https://modelcontextprotocol.io/docs/learn/architecture)

