Skip to main content

AWS AgentCore MCP Server

A comprehensive framework for building, securing, monitoring, and managing AI agents at scale

GitHub commit activity GitHub open issues GitHub open pull requests License PyPI version Python versions

Documentation ◆ Samples ◆ Starter Toolkit ◆ MCP Server

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

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.

Metadata

Release files for aws-agentcore-mcp-server 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aws-agentcore-mcp-server 0.1.4
File Size Uploaded
aws_agentcore_mcp_server-0.1.4.tar.gz 26.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for aws-agentcore-mcp-server 0.1.4
File Interpreter ABI Platform
aws_agentcore_mcp_server-0.1.4-py3-none-any.whl Python 3 none any Details

Total release size: 55.1 kB

Release files / aws_agentcore_mcp_server-0.1.4.tar.gz

Download URL aws_agentcore_mcp_server-0.1.4.tar.gz
Size 26.2 kB
Tags Source
SHA-256 checksum
How to use checksums
33e84e59540ae55dce7fe73e9c39bcd4e49bacc7770f226e39d9802b13c77d39
BLAKE2b-256 checksum
How to use checksums
734bef9a21e3823c6bb9f74cefa3422340d9186814fa6cd1544275cf05d5185b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.21

Release files / aws_agentcore_mcp_server-0.1.4-py3-none-any.whl

Download URL aws_agentcore_mcp_server-0.1.4-py3-none-any.whl
Size 28.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
254f02d42b66de5e23d1546de1362f9e99122e9eda85fd334df973e568d8d0f3
BLAKE2b-256 checksum
How to use checksums
bde21fd3ff81e2b6a538a668a5803395e359d1dd6b9aaa79b9efdcae7c5b01ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.21

Release history Release notifications | RSS feed

This release

0.1.4 This release

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page