Agent Toolkit for AWS: Install the AWS MCP Server and Skills in Claude Code, Codex, Cursor and Kiro (Plus the New SageMaker AI Skill)

Logeshwaran
—

The Agent Toolkit for AWS is AWS's free, official kit that teaches AI coding agents to work with AWS: a managed AWS MCP Server, 114 ready-made skills, one-install plugins and a recommended rules file. In Claude Code you install it with /plugin install aws-core@claude-plugins-official; in Codex with codex plugin marketplace add aws/agent-toolkit-for-aws; in Kiro or Cursor with an MCP config plus npx skills add aws/agent-toolkit-for-aws/skills; or on any of them with one AWS CLI command, aws configure agent-toolkit. On October 13, 2026, AWS added a SageMaker AI skill, aws-ai-ml, so your agent can now pick, fine-tune and deploy models on SageMaker too. The surprise is the price tag nobody mentions: the plugin itself is free, but it adds about 4,765 tokens to every Claude Code session before you type a word.

Ethan, a developer, runs the booking app for his friend Jake's phone repair shop on AWS. He does most of his coding with Claude Code now, and it kept tripping over AWS: it reached for a service AWS retired last year, guessed at IAM policies, and retried the same failing command five times. When he read that AWS had shipped an official toolkit for exactly this, he installed it that evening. The very first install command failed with "Plugin not found". This page is everything he worked out after that, for Claude Code, Codex, Cursor and Kiro, on Windows 11, Mac and Kali Linux.

⚡ Quick Answer

• Claude Code: /plugin install aws-core@claude-plugins-official, then /reload-plugins. Got "not found in marketplace"? Install it from AWS's own marketplace instead.

• Codex, Cursor or Kiro: each has its own route. Pick yours from the table.

• One command for every agent: aws configure agent-toolkit --yes on AWS CLI 2.35.0 or later. What it writes, and the credentials trap.

• No AWS account yet? Documentation search still works; running AWS commands doesn't. What works without credentials.

• Worried it will delete something? One IAM condition key blocks deletes made through the agent only. The read-only setup.

Here for SageMaker? Install just the new aws-ai-ml skill.

New to AWS permissions? Our plain-English guide to IAM explains users, roles and policies in a few minutes, and it's the one idea this whole toolkit leans on. Every step below starts from zero.

🧭 NEW HERE? READ THESE FIRST

New to AWS permissions and AI coding agents? These five pages make the rest of this one easy:

📌 Bookmark this; the install table and the error table are the parts you will come back for.

What the Agent Toolkit for AWS is (and what it isn't)

AI coding agents are good at the AWS tasks they saw a thousand times in training, like creating an S3 bucket. They struggle with newer services, multi-step setups and anything that changed after their training data was collected. AWS built the toolkit to close that gap. It has four parts, and you can use any of them on its own:

PartWhat it isWhere it lives
AWS MCP ServerA managed server, run by AWS, that your agent talks to over the Model Context Protocol. It searches current AWS documentation, checks which Regions have a service, and, once you sign in, runs AWS API calls and Python scripts in a sandbox.AWS's cloud, in 8 Regions. Your machine only runs a small proxy.
SkillsFolders with a SKILL.md file plus reference files: step-by-step procedures, service decision guides, troubleshooting guides and SDK tips. The agent loads one only when your task needs it.Your agent's skills folder, such as ~/.claude/skills or ~/.kiro/skills
PluginsOne-install bundles of the MCP Server setup plus a set of skills, for Claude Code, Codex and Cursor.Your agent's plugin system
Rules fileStanding instructions, such as "search the docs before acting" and "prefer infrastructure as code".CLAUDE.md, AGENTS.md, .cursor/rules/ or .kiro/steering/

What it isn't: it isn't a model, it isn't an AI assistant of its own, and it isn't Amazon Q or Kiro. You keep the agent you already use. The toolkit is the AWS knowledge and access you plug into it.

It's also not brand new. AWS published the first user guide on November 30, 2025, made the toolkit generally available on April 30, 2026, added the AWS CLI commands on June 8, sign-in with OAuth on July 8, and six more Regions on September 30. The October 13 news is the AWS AI/ML skill for SageMaker AI. AWS calls the toolkit the successor to the MCP servers and plugins it released under AWS Labs in 2025; those keep working, and the section near the end shows how the two overlap.

Jake: "So it's a plug-in that makes your AI better at AWS. Does it cost anything?"

Ethan: "The toolkit is free. Whatever it builds in your account costs the normal price, and it uses up some of my AI tokens. That last part surprised me."

Before you start on Windows 11, Mac and Kali Linux: uv, the AWS CLI and credentials

Every install route needs uv, because the small proxy that connects your agent to the AWS MCP Server is a Python program that uvx downloads and runs. Two routes also need the AWS CLI. Install these first and the rest takes a few minutes.

1. Install uv

On Mac and Kali Linux (or any Linux), in a terminal:

curl -LsSf https://astral.sh/uv/install.sh | sh

On Windows 11, in PowerShell:

powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

Open a new terminal afterward so uv and uvx are on your PATH, and check with uv --version. On Linux the installer puts both in ~/.local/bin.

2. Install or update the AWS CLI (2.35.0 or later)

The aws configure agent-toolkit wizard and the aws agent-toolkit skill commands need AWS CLI version 2.35.0 or later. Sign-in with aws login needs 2.32.0 or later. Check what you have:

aws --version

If it's older, or you get "command not found", install the current version 2: the MSI on Windows 11, the .pkg on Mac, and the zip on Linux. On Kali Linux and other Linux on x86_64:

curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o awscliv2.zip
unzip awscliv2.zip
sudo ./aws/install --update
aws --version

Skip the distro package (apt install awscli) here: it's often an older release that may not have the agent toolkit commands yet.

3. Sign in to AWS (optional for docs search)

You can skip this step if you only want your agent to search AWS documentation. To let it read or change anything in your account, it needs credentials. AWS's recommended way is:

aws login
aws sts get-caller-identity

aws login opens your browser, and the CLI then rotates the credentials every 15 minutes for sessions of up to 12 hours. If you already use IAM Identity Center, aws configure sso works too. The second command proves it worked by printing your account number and the role you're using. If it says "Unable to locate credentials", our guide to that error walks through every cause.

Which install route to pick for your agent

Your agentEasiest routeWhat you get
Claude CodePlugin: /plugin install aws-core@claude-plugins-officialMCP Server + 25 skills + a safety hook
CodexPlugin: codex plugin marketplace add aws/agent-toolkit-for-aws, then /pluginsMCP Server + skills
CursorPlugin from a team marketplace pointing at aws/agent-toolkit-for-awsMCP Server + skills
Kiro (IDE or CLI)MCP config in .kiro/settings/mcp.json + npx skills addMCP Server + skills, set up separately
Several agents at onceaws configure agent-toolkit --yesMCP Server + 24 default skills for every agent it finds
Anything else that speaks MCP (Windsurf, Cline, Gemini CLI, Devin, Claude Desktop)Add the AWS MCP Server URL to its MCP settings + npx skills addMCP Server + skills

A plugin is the simplest choice when your agent supports plugins: one install, and the server and skills arrive together. The AWS CLI wizard suits people who switch between two or three agents and want the same skills in all of them.

Install the Agent Toolkit for AWS in Claude Code

The official command is two lines, typed inside Claude Code (not in your shell):

/plugin install aws-core@claude-plugins-official
/reload-plugins

That pulls the aws-core plugin from claude-plugins-official, Anthropic's plugin marketplace, which already lists AWS's plugins. AWS's tip for a "Plugin not found" error is to refresh your copy of that marketplace first:

/plugin marketplace update claude-plugins-official

When the install fails with "not found in marketplace"

This is where Ethan got stuck. On a fresh Claude Code 2.1.299 install, before the official marketplace had ever been added, the first command failed like this:

Failed to install plugin "aws-core@claude-plugins-official": Plugin "aws-core" not found in marketplace "claude-plugins-official"

And the update command didn't help, because there was nothing to update:

Failed to update marketplace(s): Marketplace 'claude-plugins-official' not found.

Run /plugin marketplace list (or claude plugin marketplace list in your shell) to see which marketplaces you have. If claude-plugins-official isn't in the list, the fastest fix is to install straight from AWS's own marketplace, which is the GitHub repository itself:

/plugin marketplace add aws/agent-toolkit-for-aws
/plugin install aws-core@agent-toolkit-for-aws
/reload-plugins

That route installed cleanly: aws-core version 1.1.0, enabled, at user scope (so every project gets it). The same three commands work from your shell as claude plugin marketplace add aws/agent-toolkit-for-aws and claude plugin install aws-core@agent-toolkit-for-aws.

Check that it's connected

Start a new conversation and ask:

What AWS Regions are available?

If you get a list of Regions back, the AWS MCP Server is working. Then try something real, such as "What AWS services should I use to build a serverless API?" You don't need to name a skill; the agent finds the right one from your request.

What the plugin costs you in tokens

This is the part nobody puts on the box. Claude Code can tell you exactly how much a plugin adds to every session:

claude plugin details aws-core

For aws-core 1.1.0, it reports 25 skills, 1 hook and 1 MCP server, and a projected always-on cost of about 4,765 tokens added to every session. That's the short description of each skill, which the agent reads up front so it knows when to load one. A skill's full instructions only load when your task needs it, and the biggest are around 9,000 tokens (aws-serverless is about 9.1k, amazon-bedrock about 8.3k). The MCP Server's own tool list loads at runtime and isn't counted in that number.

Jake: "Is 4,765 a lot?"

Ethan: "It's like a page and a half of reading the AI does before every conversation. Fine for a project that lives on AWS. For the shop's flyer generator, I turn the plugin off."

That's the practical rule: enable the plugin in projects that touch AWS and disable it elsewhere with claude plugin disable aws-core (turn it back on with claude plugin enable aws-core). If you run Claude Code itself through Amazon Bedrock, our Claude Code on Bedrock setup guide covers that side; the toolkit works the same either way.

The safety hook that comes with it

The Claude Code version of aws-core also installs a PreToolUse hook called secret-safety.py. It watches Bash commands and AWS tool calls and blocks any attempt to read a secret's value directly from AWS Secrets Manager, such as aws secretsmanager get-secret-value. Instead, it points the agent to a pattern that passes the secret to your program without printing it into the conversation. If the agent tells you "Direct secret fetching is blocked", that's the hook doing its job, not an error in your account.

Claude Code without the plugin: just the MCP Server

If you want the server without the skills, add it as a remote MCP server and sign in through your browser (the OAuth route, explained below):

claude mcp add aws-mcp https://aws-mcp.us-east-1.api.aws/mcp --transport http

Or keep using your AWS CLI credentials through the proxy (the SigV4 route), with a default Region for your work:

claude mcp add-json aws-mcp '{"type":"stdio","command":"uvx","args":["mcp-proxy-for-aws-cli@latest","https://aws-mcp.us-east-1.api.aws/mcp","--metadata","AWS_REGION=us-west-2"],"env":{}}'

On Windows 11 PowerShell, quoting JSON inside single quotes is fragile. Using the plugin route there avoids the quoting entirely.

Install it in Codex

Codex installs plugins from marketplaces too. In your terminal:

codex plugin marketplace add aws/agent-toolkit-for-aws

On codex-cli 0.162.1 this printed Added marketplace `agent-toolkit-for-aws` from https://github.com/aws/agent-toolkit-for-aws.git. Then start Codex, type /plugins, and install aws-core from the list. To add only the MCP Server instead, Codex has its own command; the OAuth version needs ?oauth=initialize on the end of the URL:

codex mcp add aws-mcp --url https://aws-mcp.us-east-1.api.aws/mcp?oauth=initialize

For the rules file, Codex reads AGENTS.md in your project root. Paste the contents of AWS's recommended rules file (rules/aws-agent-rules.md in the GitHub repository) into it.

Install it in Cursor

Cursor adds the toolkit as a team marketplace. Open Settings → Plugins → Team Marketplaces → Add Marketplace → Import from Repo, and point it at aws/agent-toolkit-for-aws. Then open the Plugins panel and install aws-core first, adding aws-agents or aws-data-analytics later if you need them.

For the MCP Server alone, add it as a remote MCP server with this URL; Cursor needs the ?oauth=initialize ending to start the sign-in:

https://aws-mcp.us-east-1.api.aws/mcp?oauth=initialize

Cursor's rules go in .cursor/rules/; AWS suggests a file named .cursor/rules/aws.mdc. The old .cursorrules file still works but is deprecated.

Install it in Kiro (IDE and CLI)

Kiro doesn't use a plugin. You set up the two halves separately, and each works without the other.

  1. Add the AWS MCP Server to ~/.kiro/settings/mcp.json (all projects) or .kiro/settings/mcp.json (one project):
    {
      "mcpServers": {
        "aws-mcp": {
          "command": "uvx",
          "timeout": 100000,
          "transport": "stdio",
          "args": [
            "mcp-proxy-for-aws-cli@latest",
            "https://aws-mcp.us-east-1.api.aws/mcp",
            "--metadata", "AWS_REGION=us-west-2"
          ]
        }
      }
    }
  2. Install the skills:
    npx skills add aws/agent-toolkit-for-aws/skills
    They land in ~/.kiro/skills/ (global) or .kiro/skills/ (project). Kiro finds them on its own.
  3. Restart Kiro, then check with /tools or /mcp in Kiro CLI. You should see tools such as aws___search_documentation and aws___retrieve_skill.

Change AWS_REGION=us-west-2 to the Region your resources live in. The Region in the URL only picks which MCP Server you connect to; the metadata line sets where your AWS operations run. Leave it out and they default to us-east-1.

Kiro CLI 2.11 or later can also add the server with OAuth in one line:

kiro-cli mcp add --name aws-mcp --url https://aws-mcp.us-east-1.api.aws/mcp

Kiro's rules files go in .kiro/steering/.

The one-command route: aws configure agent-toolkit

If you use more than one agent, the AWS CLI can set them all up at once:

aws configure agent-toolkit

It's an interactive wizard. Add --yes to accept every default without prompts: select all detected agents, install the default skills, and configure the AWS MCP Server. Here is what it actually does, step by step, on AWS CLI 2.38.0:

  1. It looks for agents by their config folders, such as ~/.claude for Claude Code and ~/.kiro for Kiro. An agent you installed but never opened may have no folder yet, so open it once first.
  2. It installs 24 default skills into each agent it found: amazon-bedrock, aws-ai-ml, aws-auth, aws-billing-and-cost-management, aws-blocks, aws-cdk, aws-cloudformation, aws-compute, aws-containers, aws-database, aws-deployment, aws-iam, aws-messaging-and-streaming, aws-networking, aws-observability, the three SDK usage skills (JavaScript v3, Python, Swift), aws-security, aws-serverless, aws-storage, aws-well-architected-review, launch-with-aws and signing-in-to-aws.
  3. It writes the MCP Server into each agent's config: ~/.claude.json for Claude Code and ~/.kiro/settings/mcp.json for Kiro, and prints "updated" for each.

Restart your agents afterward so they load the new setup.

The credentials trap in the wizard's config

Look at what the wizard wrote for Claude Code:

{
  "mcpServers": {
    "aws-mcp": {
      "command": "uvx",
      "args": [
        "mcp-proxy-for-aws@latest",
        "https://aws-mcp.us-east-1.api.aws/mcp",
        "--metadata",
        "INSTALL_SOURCE=aws-cli"
      ]
    }
  }
}

Compare it with the plugin, whose config adds --skip-auth. That flag decides what happens when no AWS credentials are found. With it, the proxy connects anyway and the free documentation tools work. Without it, as in the wizard's config, the proxy refuses to start:

No AWS credentials available. Configure credentials or use --skip-auth to send unsigned requests.

Your agent then sees zero AWS tools, and if you ask it an AWS question it simply answers from memory, which is the exact problem you installed the toolkit to fix. So after the wizard, either sign in (aws login) before you start your agent, or add "--skip-auth" to the args list if you only want documentation search for now. The wizard also leaves out AWS_REGION, so add "--metadata", "AWS_REGION=your-region" if your work isn't in us-east-1.

You'll also notice two package names: the wizard uses mcp-proxy-for-aws and the docs use mcp-proxy-for-aws-cli. Both are the same MCP Proxy for AWS (version 1.7.0 for both on October 14, 2026); the -cli package is a version-pinned distribution of the command. Either works.

Two error messages you may see first

With no agent folders at all, the wizard and add-skill stop with:

aws: [ERROR]: An error occurred (ParamValidation): No supported AI coding agents found.

Open your agent once so it creates its folder, then run the command again. And if your CLI has no default Region, catalog commands fail even though they don't need credentials:

aws: [ERROR]: An error occurred (NoRegion): You must specify a region. You can also configure your region by running "aws configure".

Add --region us-east-1 to the command, or set a default with aws configure set region us-east-1.

Managing skills from the command line

The aws agent-toolkit commands manage individual skills. Install, update and remove apply to every detected agent unless you add --agent (for example --agent kiro).

CommandWhat it does
aws agent-toolkit list-available-skillsLists the whole catalog: 114 skills on October 14, 2026. Add --category-filter aws-core for the 24 core ones.
aws agent-toolkit search-skills --search-query sagemakerSearches the catalog by topic
aws agent-toolkit get-skill-metadata --skill-name aws-ai-mlShows a skill's version, description and file list
aws agent-toolkit add-skill --skill-name aws-serverlessInstalls one skill to all detected agents; --skill-version v1 pins a version
aws agent-toolkit list-installed-skillsShows each installed skill, the agent and its file path
aws agent-toolkit check-skill-updatesChecks your installed skills against the catalog
aws agent-toolkit update-skill --skill-name aws-serverlessUpdates one skill to the latest version
aws agent-toolkit remove-skill --skill-name aws-serverlessRemoves it; add --agent to remove it from one agent only

The catalog commands worked with no AWS credentials at all, as long as a Region was set.

Credentials: what works without an AWS account, and SigV4 vs OAuth

Here's what the AWS MCP Server offers, with and without signing in. This is the plugin's setup, with --skip-auth, connected with no credentials on the machine:

ToolWhat it doesWithout credentials
aws___search_documentationSearches all AWS docs, API references and skillsWorks
aws___read_documentationFetches a docs page as MarkdownWorks
aws___retrieve_skillLoads a skill on demand, no local install neededWorks
aws___list_regionsLists AWS RegionsWorks
aws___get_regional_availabilityChecks whether a service, API or CloudFormation resource exists in a RegionWorks
aws___run_scriptRuns Python with AWS API access in a sandboxFails: needs credentials
aws___get_presigned_urlMakes S3 upload and download linksFails: needs credentials
aws___get_tasksChecks on long-running scriptsFails: needs credentials

A search for "fine-tune a model on SageMaker AI" came back with the SageMaker "Fine-Tune a Model" page, no account needed. The run_script call failed with a slightly misleading message, since there were no credentials to expire:

Tool call 'aws___run_script' failed due to expired or invalid AWS credentials. Please refresh your credentials and retry.

Without credentials you also get less capacity: unauthenticated requests are limited to 5 per second per IP address, while signed-in requests get 10 per second per AWS account.

Option A: OAuth (sign in through the browser)

OAuth needs no proxy and no stored credentials. The first time your agent calls a tool, a browser window opens to AWS Sign-in; tokens last 1 hour and refresh automatically for up to 12 hours. Your IAM user or role needs one AWS managed policy first:

aws iam attach-role-policy \
  --role-name MyRole \
  --policy-arn arn:aws:iam::aws:policy/AWSMCPSignInOAuthAccessPolicy

Without it, you'll see a 400 error page right after signing in. OAuth is the right choice for web clients like Claude.ai and for one account. It can't switch between accounts in one session and has no read-only mode.

Option B: SigV4 (your AWS CLI credentials, through the proxy)

SigV4 is what the uvx mcp-proxy-for-aws-cli configs above use: the proxy signs every request with whatever credentials your AWS CLI has. Choose it when you work across several AWS accounts, want to set a default Region, need read-only mode, or your company blocks the OAuth sign-in permissions (signin:AuthorizeOAuth2Access and signin:CreateOAuth2Token). With several named profiles configured, the agent can even pick a profile per call.

The new SageMaker AI skill (aws-ai-ml)

The October 13, 2026 launch is a skill named aws-ai-ml, version v6 in the catalog on October 14. It lets your agent take a model from idea to endpoint on SageMaker AI in plain language: choosing a base model from SageMaker JumpStart, preparing and checking a dataset, fine-tuning (SFT, DPO, RLVR and RLAIF), training and processing jobs, evaluation, deploying to SageMaker or Bedrock, inference optimization for latency, throughput and cost, endpoint diagnostics, and MLflow experiment tracking. AWS charges nothing extra for the skill; you pay for the SageMaker resources your agent starts.

It's already part of aws-core, so the plugin and the CLI wizard both install it. To add just this one skill:

# with the AWS CLI, to every detected agent
aws agent-toolkit add-skill --skill-name aws-ai-ml

# or with npx, to Claude Code only, globally, without prompts
npx skills add aws/agent-toolkit-for-aws/skills -s aws-ai-ml -a claude-code -g -y

Either way it lands in ~/.claude/skills/aws-ai-ml: 119 files, about 1.1 MB, mostly reference guides and code templates for each fine-tuning method. In Claude Code it adds only about 240 tokens to every session and about 1.8k when it loads. It also comes pre-installed in SageMaker Studio's JupyterLab, so if you work there, you already have it.

Training jobs and endpoints are where an agent can run up a real bill: training bills for every minute the job runs, and a deployed endpoint keeps billing by the hour until someone deletes it, busy or idle. Ask your agent to tell you the instance type and expected cost before it starts anything, and to delete endpoints when you're done. If SageMaker itself is new to you, start with our plain-English SageMaker guide, and our Bedrock vs SageMaker AI comparison explains when you don't need SageMaker at all.

Keep the agent from deleting things: IAM condition keys and a read-only setup

Jake: "If the AI can run commands in the account, can it delete my bookings?"

Ethan: "Only if the account lets it. And AWS tags every request that comes through the toolkit, so I can block deletes from the AI without blocking them for me."

The AWS MCP Server has no permissions of its own. It signs requests as you, adds two condition keys, and the AWS service checks your normal IAM policies. Those two keys are what make agent-only rules possible:

  • aws:ViaAWSMCPService is true for any request through an AWS managed MCP server.
  • aws:CalledViaAWSMCP names the exact server, such as aws-mcp.amazonaws.com for the AWS MCP Server (the EKS and ECS MCP servers have their own names).

This statement lets the agent read from S3 but stops it from deleting objects or buckets, while you keep full access from your own terminal:

[
  {
    "Sid": "AllowS3ReadOperations",
    "Effect": "Allow",
    "Action": ["s3:GetObject", "s3:ListBucket"],
    "Resource": "*"
  },
  {
    "Sid": "DenyDeleteWhenAccessedViaMCP",
    "Effect": "Deny",
    "Action": ["s3:DeleteObject", "s3:DeleteBucket"],
    "Resource": "*",
    "Condition": {
      "StringEquals": { "aws:CalledViaAWSMCP": "aws-mcp.amazonaws.com" }
    }
  }
]

To block the toolkit completely for some people, deny "Action": "*" with the condition "Bool": { "aws:ViaAWSMCPService": "true" }. That works in a normal IAM policy or in an organization-wide SCP. If our IAM policy guide is new to you, read it before you paste either one.

Three more habits Ethan uses:

  • Give the agent its own role with only the permissions the project needs, instead of your admin user.
  • Use AWS's rules file. Paste rules/aws-agent-rules.md into your CLAUDE.md or AGENTS.md, and add your own lines, such as your default Region, naming rules, tags, and "never create anything larger than t3.medium without asking".
  • Watch it. Every call shows up in CloudTrail, and the server publishes CloudWatch metrics, so you can see what the agent did after the fact.

If you set up IAM permissions for the AWS MCP Server during its preview, delete any aws-mcp:InvokeMcp, aws-mcp:CallReadOnlyTool or aws-mcp:CallReadWriteTool actions. They no longer do anything, so a Deny written with them no longer blocks anything; rewrite it with the condition keys above.

Agent Toolkit for AWS errors and fixes

MessageCauseFix
Plugin "aws-core" not found in marketplace "claude-plugins-official"That marketplace isn't added in your Claude Code, or your copy is old/plugin marketplace update claude-plugins-official; if it's missing, install from aws/agent-toolkit-for-aws as shown above
No supported AI coding agents found.The AWS CLI found no agent config foldersOpen your agent once, then run the command again
(NoRegion) You must specify a region.No default Region in your CLIAdd --region us-east-1 or set a default
No AWS credentials available. Configure credentials or use --skip-auth to send unsigned requests.The proxy was started without --skip-auth and found no credentials; the agent gets zero AWS toolsaws login, then restart the agent; or add --skip-auth for docs only
failed due to expired or invalid AWS credentialsA tool that needs credentials was called with none, or with expired onesaws login or aws sso login --profile name, then retry
ExpiredTokenException: Your AWS session token has expired.Temporary credentials ran out, usually after an hourSign in again and restart the agent; aws login rotates credentials for up to 12 hours
UnrecognizedClientException: The security token included in the request is not recognized.Revoked, malformed or wrong-partition credentialsCheck with aws sts get-caller-identity; see our full guide to this error
InvalidSignatureException: The request signature we calculated does not matchMost often a computer clock that's off by more than 5 minutesSync your clock (Windows: Settings → Time & language → Date & time → Sync now; Linux: timedatectl)
400 page right after OAuth sign-inMissing OAuth permissionsAttach AWSMCPSignInOAuthAccessPolicy
429 responsesOver 5 requests/second unsigned or 10/second per accountSign in for more capacity; slow down parallel calls
Direct secret fetching is blocked.The plugin's safety hook stopped a Secrets Manager readIntended; let the agent use the pattern the message names

The clock one is easy to miss. SigV4 signs each request with the current time, and AWS rejects anything more than 5 minutes off, so a laptop whose clock drifted after a dead battery or a long sleep breaks every signed call while the docs search still works. If your session credentials expire often, our ExpiredToken explainer covers why, and IAM Identity Center users should keep our SSO token guide handy.

Agent Toolkit vs the AWS Labs MCP servers and plugins

Before the toolkit, AWS published separate MCP servers and plugins under AWS Labs, and many setups still have them. The AWS MCP Server replaces two of them directly: the AWS API MCP Server (aws-api-mcp-server) and the AWS Knowledge MCP Server (aws-knowledge-mcp-server). Remove those two from your MCP config when you add the new one, because duplicate tools confuse agents and slow them down. Delete their entries, save, and restart your agent.

The plugin marketplace is where it gets confusing. claude-plugins-official lists both families side by side:

From the Agent Toolkit (aws/agent-toolkit-for-aws)From AWS Labs (awslabs)
aws-core, aws-agents, aws-data-analytics, aws-agents-for-devsecops, aws-startup-advisoraws-serverless, deploy-on-aws, databases-on-aws, aws-amplify, aws-transform, migration-to-aws

Start with aws-core. It already includes skills named aws-serverless and aws-database, so installing the AWS Labs plugins of similar names on top mostly duplicates guidance. The toolkit's edge is the governance: the condition keys, CloudTrail logging and evaluated skills described above. The Labs tools keep working, and their best parts are moving into the toolkit over time.

Of the extra toolkit plugins, aws-agents (8 skills) is for building AI agents with Bedrock AgentCore, aws-data-analytics (13) covers S3 Tables, Glue and Athena data lakes, aws-agents-for-devsecops (13) drives AWS DevOps Agent and AWS Security Agent for incidents, code scans and penetration tests, and aws-startup-advisor covers startup architecture, AWS Activate credits and moving from Azure, GCP, Heroku or the OpenAI and Gemini SDKs to AWS. The startup advisor installs from AWS's own marketplace: /plugin install aws-startup-advisor@agent-toolkit-for-aws.

What it costs: $0, plus tokens and whatever it builds

  • The toolkit: no additional charge. The MCP Server, skills, plugins and rules files are free, and the code is open source under Apache 2.0.
  • AWS resources: everything your agent creates is billed at normal AWS prices. An agent that launches a GPU endpoint and forgets it costs the same as you forgetting it.
  • Your AI tokens: about 4,765 tokens of skill descriptions on every Claude Code session with aws-core on, plus a few thousand more each time a skill loads. On a pay-per-token plan, that's real money over a month of sessions.

The AWS MCP Server runs in 8 Regions: US East (N. Virginia) us-east-1, US West (Oregon) us-west-2, Asia Pacific (Singapore) ap-southeast-1, Asia Pacific (Sydney) ap-southeast-2, Asia Pacific (Tokyo) ap-northeast-1, Europe (Frankfurt) eu-central-1, Europe (Ireland) eu-west-1 and Europe (London) eu-west-2. Swap the Region in the URL, for example https://aws-mcp.eu-west-1.api.aws/mcp, to use a closer one.

Agent Toolkit for AWS: frequently asked questions

What is the Agent Toolkit for AWS?

It's AWS's official set of tools that help AI coding agents work with AWS: a managed AWS MCP Server, ready-made skills, one-install plugins for Claude Code, Codex and Cursor, and a recommended rules file. It works with agents you already use.

Is the Agent Toolkit for AWS free?

Yes. AWS charges nothing for the toolkit, the AWS MCP Server or the skills. You pay normal prices for the AWS resources your agent creates, and your agent's own token usage still counts.

When was the Agent Toolkit for AWS released?

It became generally available on April 30, 2026, after a preview that started with its first user guide on November 30, 2025. AWS CLI support came June 8, OAuth July 8, and the SageMaker AI skill on October 13, 2026.

Where is the Agent Toolkit for AWS on GitHub?

At github.com/aws/agent-toolkit-for-aws, under the Apache 2.0 license. The repository holds the plugins, the skills, the rules files and the marketplace files that Claude Code, Codex and Cursor read.

How do I install the AWS MCP Server in Claude Code?

Install the aws-core plugin, which includes it, or add it alone with claude mcp add aws-mcp https://aws-mcp.us-east-1.api.aws/mcp --transport http and sign in through your browser when the first tool runs.

Why does Claude Code say "Plugin aws-core not found in marketplace"?

Your Claude Code doesn't have the claude-plugins-official marketplace, or its copy is out of date. Update it, or add AWS's marketplace with /plugin marketplace add aws/agent-toolkit-for-aws and install aws-core@agent-toolkit-for-aws.

Does the Agent Toolkit for AWS work with Cursor?

Yes. Import aws/agent-toolkit-for-aws as a team marketplace under Settings, Plugins, Team Marketplaces, then install aws-core from the Plugins panel. For the server alone, add the URL ending in ?oauth=initialize.

Does it work with Kiro?

Yes, without a plugin. Add the AWS MCP Server to .kiro/settings/mcp.json and install skills with npx skills add aws/agent-toolkit-for-aws/skills. Kiro CLI 2.11 or later can add the server with kiro-cli mcp add.

Does it work with VS Code or GitHub Copilot?

AWS doesn't name them, but it supports any agent that speaks the Model Context Protocol. If your setup can add MCP servers, add the AWS MCP Server URL and install the skills with npx skills add.

Do I need an AWS account to use the AWS MCP Server?

Not for documentation search, reading docs pages, retrieving skills or checking Regions. Running AWS API calls, scripts or presigned S3 links needs credentials from an AWS account, through aws login or OAuth.

What does aws configure agent-toolkit do?

It finds your coding agents by their config folders, installs 24 default AWS skills into each, and adds the AWS MCP Server to their config files. It needs AWS CLI 2.35.0 or later; --yes skips the prompts.

What is the difference between the AWS MCP Server and the AWS API MCP Server?

The AWS API MCP Server is an older AWS Labs server you run yourself. The AWS MCP Server is managed by AWS, combines API access with documentation search and skills, and adds IAM condition keys. Replace the old one with it.

Which Regions is the AWS MCP Server available in?

Eight: us-east-1, us-west-2, ap-southeast-1, ap-southeast-2, ap-northeast-1, eu-central-1, eu-west-1 and eu-west-2. Six of them were added on September 30, 2026. The AWS_REGION setting decides where your operations run.

What is the SageMaker AI skill in the Agent Toolkit for AWS?

It's the aws-ai-ml skill, added October 13, 2026. It guides your agent through choosing, fine-tuning, evaluating and deploying models on SageMaker AI, plus endpoint diagnostics and MLflow. It's included in aws-core at no extra charge.

How many tokens does the aws-core plugin use?

Claude Code's plugin details report about 4,765 tokens added to every session for aws-core 1.1.0, from the skill descriptions. A skill's full instructions load only when needed, up to about 9,000 tokens for the largest.

Can the AI agent delete my AWS resources?

Only if your IAM permissions allow it. Add a Deny with the condition aws:CalledViaAWSMCP equal to aws-mcp.amazonaws.com on delete actions, and the agent can't delete while you still can from your own terminal.

How do I update Agent Toolkit for AWS skills?

Plugins update when your agent refreshes its marketplace. For skills installed with the AWS CLI, run aws agent-toolkit check-skill-updates, then aws agent-toolkit update-skill with the skill's name.

For readers preparing for an AWS certification

We have been covering AWS certifications alongside our fixes, so here is a short extra for readers studying for one. If you only came for the fix, you already have it; feel free to skip this part.

Exams that test this topic: Developer – Associate (DVA-C03 from December 1, 2026) • AI Practitioner (AIF-C01).

Here are the exam-style questions this topic tends to raise, with the reasoning you need to answer them:

1. How should an AI coding agent get AWS access on a developer laptop?

Through temporary credentials from an SSO profile, never long-term keys pasted into config.

2. How do you limit what an agent can change in an account?

A dedicated role with least-privilege permissions, ideally in a sandbox account.

3. Which protocol lets agents use AWS documentation and APIs as tools?

The Model Context Protocol (MCP), with AWS-provided MCP servers.

4. How do you audit actions an agent took?

CloudTrail records every API call with the role session name.

5. How do you stop runaway costs from agent experiments?

Budgets with alerts and SCPs that block expensive services in sandbox accounts.

6. Where should agent experiments run?

In separate development accounts in AWS Organizations, not production.

Exam codes and dates change often. Our AWS certification changes page keeps track of what is current.

πŸ“š ALSO READ

Where to go next, from the credential errors that stop the toolkit to choosing between Bedrock and SageMaker:

📌 Bookmark this; the install table and the error table apply to every agent you set up.

Ethan got aws-core running from AWS's own marketplace in under ten minutes, signed in with aws login, and gave the agent a role that can read everything but delete nothing through the toolkit. The next time Claude Code reached for that retired service, it searched the current docs first and changed its mind on its own. Jake asked it whether the booking page's database had any backups. It checked, said yes, and told him how many days they keep. He hasn't asked Ethan that question since.

📌 If you keep one line from this page

Install aws-core (from AWS's own marketplace if the official one says "not found"), sign in before you start your agent, and add one IAM Deny with aws:CalledViaAWSMCP so the AI can look but not delete.

The toolkit is free; budget about 4,765 tokens per Claude Code session for it, and turn it off in projects that don't touch AWS.

Revision note. Written October 14, 2026, the day after AWS added its SageMaker AI skill. "Measure twice, cut once," the carpenters say; give your agent the read rights first and the delete rights last.

Related