aws-samples/Sample-Model-Context-Protocol-Demos

Collection of examples of how to use Model Context Protocol with AWS.

Python

103

53 commits

updated Feb 14, 2026

See the code

README

Agentic AI Samples

Collection of examples of how to build Agentic AI with AWS, including Model Context Protocol.

List of modules:

ModuleLangDescription
Server Client MCP/SSE DemoTypeScriptThis full demo creates an Amazon Bedrock MCP client using the converse API and MCP server. The sample is deployed in containers that connect over MCP/SSE.
Server Client MCP/stdio DemoPythonThis is a demo Amazon Bedrock MCP client using the converse API and a simple MCP stdio server. The sample runs locally connected with Amazon Bedrock.
Server Client MCP/SSE on ECSSpring AI & KotlinProvides a sample Spring AI MCP Server that runs on ECS; which is used by a Spring AI Agent using Bedrock; which also runs on ECS and is exposed publicly via a Load Balancer.
Server Client MCP/SSE in Bedrock Converse Client w/ pgVector RAGSpring AI & JavaA Spring AI dog adoption agent built on Bedrock using PostgreSQL with pgvector for RAG, and an MCP Server for managing adoption appointments.
Server MCP/SSE on ECSSpring AI & KotlinVery basic Spring AI MCP Server over SSE running on ECS.
MCP/SSE Server - FastAPI Client with Anthropic BedrockPythonAn MCP SSE server with a FastAPI client that leverages Anthropic Bedrock. The sample runs on ECS Fargate with public access through an Application Load Balancer.

Security

See CONTRIBUTING for more information.

License

This library is licensed under the MIT-0 License. See the LICENSE file.

agents
bedrock
genai
mcp
mcp-client
mcp-server

aws-samples/Sample-Model-Context-Protocol-Demos

Collection of examples of how to use Model Context Protocol with AWS.

Python

103

53 commits

updated Feb 14, 2026

See the code

README

Agentic AI Samples

Collection of examples of how to build Agentic AI with AWS, including Model Context Protocol.

List of modules:

ModuleLangDescription
Server Client MCP/SSE DemoTypeScriptThis full demo creates an Amazon Bedrock MCP client using the converse API and MCP server. The sample is deployed in containers that connect over MCP/SSE.
Server Client MCP/stdio DemoPythonThis is a demo Amazon Bedrock MCP client using the converse API and a simple MCP stdio server. The sample runs locally connected with Amazon Bedrock.
Server Client MCP/SSE on ECSSpring AI & KotlinProvides a sample Spring AI MCP Server that runs on ECS; which is used by a Spring AI Agent using Bedrock; which also runs on ECS and is exposed publicly via a Load Balancer.
Server Client MCP/SSE in Bedrock Converse Client w/ pgVector RAGSpring AI & JavaA Spring AI dog adoption agent built on Bedrock using PostgreSQL with pgvector for RAG, and an MCP Server for managing adoption appointments.
Server MCP/SSE on ECSSpring AI & KotlinVery basic Spring AI MCP Server over SSE running on ECS.
MCP/SSE Server - FastAPI Client with Anthropic BedrockPythonAn MCP SSE server with a FastAPI client that leverages Anthropic Bedrock. The sample runs on ECS Fargate with public access through an Application Load Balancer.

Security

See CONTRIBUTING for more information.

License

This library is licensed under the MIT-0 License. See the LICENSE file.

agents
bedrock
genai
mcp
mcp-client
mcp-server

Languages

Python

53.9%

TypeScript

19.5%

Java

17.9%

Kotlin

4.7%

Shell

2.3%

Dockerfile

1.2%