MCP server
A program that exposes tools, resources or prompts to AI applications through the Model Context Protocol.
In more detail
A server can run locally as a subprocess over stdio or remotely over Streamable HTTP. Treat any server you did not write as untrusted: its tool descriptions and results reach your model and can carry injected instructions.
Related terms
- MCP client — The component inside a host that connects to one MCP server, discovers it, and sends it requests on the host's behalf.
- MCP tool — A function an MCP server offers for the model to call, described by a name, description and input schema.
- MCP resource — Data an MCP server exposes for the application to read by URI, such as a file or a record.
- MCP prompt — A reusable prompt template an MCP server offers for the user to pick, often surfaced as a slash command.
Taught in
- What MCP Is — AI Engineering: LLM Apps, RAG & Agents
- Build An MCP Server — AI Engineering: LLM Apps, RAG & Agents
- Connect An Agent To MCP — AI Engineering: LLM Apps, RAG & Agents
- Remote Servers And Trust — AI Engineering: LLM Apps, RAG & Agents
- Capstone: The Tasks Assistant — AI Engineering: LLM Apps, RAG & Agents