vishal patel
LearningIntermediateUpdated 2026-09-23

Model Context Protocol (MCP)

An open protocol that standardises how AI apps connect to tools and data — build a server once, use it from any MCP-capable client.

mcptoolsintegrationclaude

The problem it solves

With N AI apps and M tools, you'd need N×M custom integrations. MCP makes it N + M: tools expose one standard server, and any MCP client (Claude, IDEs, custom agents) can use it.

Architecture

diagram

Server primitives

PrimitiveWhatExample
ToolsActions the model can callcreate_lead, search_invoices
ResourcesReadable context the app can attachcrm://accounts/123
PromptsReusable prompt templates"Summarise this account"

Design notes

  • MCP servers are integration boundaries: apply auth (OAuth for remote servers), scopes, rate limits and audit logs like any API.
  • Keep tools coarse enough to be useful and narrow enough to be safe.
  • Watch chained scrape-and-write flows. Content read by one tool can carry prompt injections that trigger another tool's writes.
Note

Plan: expose the CRM/ERP agent platform's tools through an MCP server so any client, not just my own agent, can use them.

Sources & further learning

Videos, courses, docs and books I recommend for this topic.

My post on this

API Series, Part 2: Why MCP when we already have APIs?

MCP doesn't replace APIs. APIs are built for applications; MCP gives AI agents a standard way to discover tools, resources, prompts and existing services. Application → API, AI agent → MCP → APIs / tools / data.

#apis#mcp#ai-architecture#system-design
Read on LinkedIn

Related topics