MCP (Model Context Protocol) ایک کھلا معیار ہے، جو Anthropic نے متعارف کرایا ہے، جو AI ایپلیکیشنز کو ایک یکساں interface کے ذریعے بیرونی ٹولز اور ڈیٹا سے جوڑنے دیتا ہے — ہر ایپلیکیشن کے لیے اپنی طرف کا integration لکھنے کی بجائے۔ اسے ایک ماڈل اور بیرونی دنیا کے درمیان آفاقی adapter سمجھیں۔
Client اور server
MCP SERVER → exposes capabilities to the model:
- TOOLS → actions the model can call (send_email, create_issue, search_files)
- RESOURCES → data the model can read (a file, a Drive doc, a DB row)
- PROMPTS → reusable prompt templates the server offers
MCP CLIENT → the AI app (Claude Desktop, Claude Code, an IDE) that connects to servers
TRANSPORT → stdio (local process) or HTTP (remote), speaking JSON-RPC both ways
