Does the AWS MCP Server let security teams limit what agents can do?
An IT or security lead deciding whether AI agents may call AWS should know that the AWS MCP Server has no permission model of its own. The server defines no IAM actions, signs each request with SigV4 and forwards it, and the downstream AWS service authorizes the call against your existing IAM policies, service control policies, resource control policies and permission boundaries. The server itself carries no charge: AWS made it generally available on May 6, 2026, at no additional cost, so the bill is the AWS resources the agent uses. That means your current IAM design decides what an agent can do, and the gaps are where that design was never written for agent traffic.
Start by confirming which identity the agent runs under. OAuth through AWS Sign-in grants no extra AWS permissions, so the client can only act within what the signed-in user already holds. SigV4 through the MCP Proxy for AWS uses the credentials of a configured profile, and the proxy can inject an aws_profile parameter into tools when several profiles exist. Review those profiles for least privilege, and do not let one broad profile serve every agent. Use the aws:ViaAWSMCPService and aws:CalledViaAWSMCP global condition keys to write explicit allow and deny rules for requests that arrive through the server, and place the same deny rules in SCPs or RCPs where you need them enforced across accounts. Confirm with AWS how these keys behave for each service your agents will reach, since coverage is not described in the supplied facts.
Two gaps need attention. The aws___run_script tool runs Python in a sandbox with AWS API access, so a script can call any API the signed-in identity permits, and the sandbox limits local access rather than AWS access. Read-only mode, which hides write-capable tools from the agent, is documented in the setup guide as a reason to choose SigV4 with the MCP Proxy over OAuth, so confirm whether it is available in your chosen sign-in path before relying on it. Test with a non-production identity, then review the outcome with the AWS MCP Server user guide.
Security controls by sign-in method and capability
This table compares the two AWS MCP Server sign-in paths across the controls that limit what an agent can do. Each cell states whether the control is built in, requires configuration on your side, or is not stated in the sources, so you know what to verify before approval. The main takeaway is that neither path grants extra AWS permissions, and read-only mode is named only for the SigV4 path, so test that path first. The server is available at no additional charge, and you pay only for the AWS resources your agents use.
| Control | OAuth through AWS Sign-in | SigV4 through MCP Proxy for AWS |
|---|---|---|
| IAM enforcement | Built in: actions limited to the signed-in user's existing IAM permissions | Built in: the downstream service authorizes signed requests against your IAM policies |
| Policy types that still apply | Built in: IAM policies, SCPs, RCPs and permission boundaries all still apply | Built in per AWS; confirm the role or user behind the profile carries the boundaries you expect |
| Read-only mode | Not stated in the sources for this sign-in method | Requires configuration: setup guide cites read-only mode, which hides write-capable tools; confirm how to enable it |
| Documentation search without credentials | Built in: works without AWS credentials, per the AWS MCP Server page | Built in: works without AWS credentials, per the AWS MCP Server page |
| Script execution (aws___run_script) | Requires configuration: runs only after sign-in with an account whose IAM permissions cover the calls | Requires configuration: runs only with IAM credentials set in a profile used by the proxy |
| Local filesystem and shell access | Built in: the sandboxed script has no access to local files or shell tools | Built in: the sandboxed script has no access to local files or shell tools |
| aws:ViaAWSMCPService and aws:CalledViaAWSMCP keys | Not stated per sign-in method; confirm the keys appear on OAuth-forwarded requests | Requires configuration: policies must reference the keys to allow or deny actions |
| Profile selection with several profiles | Not stated in the sources for this sign-in method | Built in: the proxy can inject an aws_profile parameter into tools when several profiles exist |
How IAM, condition keys and the MCP Proxy decide each action
The AWS MCP Server does not decide what an agent may do. It defines no IAM actions of its own, so it signs each request with SigV4 and forwards it, and the downstream AWS service authorizes the call against your existing IAM policies. Your permission model is the control, so review the policies attached to the roles and users your agents will sign in as before anything else. Service control policies, resource control policies and permission boundaries apply in the same way they would to a call made from a terminal.
The server adds the global condition keys aws:ViaAWSMCPService and aws:CalledViaAWSMCP to forwarded requests. An IAM policy or service control policy can use them to deny a specific action only when it arrives through the MCP server, for example blocking destructive calls from agents while leaving the same role free to act from approved pipelines. Confirm these keys behave as expected in your own accounts with a test role before relying on them, and check that OAuth sessions are covered by the same statements. OAuth grants no extra AWS permissions: the client can act only within what the signed-in user already holds, so a broad user role becomes a broad agent role.
The aws___run_script tool runs Python in a sandboxed environment with AWS API access. AWS says agents get no access to your local filesystem or shell through it, which means a script cannot read files on the developer's laptop or run commands on the host. The reader still needs to decide what the script may call, because its reach is whatever the signed-in identity can do through the API. When several AWS profiles are configured, the MCP Proxy for AWS can inject an aws_profile parameter into tools, so confirm which profile each tool call uses and remove unneeded profiles from developer machines.
Decisions to make before choosing OAuth or SigV4
Most of the AWS MCP Server controls come down to a few early choices: how the agent signs in, which principal it acts as, and how far the account and Region footprint reaches. Each choice changes what the agent can reach and what your admins can enforce, so settle them together before the first developer connects.
Sign-in method: OAuth or SigV4
OAuth through AWS Sign-in and SigV4 request signing through the MCP Proxy for AWS are the two supported paths. OAuth adds no AWS permissions, so the agent acts only within what the signed-in user already holds. The setup guide points to read-only mode, which hides write-capable tools, as a reason to choose SigV4 with the MCP Proxy. Confirm in your own environment whether your client and policy model need that mode before you standardize on one path.
Setup guideIAM role design for agent principals
The server defines no IAM actions of its own. Each forwarded request is authorized by the downstream AWS service against your existing IAM policies, so the role an agent uses is the real permission boundary. Decide whether agents get dedicated roles with narrow actions, or reuse developer roles that already carry broad access. Dedicated roles make reviews, CloudTrail attribution and revocation easier to reason about.
Whether to deny requests with SCPs or RCPs
The server adds the aws:CalledViaAWSMCP and aws:ViaAWSMCPService global condition keys to forwarded requests. Service control policies or resource control policies can deny actions that arrive through the server, for example write actions in production accounts. Check that your guardrail matches the path you actually use, and test a denied action through each sign-in method so you know the control holds.
IAM integration docsAccount and Region scope
The server is generally available in US East (N. Virginia) and Europe (Frankfurt), as AWS announced on May 6, 2026. Map which accounts and Regions agents may reach, and confirm whether your data residency rules accept those Regions for the calls agents make. Restricting Regions through policy keeps an agent from quietly working in places your security team has not reviewed.
Profile separation across accounts
When the MCP Proxy for AWS is configured with several profiles, it can inject an aws_profile parameter into tools. That lets one agent switch between accounts, which is convenient but widens the blast radius. Decide whether production and development profiles live in the same client configuration, and confirm which profile each tool call used when you review logs.
Keeping older AWS API MCP Server deployments
AWS recommends moving from the older AWS API MCP Server and AWS Knowledge MCP Server to the AWS MCP Server, which it describes as managed with enhanced security controls through IAM condition keys. Inventory existing deployments, since any kept in place will not get the condition-key controls. Set a migration owner and a cutover date, and confirm the replacement covers the tools your teams use.
AWS MCP Server docsHow the answer changes by identity setup and account structure
In a single account, the AWS MCP Server adds little new authorization logic. Requests are signed for your identity and evaluated against the IAM policies already attached to that identity, so the existing policy set is the main control. The server defines no IAM actions of its own, so the first review covers the policies the signed-in user or role already holds.
- Identity policies decide the outcome: Any action the principal can perform directly can also be reached through the server, so review broad write permissions before connecting.
- Condition keys are available: Policies can match
aws:ViaAWSMCPServiceoraws:CalledViaAWSMCPto allow or deny actions that arrive through the server. Read the IAM integration guide before writing these conditions. - Permission boundaries still apply: A boundary attached to the role caps what the agent can do, whichever sign-in method is used.
- Shared roles need separation: If developers and agents share one role, a deny on the server path also affects people who use that role through the server.
Confirm which principals the agents will use, and test a deny on aws:CalledViaAWSMCP in a non-production account before relying on it.
In an AWS Organizations structure, guardrails set in the management account limit what member accounts can do, whatever local grants exist. Because the downstream AWS service authorizes each forwarded request, service control policies (SCPs) and resource control policies (RCPs) apply to agent calls in the same way they apply to human calls. The agent inherits every limit that already applies to the principal.
- SCPs set the ceiling: An SCP can block an action in every member account, so an agent cannot exceed it even if a local policy allows the action.
- RCPs protect resources: RCPs constrain access to resources in member accounts, which matters for data stores an agent might read through the server.
- Condition keys at organization scope: An SCP can use
aws:ViaAWSMCPServiceto block or allow MCP-routed actions across many accounts in one change. - Staged rollout by OU: Enable the server for a sandbox organizational unit first, review denials, then extend it to production units.
- Service coverage: Confirm with AWS which services honor each policy type and key for the calls your agents make.
Before approval, ask your platform team to document which OUs, accounts and policy types govern the agent path, and confirm that no SCP exception applies to the principals the agents will use.
OAuth through AWS Sign-in suits individual developers who connect an MCP client under their own identity. The OAuth grant does not add AWS permissions. The client can act only within what the signed-in user already holds, and IAM policies, SCPs, RCPs and permission boundaries still apply. The signed-in identity therefore defines the full scope of the agent's access.
- No added permissions: The sign-in flow does not widen access, so review the user's policies rather than the client's settings.
- Per-user attribution: Each developer acts under a personal identity, which makes logs easier to tie to a person than a shared key.
- Read-only mode is not described for OAuth: The setup guide cites read-only mode as a reason to choose SigV4, so ask AWS whether an equivalent restriction exists on the OAuth path.
- Session and revocation: Confirm how long OAuth sessions last and how a departing user's access is removed.
- Client approval: Confirm which MCP clients can complete the flow and whether your organization can restrict them.
Before approving OAuth access, confirm the write-capable actions each developer role can perform and the process for ending a session when someone changes roles or leaves.
The SigV4 path uses the MCP Proxy for AWS, which signs requests between the host application and the server using local credential profiles. The setup guide lists read-only mode, which hides write-capable tools from the agent, as a reason to choose this path. When several profiles are configured, the proxy can inject an aws_profile parameter into tools, so the agent may decide which account or role a call uses.
- Read-only mode: Confirm how it is enabled and whether it is enforced by policy or only by the client. A hidden tool is not the same as a denied action.
- Profile selection: Keep the profile list to the minimum needed, since the agent can choose among them when
aws_profileis injected. - Local credentials: Profiles live on developer machines, so define how they are issued, rotated and removed.
- Pair with IAM: Make each profile's role read-only in IAM as well, so the client setting is not the only barrier.
- Confirm with AWS: Ask how profile injection interacts with condition keys in each account.
Before approving this path, have the security team review the profile list, the role behind each profile and whether read-only mode is backed by a policy the developer cannot change.
Regulated workloads usually need agent calls to stay inside approved Regions and approved accounts. The AWS announcement lists general availability in US East (N. Virginia) and Europe (Frankfurt). Those listed Regions do not by themselves show where requests are processed, where temporary artifacts are stored or which Region your endpoint uses. Those points need written confirmation from AWS and your own policy design.
- Approved Regions in policy: Use Region-deny SCPs and
aws:RequestedRegionconditions so agent calls can target only approved Regions. - Processing location: Ask AWS which Region handles requests and where any staged files are kept, and check the answer against your data handling rules.
- Script tool scope: The
aws___run_scripttool runs Python in a sandbox with AWS API access, so restrict who may use it in regulated accounts. - Regional availability: Confirm whether any Region beyond the two listed applies to your endpoint before relying on it.
- Evidence: Keep a record of the policies, Regions and profiles in use so reviewers can trace each approval.
Before go-live, ask your compliance team which Regions and data classes are in scope and get AWS's answers on processing location in writing.
Order of work for a locked-down rollout
This sequence moves the AWS MCP Server from an inventory of existing connections to a tested, policy-enforced setup with audit review in place. Each step ends with a check that tells the reviewer whether the next step can start.
Inventory existing clients and profiles
The cloud platform team lists every AI client, developer workstation and MCP host that can reach AWS through the AWS MCP Server, along with the AWS profiles and identities each one uses. Include both the OAuth path and the SigV4 path through the MCP Proxy for AWS, because each one authenticates differently. The step is complete when every client has a named owner, a sign-in method and an identity that can be traced back to a person or a workload. Anything unassigned is removed or assigned before the next step.
Define least-privilege agent IAM roles
The identity and access team creates dedicated IAM roles for agent use, separate from administrator and shared developer roles. Each role grants only the service actions the agent's documented tasks need, because the AWS MCP Server defines no IAM actions of its own and downstream services authorize every forwarded request. The check is an IAM policy review showing that no role carries broad administrative actions or wildcard resources that the agent does not need. Reviewers should also confirm that OAuth does not expand what a signed-in user can do.
Test the aws:CalledViaAWSMCP condition
Before any organization-wide control is applied, the security team adds the aws:CalledViaAWSMCP and aws:ViaAWSMCPService global condition keys to a test policy attached to a non-production account or a pilot group. They then run representative agent tasks and confirm which requests are allowed or denied. The output is a short test record listing each action tested, the expected result and the observed result. Do not move forward until a human-initiated request from the same user, made outside the MCP path, behaves as intended.
Apply condition keys in organization policies
Once the test results are accepted, the cloud governance team adds the same condition keys to service control policies or resource control policies in the organization, scoped to the accounts and actions the test covered. They should also confirm the policy applies only where intended, since a broad deny can block legitimate automation outside the agent workflow. The check is a documented change record showing the policy version, the target organizational units and the test evidence that supports it. Confirm with the AWS documentation that the condition keys behave as the test showed before extending the scope.
Choose sign-in method and read-only posture
The identity team selects between OAuth through AWS Sign-in and SigV4 through the MCP Proxy for AWS for each client group. The setup guide lists read-only mode, which hides write-capable tools from the agent, as a reason to choose the SigV4 path, so teams that need a strict read-only posture should confirm that mode is available for the path they choose. Record the decision per group with its reason. The check is a tested read-only session in which write-capable tools do not appear and a write attempt fails, with the result saved to the rollout record.
Confirm sandbox and filesystem limits
The security engineering team verifies how the aws___run_script tool behaves in the environment they plan to use. AWS states that agents get no access to the local filesystem or shell tools through this tool, but the team should confirm that boundary in a test and review how pre-signed S3 URLs and the profile injection from the MCP Proxy for AWS are used. The output is a written note covering what the sandbox can reach, what files can be staged and who may generate pre-signed URLs. Do not expand agent use until this note is reviewed and signed off.
Set up CloudTrail review for agent activity
The security operations team confirms that AWS CloudTrail records the API activity of the agent roles and that the logs can be filtered by the condition keys or the identities used for agent sessions. They define who reviews the logs, how often, and which events trigger investigation, such as denied requests or writes outside the approved scope. The check is a test event, traced from an agent action to its CloudTrail record, that the reviewer can find and explain. The rollout is complete when this review path is documented and a named owner accepts it.
What a security reviewer asks to see for AWS MCP Server controls
This table lists the evidence a security reviewer should request for each AWS MCP Server control, where that evidence usually comes from in the AWS console or documentation, and what the public sources do not cover. Use it to build the review request before approving agent access. The main takeaway is that the server defines no permissions of its own, so most of the evidence sits in your IAM, SCP, RCP and CloudTrail configuration.
| Control | Evidence to request | Where it comes from | Not covered by the sources |
|---|---|---|---|
| IAM policies on agent principals | The identity policies, permission boundaries and role trust policies used by the agent's IAM principal, plus the list of actions it can call | IAM console policy and role views; the AWS MCP Server IAM documentation explains that the server defines no IAM actions of its own | Which actions a specific agent will call in practice, since that depends on the prompts and the client |
| SCP and RCP statements using MCP condition keys | Organization policies that deny or allow actions when aws:ViaAWSMCPService or aws:CalledViaAWSMCP is present | AWS Organizations policy console and policy JSON; the global condition keys are documented in the AWS MCP Server IAM page | Whether your existing SCPs already contain these keys, and how each downstream service evaluates them in every case |
| Chosen sign-in method and rationale | A written decision for OAuth through AWS Sign-in or SigV4 through the MCP Proxy for AWS, with the reason recorded | The setup guide compares the two methods and lists read-only mode as a reason to choose SigV4 with the proxy | Long-term token lifetimes and session behavior for each client, which should be confirmed in your own tests |
| Read-only setting | Evidence that write-capable tools are hidden from the agent in the chosen configuration, with a test transcript | Client and proxy configuration files; the setup guide describes read-only mode as hiding write-capable tools | Whether every write path is hidden in every client, and whether a denied IAM action still returns an error as expected |
| Sandbox limits for aws___run_script | Confirmation that scripts run in the sandbox without local filesystem or shell access, and the IAM role that scripts inherit | AWS user guide on tools and the AWS What's New announcement describe the sandbox and its lack of local access | Sandbox CPU, memory, runtime and network limits, and how output is retained, which the sources do not publish in detail |
| CloudTrail records of forwarded requests | Sample CloudTrail events showing the calling identity, the MCP condition key context and the downstream API call | CloudTrail event history and trails in your account, filtered by the signing principal | Whether every MCP-originated event carries the same fields, and the retention period set in your own trail configuration |
| Pre-signed S3 URL and task polling controls | IAM policy limits on S3 actions and the bucket policies that govern generated URLs | S3 console bucket policies and IAM policies for the calling principal | The expiry settings applied to generated URLs by default, which the reviewer should confirm with AWS |
Questions buyers ask before approving the AWS MCP Server
Does the AWS MCP Server cost extra to use?
The server itself carries no additional charge. AWS announced it is available at no additional charge, and customers pay only for the AWS resources their agents use, such as the services an API call reads or changes. Your bill therefore depends on how much the agents do in your accounts, not on the number of MCP connections. Ask AWS and your account team to confirm how any other charges in your environment, such as logging or data transfer, apply to agent activity before you approve a budget line.
Can our team configure the AWS MCP Server controls without outside help?
Yes, many teams can, because the controls are the IAM policies, service control policies, resource control policies and permission boundaries you already manage. The effort depends on how many accounts, principals and AWS profiles the agents use, how many distinct roles you need, and whether you already have a condition-key pattern for MCP traffic. Teams with a small number of accounts and existing IAM discipline usually need less work than organizations spreading access across many accounts. If you want an outside review of those policies and the rollout, DeployOpen runs AI agent rollout security reviews, scoped in writing before work starts.
What drives the effort to lock down the AWS MCP Server?
Three factors drive most of the work: the number of AWS accounts the agents can reach, the number of IAM principals and roles that sign in through OAuth or SigV4, and the number of local AWS profiles configured for the MCP Proxy for AWS. Each added profile or role adds policy to review and test. Multi-account setups with service control policies need more coordination with the team that owns the organization. Reducing the number of profiles and roles, and writing one read-only role for most agent work, shrinks the scope fastest.
Does OAuth give an agent more access than IAM allows?
No. OAuth does not grant extra AWS permissions. The client can act only within the permissions already granted to the signed-in user, and IAM policies, service control policies, resource control policies and permission boundaries still apply to every request. An agent that cannot call an action under IAM will still be refused when it arrives through OAuth. The practical check is to test the signed-in user's effective permissions, because a broad role assigned to a developer becomes the agent's ceiling as well.
Can an AI agent reach files on our local machines through the AWS MCP Server?
Not through the aws___run_script tool. AWS says the tool runs Python in a sandboxed environment with AWS API access, and agents get no access to your local filesystem or shell tools through it. The server can still generate pre-signed S3 URLs, so review which buckets the signed-in identity can reach and whether those links are shared outside the team. Confirm with AWS how the sandbox handles files it stages before you rely on that boundary for regulated data.
Which AWS Regions support the AWS MCP Server?
At general availability, announced on May 6, 2026, the AWS MCP Server was available in the US East (N. Virginia) and Europe (Frankfurt) Regions. If your data residency rules require a different Region, treat that as an open question to confirm with AWS before approval, and check the current list in the AWS user guide at rollout time, since availability can change after launch.
What should we confirm with AWS before rolling out the server?
Confirm the supported Regions for your data, how condition keys such as aws:ViaAWSMCPService and aws:CalledViaAWSMCP behave with your existing service control policies, which sign-in method each team will use, and whether read-only mode fits each workflow. Also ask how CloudTrail records calls that arrive through the server, how long logs are retained, and how temporary data is handled. Get those answers in writing from AWS or your account team and record them as part of the approval file.
Official AWS pages to check each claim against
Before approving the AWS MCP Server, the reviewer should check each security claim against AWS's own documentation, starting with the IAM integration page. That page states how forwarded requests are authorized and which global condition keys, aws:ViaAWSMCPService and aws:CalledViaAWSMCP, let IAM policies and service control policies allow or deny actions that arrive through the managed server. The OAuth page covers the sign-in path and confirms that OAuth does not add AWS permissions. The tools page lists what the agent can call, including the aws___run_script sandbox. The setup guide explains the choice between OAuth and SigV4 through the MCP Proxy for AWS, and the general availability announcement gives the launch date and Regions.
Two GitHub repositories are useful for reference but should not replace the product documentation. The aws/agent-toolkit-for-aws repository describes itself as official, AWS-supported MCP servers, skills and plugins. The separate awslabs/mcp repository hosts open source MCP servers for AWS under the Apache-2.0 license. Reviewers should confirm which package their developers actually install, because the two sources cover different servers and the older AWS API MCP Server and AWS Knowledge MCP Server are being replaced.
The product is recent, so the wording in these pages may change after this review. Record the date you read each page, compare the IAM condition key names and tool list against the live documentation at approval time, and repeat the check before any expansion to new Regions or new client types. Where a page is silent on a control, such as whether a given tool can be disabled individually, treat that as an open question to put to AWS in writing, not as a confirmed capability.
How DeployOpen tests AI agent access to AWS
DeployOpen approaches AWS MCP Server security and permissions as a written, scoped review of the IAM identities, condition keys, tools and admin settings your agents will actually use. We test what an agent can read and change in your own AWS accounts, then document fixes and retest them.
How we scope
- Scope lists which AWS accounts, IAM roles, SCPs and sign-in paths the agent may reach
- Agreed tool inventory covers documentation search, run_script, pre-signed S3 URLs and task polling
- Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts
How we build
- Test identities are configured to match each planned role, including a read-only setup
- We attempt write actions and cross-service calls to check that IAM and condition keys deny them
- Prompt injection, credential handling and sandbox boundaries are tested against the live setup
How we hand over
- Findings report lists each permission gap, its evidence and a recommended fix
- Fix guidance covers IAM policy, SCP and admin settings your team applies in its own environment
- Retest confirms which findings are closed and documents what remains open for your sign-off
How we support
- Retainers cover ongoing review when new tools, roles or accounts are added to the agent setup
- Retesting after AWS updates the server or its tool list keeps the review current
- Evidence packs can support your internal security review and compliance assessment, which auditors then perform

