> ## Content Index
> Fetch the complete content index at: https://www.stirup.si/llms.txt
> Use this file to discover other available public pages before exploring further.

# Integration of Claude Code with Amazon Bedrock AgentCore
- URL: https://www.stirup.si/integration-of-claude-code-with-amazon-bedrock-agentcore-7b06aebc/
- Published: 2026-11-06T17:00:55.000Z
- Updated: 2026-11-06T17:00:55.000Z
- Description: Integration of Claude Code with Amazon Bedrock AgentCore enables users to extend their local Claude Code sessions to remote environments, leveraging Amazon Bedrock as the sole model provider for consistency and reliability.
- Author: Satish Das
- Tags: Cloud, News, Stirup Research

## Integration of Claude Code with Amazon Bedrock AgentCore

Integration of Claude Code with Amazon Bedrock AgentCore enables users to extend their local Claude Code sessions to remote environments. This setup leverages Amazon Bedrock as the sole model provider, ensuring consistency and reliability. Amazon Bedrock AgentCore is a platform designed to build, connect, and optimize agents at scale, supporting any framework or model. By deploying Claude Code on AgentCore, users can manage remote tasks securely and efficiently. The integration maintains the same Amazon Bedrock infrastructure, now adapted for remote operations. This approach allows developers to harness the power of Claude Code in distributed systems without compromising on performance or security. The setup is particularly useful for teams requiring scalable and secure agent deployment across multiple locations.

## Security Controls and Model Calls

Security Controls and Model Calls in the integration of Claude Code with Amazon Bedrock AgentCore ensure consistent protection across environments. According to the Guidance for Claude Code with Amazon Bedrock, Claude Code uses temporary AWS Identity and Access Management (IAM) credentials for calls to Amazon Bedrock, and users can authenticate via identity providers like Microsoft Entra ID or Okta ([AWS Machine Learning](https://aws.amazon.com/blogs/machine-learning/extend-claude-code-to-remote-sessions-on-amazon-bedrock-agentcore-with-security-controls/?ref=stirup.si)). Every task executed through AgentCore runs as a runtime session tied to the user's account, ensuring that all model calls are directed to Amazon Bedrock ([AWS Machine Learning](https://aws.amazon.com/blogs/machine-learning/extend-claude-code-to-remote-sessions-on-amazon-bedrock-agentcore-with-security-controls/?ref=stirup.si)). As a result, these calls inherit the security characteristics previously outlined. Model calls from remote tasks maintain the same security features as when Claude Code is used on a local laptop ([AWS Machine Learning](https://aws.amazon.com/blogs/machine-learning/extend-claude-code-to-remote-sessions-on-amazon-bedrock-agentcore-with-security-controls/?ref=stirup.si)). This approach ensures that regardless of the execution environment, security remains aligned with the established standards of Amazon Bedrock.

## Deployment and Configuration of the Solution

To deploy the solution, set the AWS profile and Region in the deployment shell using the commands `export AWS_PROFILE=` and `export AWS_REGION=us-west-2`. Clone the repository, set it up, and run the read-only preflight check with `git clone https://github.com/aws-samples/sample-remote-coding-agent`, followed by `cd sample-remote-coding-agent`, `make setup`, and `make preflight`. Preflight confirms the deployment account and Region and verifies the availability of AgentCore and Claude models in that environment, as noted in the source.

For Option B, install the plugin via the Plugin Marketplace with `/plugin marketplace add aws-samples/sample-remote-coding-agent` and `/plugin install sample-rca@sample-remote-coding-agent`. Restart Claude Code and leave the plugin’s configuration fields empty to allow it to locate your deployment automatically, as described in the source.

## EU Data Residency and Security Guardrails

Amazon Bedrock AgentCore now supports extending Claude Code to remote sessions while enforcing EU Data Residency and Security Guardrails. According to Matina Lysikatou, a Senior AWS Consultant, a defense-in-depth layer has been created to restrict Bedrock operations to EU-state member countries. This is achieved through an AWS Organizations Service Control Policy (SCP) named *BedrockEUDataResidencyCompliance*, which denies all `bedrock:*` calls unless made to an approved EU region. Additionally, the policy blocks specific model families, such as Claude Fable 5 and Mythos-class, due to their data retention and sharing requirements, which conflict with EU residency rules. This approach ensures that even if the org-wide SCP is not fully implemented, the Bedrock API key inherits the same restrictions, providing a secure and compliant environment for remote sessions.

## MCP Server Integration and Agent Deployment

The MCP server integration with Amazon Bedrock AgentCore enables seamless deployment of AI agents into production environments. With built-in support for runtime integration, gateway connectivity, and agent lifecycle management, the MCP server simplifies the transition from local development to deployment on Amazon Bedrock AgentCore services. To prepare for deployment, developers can install the required packages using the AgentCore CLI and Python SDK via the commands: `npm install -g @aws/agentcore` and `pip install bedrock-agentcore`. The MCP server must then be added to the MCP client’s configuration file. Once the agent is transformed for AgentCore Runtime compatibility, it can be deployed using the AgentCore CLI through the MCP client, ensuring secure and scalable execution in remote sessions.

## Sources and reporting notes

- [AWS Machine Learning](https://aws.amazon.com/blogs/machine-learning/extend-claude-code-to-remote-sessions-on-amazon-bedrock-agentcore-with-security-controls/?ref=stirup.si)
- [skaylink.com](https://www.skaylink.com/en/insights/blog/claude-code-cowork-anthropic-to-amazon-bedrock/?ref=stirup.si)
- [docs.aws.amazon.com](https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/mcp-getting-started.html?ref=stirup.si)
- [code.claude.com](https://code.claude.com/docs/en/amazon-bedrock?ref=stirup.si)

Based on published source material. No independent hands-on testing is claimed.