# MCP server

> A program that offers tools, resources or prompts to an AI application over the Model Context Protocol, locally over stdio or remotely over HTTP.

_Updated November 23, 2026_

A local server is a command the agent starts (`npx some-mcp-server`), talking over standard input and output. A remote server is a URL the agent calls over HTTP, often with OAuth.

Most agents add one with a command: `claude mcp add`, `codex mcp add`, `opencode mcp add` and so on. EnvHaven runs a public, read-only MCP server at `https://envhaven.com/mcp` that answers questions about the agents in this library.

## Keep reading

- [Model Context Protocol (MCP)](https://envhaven.com/glossary/mcp)
- [Tool call](https://envhaven.com/glossary/tool-call)
- [CLI coding agent](https://envhaven.com/glossary/cli-coding-agent)

Source: https://envhaven.com/glossary/mcp-server
