MCP Server

A lightweight program that exposes specific capabilities through the standardized Model Context Protocol to provide context, tools, and prompts to LLMs.

MCP Server

An MCP server is a lightweight program that exposes specific capabilities through the standardized Model Context Protocol. Servers provide context, tools, and prompts to clients, enabling LLMs to access external data sources and perform actions in the real world.

Core Responsibilities

Capability Purpose
Resources Expose data and content that LLMs can read as context
Tools Provide executable functions that LLMs can invoke
Prompts Define reusable templates and workflows
Authentication Handle secure access to external systems

Example Server Types

  1. File System Server - Access local files and directories
  2. Database Server - Query and manipulate database records
  3. API Server - Integrate with external web services
  4. Git Server - Interact with version control repositories

Implementation Options

  • TypeScript SDK (npm @modelcontextprotocol/sdk)
  • Python SDK (pip mcp)

Architecture Pattern

Host Application (Claude, IDE)
    ↓
MCP Client
    ↓ (JSON-RPC over stdio/HTTP)
MCP Server
    ↓
External System (Files, APIs, DBs)

Related Terms

  • MCP Client
  • Host
  • Resources
  • Tools
© 2025 👨‍💻 with ❤️ by Full Stack Craft
"Any sufficiently advanced technology is indistinguishable from magic."