Model Context Protocol (MCP) adalah standar terbuka yang dilepas Anthropic akhir 2024 dan menjadi populer sepanjang 2026. Tujuannya: memberi LLM akses terstandard ke resources eksternal.
Masalah yang Diselesaikan MCP
Sebelum MCP, setiap integrasi LLM dengan database, file system, atau API butuh glue code custom:
Slack integration → wrapper khusus
PostgreSQL → wrapper khusus
GitHub → wrapper khusus
MCP menyatukan ini via protokol tunggal. Satu MCP server bisa dipakai banyak client (Claude Desktop, Cursor, IDE plugin, dll).
Arsitektur Singkat
Client (LLM App) <── MCP Protocol ──> Server (resource adapter)
│
├── filesystem
├── postgres
├── github
└── custom tools
Kapan Pakai MCP?
Saat butuh akses LLM ke data internal (docs, wiki, CRM)
Untuk otomasi yang melibatkan banyak tools
Membangun agent yang bisa query database aman
Implementasi Praktis
Beberapa MCP server populer:
@modelcontextprotocol/server-filesystem— akses file lokal@modelcontextprotocol/server-postgres— query Postgres read-only@modelcontextprotocol/server-github— operasi repo
Mulai dari use case kecil: baca-baca dokumentasi internal via MCP sebelum lanjut ke operasi tulis.