MCP(Model Context Protocol) は Anthropic が導入した open standard で、AI app が external tools and data に統一 interface で接続できるようにします。app ごとに bespoke integration を書く必要がありません。model と外の世界の universal adapter と考えると分かりやすいです。
client と server
MCP SERVER → model に capability を公開する:
- TOOLS → model が call できる action (send_email, create_issue, search_files)
- RESOURCES → model が読める data (file, Drive doc, DB row)
- PROMPTS → server が提供する reusable prompt templates
MCP CLIENT → server に接続する AI app (Claude Desktop, Claude Code, IDE)
TRANSPORT → stdio (local process) または HTTP (remote)、どちらも JSON-RPC
