Model Context Protocol (MCP) server for Amazon Bedrock AgentCore services
Project description
AWS Bedrock AgentCore MCP Server
Model Context Protocol (MCP) server for Amazon Bedrock AgentCore services
This MCP server provides comprehensive access to Amazon Bedrock AgentCore documentation, enabling developers to search and retrieve detailed information about AgentCore platform services, APIs, tutorials, and best practices.
Features
- Search Documentation: Search through curated AgentCore documentation with ranked results and contextual snippets
- Fetch Full Documents: Retrieve complete documentation pages for in-depth understanding
- Comprehensive Coverage: Access documentation for all AgentCore services including Runtime, Memory, Code Interpreter, Browser, Gateway, Observability, and Identity
- Smart Caching: Efficient document caching with on-demand content loading for optimal performance
- Curated Documentation List: Uses llm.txt as a curated list of relevant AgentCore documentations, always fetching the latest version of the file
Prerequisites
Installation Requirements
- Install
uvfrom Astral or the GitHub README - Install Python 3.10 or newer using
uv python install 3.10(or a more recent version)
Installation
| Cursor | VS Code |
|---|---|
Configure the MCP server in your MCP client configuration:
For Kiro, add at the project level .kiro/settings/mcp.json
{
"mcpServers": {
"awslabs.amazon-bedrock-agentcore-mcp-server": {
"command": "uvx",
"args": ["awslabs.amazon-bedrock-agentcore-mcp-server@latest"],
"env": {
"FASTMCP_LOG_LEVEL": "ERROR"
},
"disabled": false,
"autoApprove": []
}
}
}
For Amazon Q Developer CLI, add the MCP client configuration and tool command to the agent file in ~/.aws/amazonq/cli-agents.
Example, ~/.aws/amazonq/cli-agents/default.json
{
"mcpServers": {
"awslabs.amazon-bedrock-agentcore-mcp-server": {
"command": "uvx",
"args": ["awslabs.amazon-bedrock-agentcore-mcp-server@latest"],
"env": {
"FASTMCP_LOG_LEVEL": "ERROR"
},
"disabled": false,
"autoApprove": []
}
},
"tools": [
// .. other existing tools
"@awslabs.amazon-bedrock-agentcore-mcp-server"
]
}
Windows Installation
For Windows users, the MCP server configuration format is slightly different:
{
"mcpServers": {
"awslabs.amazon-bedrock-agentcore-mcp-server": {
"disabled": false,
"timeout": 60,
"type": "stdio",
"command": "uv",
"args": [
"tool",
"run",
"--from",
"awslabs.amazon-bedrock-agentcore-mcp-server@latest",
"awslabs.amazon-bedrock-agentcore-mcp-server.exe"
],
"env": {
"FASTMCP_LOG_LEVEL": "ERROR"
}
}
}
}
Or using Docker after a successful docker build -t mcp/amazon-bedrock-agentcore .:
{
"mcpServers": {
"awslabs.amazon-bedrock-agentcore-mcp-server": {
"command": "docker",
"args": [
"run",
"--rm",
"--interactive",
"--env",
"FASTMCP_LOG_LEVEL=ERROR",
"mcp/amazon-bedrock-agentcore:latest"
],
"env": {},
"disabled": false,
"autoApprove": []
}
}
}
Basic Usage
The server provides access to comprehensive Amazon Bedrock AgentCore documentation covering:
Platform Services:
- AgentCore Runtime (serverless deployment and scaling)
- AgentCore Memory (persistent knowledge with event and semantic memory)
- AgentCore Code Interpreter (secure code execution in isolated sandboxes)
- AgentCore Browser (fast, secure cloud-based browser for web interaction)
- AgentCore Gateway (transform existing APIs into agent tools)
- AgentCore Observability (real-time monitoring and tracing)
- AgentCore Identity (secure authentication and access management)
Development Resources:
- Getting started guides and prerequisites
- Building your first agent or transforming existing code
- Local development and testing workflows
- Deployment to AgentCore using CLI
- API reference documentation
- Examples and tutorials for various use cases
Example queries:
- "How do I set up AgentCore Memory for my agent?"
- "Show me examples of using the Code Interpreter service"
- "What are the deployment options for AgentCore Runtime?"
- "How do I integrate AgentCore Browser with my application?"
Tools
search_agentcore_docs
Search curated AgentCore documentation and return ranked results with snippets.
search_agentcore_docs(query: str, k: int = 5) -> List[Dict[str, Any]]
Parameters:
query: Search query string (e.g., "bedrock agentcore", "memory integration", "deployment guide")k: Maximum number of results to return (default: 5)
Returns: List of dictionaries containing:
url: Document URLtitle: Display titlescore: Relevance score (0-1, higher is better)snippet: Contextual content preview
fetch_agentcore_doc
Fetch full document content by URL.
fetch_agentcore_doc(uri: str) -> Dict[str, Any]
Parameters:
uri: Document URI (supports http/https URLs)
Returns: Dictionary containing:
url: Canonical document URLtitle: Document titlecontent: Full document text contenterror: Error message (if fetch failed)
Use this tool to get complete documentation pages when search snippets aren't sufficient for understanding or implementing AgentCore features.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file awslabs_amazon_bedrock_agentcore_mcp_server-0.0.1.tar.gz.
File metadata
- Download URL: awslabs_amazon_bedrock_agentcore_mcp_server-0.0.1.tar.gz
- Upload date:
- Size: 125.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5b8c1a5d22042419a953b58621d9f0a8ad286e1d2384eace55f2fc563af33ffe
|
|
| MD5 |
23aefa3fa70e41662b1d319ecfee340c
|
|
| BLAKE2b-256 |
4d3ca953cebae32c180ace0ae74e69e01f1acbb2af23787196db8868767e723f
|
Provenance
The following attestation bundles were made for awslabs_amazon_bedrock_agentcore_mcp_server-0.0.1.tar.gz:
Publisher:
release.yml on awslabs/mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
awslabs_amazon_bedrock_agentcore_mcp_server-0.0.1.tar.gz -
Subject digest:
5b8c1a5d22042419a953b58621d9f0a8ad286e1d2384eace55f2fc563af33ffe - Sigstore transparency entry: 578401127
- Sigstore integration time:
-
Permalink:
awslabs/mcp@d751d32a5da9892951e6076f92d6fe501a650ee3 -
Branch / Tag:
refs/tags/2025.10.20251002031219 - Owner: https://github.com/awslabs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@d751d32a5da9892951e6076f92d6fe501a650ee3 -
Trigger Event:
push
-
Statement type:
File details
Details for the file awslabs_amazon_bedrock_agentcore_mcp_server-0.0.1-py3-none-any.whl.
File metadata
- Download URL: awslabs_amazon_bedrock_agentcore_mcp_server-0.0.1-py3-none-any.whl
- Upload date:
- Size: 25.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
77dee99633562cb37d40932d2d4346968dced3f5de6f642465e5fe878c65f2c4
|
|
| MD5 |
c106b62b59eb5d4e3b5ee7ea9b3f8052
|
|
| BLAKE2b-256 |
9c377d591c0b2872d79bd5be4ed30c1d329f7ced837cc13e7153c919b409250d
|
Provenance
The following attestation bundles were made for awslabs_amazon_bedrock_agentcore_mcp_server-0.0.1-py3-none-any.whl:
Publisher:
release.yml on awslabs/mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
awslabs_amazon_bedrock_agentcore_mcp_server-0.0.1-py3-none-any.whl -
Subject digest:
77dee99633562cb37d40932d2d4346968dced3f5de6f642465e5fe878c65f2c4 - Sigstore transparency entry: 578401136
- Sigstore integration time:
-
Permalink:
awslabs/mcp@d751d32a5da9892951e6076f92d6fe501a650ee3 -
Branch / Tag:
refs/tags/2025.10.20251002031219 - Owner: https://github.com/awslabs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@d751d32a5da9892951e6076f92d6fe501a650ee3 -
Trigger Event:
push
-
Statement type: