Agentscore
Model Context Protocol (MCP)
An open standard for connecting models to tools, resources and prompts served by separate processes.
What it is and why it exists
MCP defines how a client (the AI app) talks to servers that expose tools (actions), resources (readable data) and prompts (templates), over stdio for local servers or Streamable HTTP for remote ones, with OAuth for authorisation. Write an integration once and any MCP-capable client can use it.
Quick prototype
Run a local MCP server and connect it to a desktop client.
In production, at scale
Remote MCP servers behind OAuth with scoped tokens, an allow-list of approved servers, tool descriptions reviewed (they are prompt text), per-tool permissions, audit logs, and protection against servers that change their tools after approval.
Vendors and tools
| MCP specification and SDKs | Python, TypeScript and other SDKs |
|---|---|
| Claude, ChatGPT, IDEs and agent frameworks | MCP clients |
| MCP servers from GitHub, Atlassian, Stripe and others | Vendor-maintained servers |
On AWS: Bedrock AgentCore Gateway turns APIs and Lambda functions into MCP-compatible tools; AWS publishes MCP servers for its services.
How it fails
- Installing an unvetted server that exfiltrates data
- Malicious instructions hidden in a tool description (tool poisoning)
- Over-broad tokens passed through to downstream APIs
What the interviewer asks next
MCP vs plain function calling?
Function calling is how a model asks to run a tool inside one app. MCP is how tools are packaged and discovered across apps — the tool still ends up as a function call to the model.
What are MCP’s main security risks?
Tool poisoning (instructions in descriptions), rug pulls (definitions changing after approval), confused-deputy token use, and over-privileged servers. Mitigate with allow-lists, pinned definitions, scoped OAuth and review.