- An MCP server exposes tools, resources, or prompts to a compatible host.
- It can run locally over stdio or remotely over Streamable HTTP.
- Production readiness includes schemas, authorization, timeouts, and bounded telemetry.
An MCP server is a program that makes tools, resources, or prompt templates available to an AI application through the Model Context Protocol. The server does not have to be a large hosted service. It can be a local process started over standard input and output, or a remote service reached over HTTP. Its job is to expose a clear, permissioned interface that a compatible client can discover and use.
What an MCP server does
During initialization, an MCP server identifies itself, agrees on a protocol version with the client, and declares the capabilities it supports. After that handshake, it can list and serve the primitives it has implemented. A calendar server might expose tools for creating events and resources for reading calendars. A code server might expose repository resources and tools for running a search.
- Tools are callable functions that can retrieve information or take an action.
- Resources are addressable data that an application can attach as context.
- Prompts are reusable templates that a user can choose in a compatible client.
- Notifications can tell a client that a tool, resource, or prompt catalog has changed.
MCP server versus API
An MCP server can call existing APIs, databases, filesystems, or internal services. MCP is the interface presented to an AI application, not a requirement to replace every backend API. A well-designed server maps a small set of useful, safe capabilities onto existing systems and keeps authorization, validation, and failure behavior explicit.
Local and remote MCP servers
A local server commonly runs as a child process and communicates over stdio. A remote server uses an HTTP transport and can be deployed like another service. The deployment choice affects authentication, scaling, secrets, networking, and how a team monitors the server, but both forms share the same protocol concepts.
What to check before production
- Every tool has a precise name, description, input schema, and safe error path.
- Destructive actions require an intentional authorization boundary and useful audit metadata.
- The server has timeouts, bounded work, structured logs, and a clear shutdown behavior.
- Telemetry is minimized and redacted before sensitive arguments or results leave the process.
- You can tell whether a successful transport response contained a tool-level error.
TrackMCP helps server teams measure the boundary they own: client connections, catalog and tool usage, observed latency, server-side errors, sessions, and explicit workflow outcomes when those signals are emitted. It does not expose private model reasoning or every event in the host application.
Does an MCP server contain the AI model?
Usually no. An MCP server provides capabilities to a host application. The host typically owns the model interaction and creates a client connection to the server.
Can an MCP server be local?
Yes. A local MCP server can run as a process connected over stdio. Remote servers can use an HTTP transport and apply their own authentication and deployment controls.
About the publisher
TrackMCP, also written Track MCP
TrackMCP helps teams understand which clients connect to their MCP servers, which tools agents use, and where workflows fail. Learn more about Track MCP.
See this on your own server
TrackMCP turns your MCP server's calls into adoption, workflows, and outcomes. One line to install.