CLOUD CONCEPT

Model Context Protocol

Model Context Protocol (MCP) is an open protocol that standardizes how AI applications connect to external tools, data sources, and reusable prompts.

Cloud Concepts Hub →

What is Model Context Protocol

MCP provides a common interface between an AI application's integration layer and external systems, reducing the need for custom connectors for every application–tool combination. In agentic applications, it helps agents discover available capabilities and access relevant information or request actions, while leaving reasoning, orchestration, and authorization enforcement to the surrounding system.

Model Context Protocol (MCP) standardizes communication between AI applications and external capabilities. Instead of building a different integration for each assistant and business system, engineers can expose capabilities through an MCP server and connect compatible applications to it. For certification questions, its central role is connecting agents to external systems, not training models or coordinating an entire multi-agent workflow.

The architecture has three important roles. The host is the AI application, such as an assistant or agent platform. A client within the host maintains a connection to an MCP server. The server exposes capabilities backed by systems such as databases, document repositories, developer tools, or business APIs. A host can connect to multiple servers. The protocol uses JSON-RPC messages and includes initialization and capability negotiation; common transports include standard input/output for local processes and Streamable HTTP for remote connections.

MCP servers can expose tools, resources, and prompts. Tools are callable operations, such as checking inventory or creating a support ticket. Resources provide contextual data, such as a document or configuration file. Prompts provide reusable templates for interactions. Support varies by implementation and negotiated capabilities, so engineers should not assume every server or client implements every feature. Tool descriptions and input schemas help an application determine which operations are available and construct requests.

Consider a cloud-hosted support agent investigating a delayed shipment. Its host connects to an MCP server that exposes an order lookup tool and a shipment-status tool. The host supplies tool definitions to the model, the model proposes a relevant call, and the application validates and dispatches that request. The server queries the underlying business API and returns a result that the application can include in the model's context. Creating a refund should require separate authorization and, where appropriate, human approval.

In cloud deployments, an MCP server can run in a container or a managed runtime. A gateway can expose existing APIs or functions through an MCP-compatible interface. Engineers still need to configure identity, network access, credentials, logging, timeouts, and backend permissions. Remote connections should use protected transport and appropriate authentication. An authenticated client must not automatically gain access to every tool or every customer's records; authorization must also enforce operation-level and tenant-level boundaries.

The main benefit is interoperability, but standardization does not eliminate integration work. Tool semantics, backend mappings, schema compatibility, pagination, and failure handling still need engineering. Remote calls introduce latency and additional failure points. Retrying a read is usually simpler than retrying a payment or refund, so tools that change state need safeguards such as idempotency keys. Large tool catalogs and verbose results also consume model context and can increase cost.

MCP is not a security boundary or a guarantee that tool results are trustworthy. Retrieved documents and tool output can contain prompt-injection instructions. Applications should treat external content as untrusted data, validate arguments, restrict accessible tools, and avoid exposing credentials to the model. Protocol compatibility does not establish that a server is safe.

MCP also does not inherently provide persistent agent memory, workflow orchestration, or multi-agent delegation. A planner–worker system might use MCP tools to access business systems while a separate orchestrator assigns tasks and tracks progress. Conversation history, durable memory, and shared state require explicit storage and access policies. The useful distinction is that MCP standardizes access to capabilities; the agent framework and application decide when, why, and under whose authority those capabilities are used.

Key aspects of Model Context Protocol

MCP standardizes discovery and access to external capabilities while leaving execution policy, security, memory, and orchestration to the application.

Standardized client–server integration

An AI host uses MCP clients to connect to servers that expose external capabilities. This allows compatible applications to reuse integrations rather than implementing a unique connector for every pairing.

Discoverable tools and contextual information

Servers can expose callable tools, readable resources, and reusable prompts. Applications discover supported capabilities and use schemas to construct requests, subject to client and server support.

Local and remote connectivity

MCP supports local process communication through standard input/output and remote connectivity through Streamable HTTP. Transport choice affects deployment, authentication, connection management, and troubleshooting.

Application-controlled execution

The model can propose a tool call, but application code dispatches it and enforces permissions and approval rules. A tool being discoverable does not mean every user is authorized to execute it.

Explicit trust and permission boundaries

Validate inputs, restrict backend permissions, and treat returned content as untrusted. Authentication, tenant isolation, and approval for consequential actions remain deployment responsibilities.

Separation from orchestration and memory

MCP supplies an integration interface rather than a complete agent architecture. Task delegation, persistent memory, workflow state, and retry policy must be designed separately.

Cloud services for Model Context Protocol

Amazon Bedrock AgentCore provides managed options for exposing and hosting MCP capabilities. AgentCore Gateway can present supported API operations or Lambda functions as tools, while AgentCore Runtime can host a custom MCP server. Amazon ECS offers an alternative for containerized servers that need custom dependencies or deployment controls. An agent application connects through an MCP client and receives tool results for its reasoning workflow. Across these options, engineers must enforce backend permissions, validate requests, protect credentials, and distinguish read-only operations from actions requiring approval.

Amazon Bedrock AgentCore

AgentCore Gateway can expose supported APIs and AWS Lambda functions as tools accessible through an MCP interface. AgentCore Runtime can host MCP servers, providing a managed deployment option for custom integrations.

Open Amazon Bedrock AgentCore →
AWS Lambda image AWS Lambda

Lambda functions can implement backend operations exposed as tools through AgentCore Gateway. A Lambda function is not automatically an MCP server; the gateway supplies the protocol-facing interface and maps tool calls to function invocations.

Open AWS Lambda →