Registry / ai-ml / awslabs-amazon-bedrock-agentcore-mcp-server

awslabs-amazon-bedrock-agentcore-mcp-server

JSON →
library0.1.1pypypiunverified

A Model Context Protocol (MCP) server enabling AI agents to interact with Amazon Bedrock AgentCore services for agent management, knowledge bases, and invocation. Current version 0.1.1, released May 2025. Active development with weekly releases.

pip install awslabs-amazon-bedrock-agentcore-mcp-server
INSTALL
IMPORT
SIG · AWSLABS-AMAZON-BED
A
awslabs-amazon-bedrock-agentcore-mcp-server
ai-mlpythonv0.1.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

BedrockAgentCoreMCPServer
from awslabs.amazon_bedrock_agentcore_mcp_server import BedrockAgentCoreMCPServer
from bedrock_agentcore_mcp_server import BedrockAgentCoreMCPServer

Starts the MCP server, which connects to Amazon Bedrock AgentCore. Requires AWS credentials configured via environment or AWS CLI.

import os from bedrock_agentcore_mcp_server import run_server # Set required environment variables os.environ['AWS_REGION'] = os.environ.get('AWS_REGION', 'us-east-1') os.environ['BEDROCK_AGENT_ID'] = os.environ.get('BEDROCK_AGENT_ID', '') # Run the MCP server run_server()
Debug
Known issues
breakingBreaking change in v0.1.0: The environment variable BEDROCK_AGENT_ID is now required instead of being optional. Previously the server could run without it, but now it raises an error if missing.
fix
Set the BEDROCK_AGENT_ID environment variable before starting the server.
affects: >=0.1.0
gotchaThe import path uses underscores, not hyphens. The package name contains hyphens but the importable module is 'bedrock_agentcore_mcp_server' (without 'awslabs').
fix
Use 'from bedrock_agentcore_mcp_server import ...' instead of 'from awslabs_amazon_bedrock_agentcore_mcp_server import ...'.
affects: all
deprecatedSupport for Python 3.9 was dropped in v0.1.0. Only Python >=3.10 is supported.
fix
Upgrade Python to 3.10 or later.
affects: >=0.1.0
Upgrade
Version history
0.1.1latest on PyPI · released May 18, 2026
Audit
Dependencies
boto3requiredRequired for AWS SDK operations with Bedrock AgentCore
mcprequiredModel Context Protocol SDK for server implementation
Agent activity
17 hits · last 30 days
node
16
OpenAI (training)
1
Resources

No resource links recorded.

awslabs-amazon-bedrock-agentcore-mcp-server — pip install awslabs-amazon-bedrock-agentcore-mcp-server · libregistry