Setting up your AWS MCP Server
This section outlines how you can set up your AWS MCP Server.
Prerequisites
Before you begin, you must ensure that you have set up an AWS account.
Sign up for an AWS account
If you do not have an AWS account, complete the following steps to create one.
To sign up for an AWS account
Open https://portal.aws.amazon.com/billing/signup
. Follow the online instructions.
Part of the sign-up procedure involves receiving a phone call or text message and entering a verification code on the phone keypad.
When you sign up for an AWS account, an AWS account root user is created. The root user has access to all AWS services and resources in the account. As a security best practice, assign administrative access to a user, and use only the root user to perform tasks that require root user access.
AWS sends you a confirmation email after the sign-up process is
complete. At any time, you can view your current account activity and manage your account by
going to https://aws.amazon.com/
Create a user with administrative access
After you sign up for an AWS account, secure your AWS account root user, enable AWS IAM Identity Center, and create an administrative user so that you don't use the root user for everyday tasks.
Secure your AWS account root user
-
Sign in to the AWS Management Console
as the account owner by choosing Root user and entering your AWS account email address. On the next page, enter your password. For help signing in by using root user, see Signing in as the root user in the AWS Sign-In User Guide.
-
Turn on multi-factor authentication (MFA) for your root user.
For instructions, see Enable a virtual MFA device for your AWS account root user (console) in the IAM User Guide.
Create a user with administrative access
-
Enable IAM Identity Center.
For instructions, see Enabling AWS IAM Identity Center in the AWS IAM Identity Center User Guide.
-
In IAM Identity Center, grant administrative access to a user.
For a tutorial about using the IAM Identity Center directory as your identity source, see Configure user access with the default IAM Identity Center directory in the AWS IAM Identity Center User Guide.
Sign in as the user with administrative access
-
To sign in with your IAM Identity Center user, use the sign-in URL that was sent to your email address when you created the IAM Identity Center user.
For help signing in using an IAM Identity Center user, see Signing in to the AWS access portal in the AWS Sign-In User Guide.
Assign access to additional users
-
In IAM Identity Center, create a permission set that follows the best practice of applying least-privilege permissions.
For instructions, see Create a permission set in the AWS IAM Identity Center User Guide.
-
Assign users to a group, and then assign single sign-on access to the group.
For instructions, see Add groups in the AWS IAM Identity Center User Guide.
Set up your AWS MCP Server
To set up AWS MCP Server, use the steps in the following sections.
Topics
Step 1: (If applicable) Remove conflicting MCP servers
If you currently have AWS API MCP Server or AWS Knowledge MCP Server installed, we recommend removing them before setting up the AWS MCP Server to avoid tool conflicts that can confuse AI agents and reduce performance.
To remove existing AWS MCP servers:
-
Open your MCP client configuration file.
-
Remove any entries for these servers:
aws-api-mcp-serveraws-knowledge-mcp-server
-
Save the configuration file.
-
Restart your MCP client to apply the changes.
Step 2: Configure AWS credentials
Before connecting to AWS MCP Server, you need to configure AWS credentials on your local machine. The server uses these credentials to authenticate your requests.
You can use the SigV4 via Proxy to authenticate the AWS MCP Server. SigV4 via Proxy uses your available
AWS credentials and requires the MCP Proxy for AWS
Note
If your authentication step worked previously but you have encountered an authentication error, you might need to refresh your credentials and try again.
-
Install the AWS CLI by following the instructions at Installing the AWS CLI.
-
Configure your AWS credentials using one of these methods:
For users with AWS Management Console credentials (Recommended)
From the AWS CLI, run the following command:
aws loginNote
AWS Management Console credentials means that you have a username and password that allows you to sign in to the console. To use this method, you need the AWS CLI version
2.32.0or later.For SSO users
aws configure ssoFollow the prompts to set up your SSO configuration.
For IAM users
aws configureEnter your Access Key ID, Secret Access Key, default region, and output format.
-
Test your configuration:
aws sts get-caller-identity -
Install uv (if not already installed)
On macOS and Linux
curl -LsSf https://astral.sh/uv/install.sh | shWindows
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
Step 3: Configure your MCP client
Set your default AWS Region by adding the --metadata parameter with AWS_REGION. Without
this setting, all AWS operations default to us-east-1.
Note
Replace us-west-2 with your preferred default AWS Region.
Region behavior:
-
Without
--metadataandAWS_REGION: Operations default tous-east-1 -
With
--metadataandAWS_REGION: Operations use your specified Region -
In queries: You can override by specifying a Region (example: "list my EC2 instances in eu-west-1")
Step 4: Configure IAM permissions
If you're not using an administrator role, you must add specific permissions for AWS MCP Server access.
Note
Skip this step if you're using an administrator role.
To configure IAM permissions
-
Open the IAM console at https://console.aws.amazon.com/iam/
-
Choose the user or role you configured in Step 2
-
Add this policy to grant AWS MCP Server access:
{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "aws-mcp:InvokeMcp", "aws-mcp:CallReadOnlyTool", "aws-mcp:CallReadWriteTool" ], "Resource": "*" } ] }
Step 5: Test your connection
-
Start your MCP client (Kiro CLI, Cursor, Claude Desktop, etc.).
-
Wait for the MCP server to initialize (this may take a few minutes on first connection).
-
Test the connection by asking your AI assistant:
Example: What AWS Regions are available?
-
Verify that tools are loaded by running (in Kiro CLI):
/toolsOr to see installed MCP servers:
/mcp
You should see tools like aws__search_documentation and retrieve_agent_sop listed. For
more information about the tools, see Understanding the MCP Server tools.