A simple and clear example for implementation and understanding Anthropic MCP (on AWS Bedrock).
A simple and clear example for implementation and understanding Anthropic MCP (on AWS Bedrock).
For multiple MCP servers management, this tiny project Q-2001 could be referred~
This project demonstrates how to implement and use Anthropic's Model Context Protocol (MCP) with AWS Bedrock. It provides a client implementation that can interact with MCP-enabled tools through AWS Bedrock's runtime service.
fetch_url_mcp_server.py that demonstrates different transport typesRun the server with default stdio settings (no transport parameter):
uv run fetch_url_mcp_server.py
# client
uv run client_stdio.py
Run with streamable-http transport on default port (8000):
python fetch_url_mcp_server.py --transport streamable-http
# client
uv run client_streamablehttp.py
Run with streamable-http transport on custom port:
python fetch_url_mcp_server.py --transport streamable-http --port 8080
Feel free to submit issues and pull requests to improve the implementation.
MIT License
{
"mcpServers": {
"mcp-on-aws-bedrock": {
"command": "python",
"args": [
"fetch_url_mcp_server.py",
"--transport",
"streamable-http"
]
}
}
}Related projects feature coming soon
Will recommend related projects based on sub-categories