MCP (Model Context Protocol) ਇੱਕ ਖੁਲਾ ਮਾਪਦੰਡ ਹੈ, Anthropic ਦੁਆਰਾ ਪੇਸ਼ ਕੀਤਾ ਗਿਆ, ਜੋ AI ਐਪਲੀਕੇਸ਼ਨਾਂ ਨੂੰ ਇੱਕ ਯੁਨੀਫਾਰਮ ਇੰਟਰਫੇਸ ਦੁਆਰਾ ਬਾਹਰੀ ਟੂਲਸ ਅਤੇ ਡਾਟਾ ਨਾਲ ਜੋੜਨ ਦਿੰਦਾ ਹੈ — ਹਰ ਐਪ ਲਈ ਇੱਕ ਕਸਟਮ ਇੰਟੀਗ੍ਰੇਸ਼ਨ ਲਿਖਣ ਦੀ ਬਜਾਏ। ਇਸ ਨੂੰ ਇੱਕ ਮਾਡਲ ਅਤੇ ਬਾਹਰੀ ਦੁਨੀਆ ਦੇ ਵਿਚਕਾਰ ਇੱਕ ਯੂਨੀਵਰਸਲ ਐਡਾਪਟਰ ਮੰਨੋ।
ਕਲਾਇਂਟ ਅਤੇ ਸਰਵਰ
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
