Skip to main content

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

  1. Install uv from Astral or the GitHub README
  2. Install Python 3.10 or newer using uv python install 3.10 (or a more recent version)

Installation

Kiro Cursor VS Code
Add to Kiro Install MCP Server Install on VS Code

Configure the MCP server in your MCP client configuration:

For Kiro, see the Kiro IDE documentation or the Kiro CLI documentation for details.

For global configuration, edit ~/.kiro/settings/mcp.json. For project-specific configuration, edit .kiro/settings/mcp.json in your project directory.

Example configuration for Kiro (~/.kiro/settings/mcp.json):

{
  "mcpServers": {
    "bedrock-agentcore-mcp-server": {
      "command": "uvx",
      "args": ["awslabs.amazon-bedrock-agentcore-mcp-server@latest"],
      "env": {
        "FASTMCP_LOG_LEVEL": "ERROR"
      },
      "disabled": false,
      "autoApprove": []
    }
  }
}

Windows Installation

For Windows users, the MCP server configuration format is slightly different:

{
  "mcpServers": {
    "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": {
    "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 URL
  • title: Display title
  • score: 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 URL
  • title: Document title
  • content: Full document text content
  • error: 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.

manage_agentcore_runtime

Provides comprehensive information on deploying and managing agents in AgentCore Runtime.

manage_agentcore_runtime() -> Dict[str, Any]

Returns: Detailed deployment guide covering:

  • Code requirements and validation checklist
  • Step-by-step CLI deployment workflow (configure, launch, invoke, status, destroy)
  • Required code patterns with BedrockAgentCoreApp
  • Common issues and troubleshooting
  • Session management and cleanup procedures

Use this tool when you need to deploy agents to AgentCore Runtime or troubleshoot deployment issues.

manage_agentcore_memory

Provides comprehensive information on managing AgentCore Memory resources.

manage_agentcore_memory() -> Dict[str, Any]

Returns: Complete memory management guide covering:

  • Memory resource creation and configuration
  • Short-term memory (STM) and long-term memory (LTM) concepts
  • Semantic memory strategies for facts and knowledge
  • Full CLI command reference (create, get, list, delete, status)
  • Common workflows and examples

Use this tool when working with AgentCore Memory for persistent knowledge storage.

manage_agentcore_gateway

Provides comprehensive information on deploying and managing MCP Gateways in AgentCore.

manage_agentcore_gateway() -> Dict[str, Any]

Returns: Complete gateway deployment guide covering:

  • Gateway creation and configuration requirements
  • Step-by-step CLI deployment workflow
  • Target management for Lambda, OpenAPI, and Smithy models
  • Authentication and authorization setup (Cognito, OAuth2, API keys)
  • Management commands (list, get, delete)
  • Common patterns and troubleshooting

Use this tool when deploying MCP Gateways to provide managed endpoints for Model Context Protocol servers.

Project details


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

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file awslabs_amazon_bedrock_agentcore_mcp_server-0.0.10.tar.gz.

File metadata

File hashes

Hashes for awslabs_amazon_bedrock_agentcore_mcp_server-0.0.10.tar.gz
Algorithm Hash digest
SHA256 f52e576b78cead25b22f8d82f641899b4f63f1bc3131e9912822880e8b6dd9eb
MD5 e9ec7d376abee25397506de1e5c36079
BLAKE2b-256 5772f297f575f7f0f8fd5911e39d8eaf45fb571a41300dba649e2db32240b27a

See more details on using hashes here.

Provenance

The following attestation bundles were made for awslabs_amazon_bedrock_agentcore_mcp_server-0.0.10.tar.gz:

Publisher: release.yml on awslabs/mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file awslabs_amazon_bedrock_agentcore_mcp_server-0.0.10-py3-none-any.whl.

File metadata

File hashes

Hashes for awslabs_amazon_bedrock_agentcore_mcp_server-0.0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 26c5d870f528d921d0281f0b243db7aa1697e33e592247afaec8be5167e744df
MD5 60a1e8af282ca220846f129c0dc4e7a2
BLAKE2b-256 e259209d31fc6393d344034c1be5a44f55142a43543c2ba6c4422d001993b037

See more details on using hashes here.

Provenance

The following attestation bundles were made for awslabs_amazon_bedrock_agentcore_mcp_server-0.0.10-py3-none-any.whl:

Publisher: release.yml on awslabs/mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page