Skip to main content
Glama

This MCP server provides comprehensive documentation about AWS AgentCore to your GenAI tools, enabling you to build production-ready AI agents with enterprise-grade security, observability, and scalability.

What is AWS AgentCore?

AWS AgentCore is a comprehensive framework for building, securing, monitoring, and managing AI agents at scale on Amazon Bedrock. It provides:

  • AgentCore Identity: Centralized management of agent identities and credentials

  • AgentCore Gateway: Universal integration layer for APIs and external services

  • AgentCore Observability: Advanced tracing, monitoring, and debugging capabilities

  • AgentCore Code Interpreter: Secure code execution within sandboxed sessions

  • AgentCore Memory: Short-term and long-term memory storage for context-aware agents

Related MCP server: AgentPay MCP Server

Prerequisites

The usage methods below require uv to be installed on your system. You can install it by following the official installation instructions.

Installation

You can use the AWS AgentCore MCP server with 40+ applications that support MCP servers, including Amazon Q Developer CLI, Anthropic Claude Code, Cline, and Cursor.

Q Developer CLI example

See the Q Developer CLI documentation for instructions on managing MCP configuration.

In ~/.aws/amazonq/mcp.json:

{
  "mcpServers": {
    "aws-agentcore": {
      "command": "uvx",
      "args": ["aws-agentcore-mcp-server"]
    }
  }
}

Claude Code example

See the Claude Code documentation for instructions on managing MCP servers.

claude mcp add aws-agentcore uvx aws-agentcore-mcp-server

Cline example

See the Cline documentation for instructions on managing MCP configuration.

Provide Cline with the following information:

I want to add the MCP server for AWS AgentCore.
Here's the GitHub link: @https://github.com/aws/aws-agentcore-mcp-server
Can you add it?

Cursor example

See the Cursor documentation for instructions on managing MCP configuration.

In ~/.cursor/mcp.json:

{
  "mcpServers": {
    "aws-agentcore": {
      "command": "uvx",
      "args": ["aws-agentcore-mcp-server"]
    }
  }
}

Available Tools

The MCP server provides the following documentation tools:

  • quickstart() - Get started with AWS AgentCore SDK

  • agentcore_identity() - Learn about secure agent authentication and authorization

  • agentcore_gateway() - Integrate external APIs and services

  • agentcore_observability() - Monitor and debug agents in production

  • agentcore_code_interpreter() - Execute code securely in agents

  • agentcore_memory() - Build context-aware agents with persistent memory

  • agentcore_tools() - Integrate tools and extend agent capabilities

Quick Testing

You can quickly test the MCP server using the MCP Inspector:

npx @modelcontextprotocol/inspector uvx aws-agentcore-mcp-server

Note: This requires npx to be installed on your system. It comes bundled with Node.js.

The Inspector is also useful for troubleshooting MCP server issues as it provides detailed connection and protocol information. For an in-depth guide, have a look at the MCP Inspector documentation.

Server Development

git clone https://github.com/aws/aws-agentcore-mcp-server.git
cd aws-agentcore-mcp-server
python3 -m venv venv
source venv/bin/activate
pip3 install -e .

npx @modelcontextprotocol/inspector python -m aws_agentcore_mcp_server

Example Usage

Once installed, you can ask your AI assistant questions like:

  • "How do I get started with AWS AgentCore?"

  • "Show me how to set up AgentCore Identity for secure authentication"

  • "How do I integrate external APIs using AgentCore Gateway?"

  • "What observability features does AgentCore provide?"

  • "How can I add code execution capabilities to my agent?"

  • "How do I implement memory in my AgentCore agent?"

  • "What tools can I integrate with my AgentCore agent?"

The MCP server will provide comprehensive documentation and code examples for each AgentCore component.

Contributing ❤️

We welcome contributions! See our Contributing Guide for details on:

  • Reporting bugs & features

  • Development setup

  • Contributing via Pull Requests

  • Code of Conduct

  • Reporting of security issues

License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.

Security

See CONTRIBUTING for more information.

Available Tools

7 tools
agentcore_code_interpreterC

Documentation on AgentCore Code Interpreter for executing code in agents.

Inputs: no named parameters. Returns: result

agentcore_gatewayC

Documentation on AgentCore Gateway for integrating external APIs and services.

Inputs: no named parameters. Returns: result

agentcore_identityC

Documentation on AgentCore Identity for secure agent authentication and authorization.

Inputs: no named parameters. Returns: result

agentcore_memoryC

Documentation on AgentCore Memory for building context-aware agents.

Inputs: no named parameters. Returns: result

agentcore_observabilityC

Documentation on AgentCore Observability for monitoring and debugging agents.

Inputs: no named parameters. Returns: result

agentcore_toolsC

Documentation on integrating tools with AWS AgentCore agents.

Inputs: no named parameters. Returns: result

quickstartB

Quickstart documentation for AWS AgentCore SDK.

Inputs: no named parameters. Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3/5.0

    Scored across 7 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose targeting different components of the AWS AgentCore platform (code interpretation, gateway integration, identity management, memory, observability, tool integration, and quickstart). There is no overlap in functionality, making it easy for an agent to select the appropriate tool.

    Naming Consistency4/5

    Six of the seven tools follow a consistent 'agentcore_' prefix pattern with descriptive suffixes (e.g., agentcore_code_interpreter, agentcore_memory), which is highly predictable. The outlier 'quickstart' deviates slightly by omitting the prefix, but it remains readable and contextually appropriate.

    Tool Count5/5

    With 7 tools, this server is well-scoped for its purpose of documenting AWS AgentCore components. Each tool covers a distinct aspect of the platform, and the count is neither too sparse nor overwhelming, allowing comprehensive coverage without redundancy.

    Completeness4/5

    The tool set provides thorough documentation coverage for core AWS AgentCore features, including development, integration, security, and monitoring. A minor gap exists in not explicitly covering deployment or scaling operations, but agents can likely work around this given the comprehensive foundational coverage.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables autonomous AI agents to securely access and execute external tools, such as GitHub REST API operations, with per-user authentication, authorization, audit logging, and observability.
      MIT