GLOSSARY

MCP server

An MCP server is a program that gives AI applications tools, resources and prompts over the Model Context Protocol. Definition, example and security notes.

Short answer

An MCP server is a program that provides context and actions to AI applications through the Model Context Protocol (MCP), an open standard for connecting AI applications to external systems. It exposes tools, resources and prompts, and runs either locally over stdio or remotely over Streamable HTTP. Claude Code, Codex and many editors act as MCP hosts that connect to servers.

An MCP server is a program that provides context to AI applications using the Model Context Protocol (MCP). The MCP documentation defines MCP as "an open-source standard for connecting AI applications to external systems" and an MCP server simply as "a program that provides context to MCP clients."

How does MCP fit together?

MCP has three participants:

  • MCP host: the AI application, such as Claude Code or Claude Desktop, that coordinates one or more clients.
  • MCP client: a component inside the host that keeps a dedicated connection to one server.
  • MCP server: the program that serves context, locally or remotely.

A server can expose three core primitives:

Servers talk to clients over two transports: stdio for local servers running on the same machine, and Streamable HTTP for remote servers, which supports standard HTTP authentication and recommends OAuth.

Example

A local filesystem server launched by the host over stdio lets the agent read and write files in allowed directories. A remote server such as Sentry's official MCP server runs on the vendor's platform and serves many clients over Streamable HTTP. In Claude Code, you can run /mcp to see configured servers and disable ones you are not using.

# inside a Claude Code session
/mcp

Security and permissions

Every MCP tool is code you let the agent call, and every tool result is text the model reads. That makes MCP servers a path for prompt injection and for actions with real side effects, such as writing to a ticketing system or a database. Claude Code supports permission rules for MCP tools, and its sandbox covers shell commands only: MCP servers run outside it.

Practical habits: install servers from sources you trust, keep the scopes and tokens you give them narrow, and keep permission prompts on for tools that write or send data. Allowbar, a Mac menu bar app for Claude Code and Codex, helps with the prompt side: it shows permission requests with the exact command and Allow, Block and Terminal buttons, and never approves on its own.

The Claude Code docs also note that CLI tools like gh can be more context-efficient than MCP servers, so not every integration needs one.

Sources

Frequently asked questions

What is the difference between an MCP server and an MCP client?

The server is the program that provides tools, resources and prompts. The client is the component inside an AI application that keeps a connection to one server; the application (the host) creates one client per server.

Is an MCP server local or remote?

Either. Local servers usually use the stdio transport and serve one client on the same machine. Remote servers use Streamable HTTP and typically serve many clients.

Are MCP servers safe?

They are as safe as the code and data behind them. Treat each server like a dependency with access to your agent: install from trusted sources, limit its credentials, and review tool calls that write or send data.

ALLOWBAR FOR MAC

Answer your agents from the menu bar.

Permission requests from Claude Code and Codex slide down from the top of your screen. Allow, Block or send back to the terminal. Allowbar never approves anything on its own.

Launch price $9.99 instead of $29.90, one-time purchase, lifetime license.