Agent Setup¶
Install your chosen AI coding agent and configure it to connect to the AWS MCP Server. This gives your agent authenticated access to AWS services throughout the workshop.
Install Your Agent¶
Choose the tab for your AI coding agent and follow the installation steps.
Install Claude Code if you haven't already:
Add the Agent Toolkit plugin:
This registers the AWS MCP Server as a tool provider in Claude Code.
Install Kiro from kiro.dev if you haven't already.
Configure the MCP Server by adding the following to ~/.kiro/settings/mcp.json:
Add Agent Toolkit skills:
Restart Kiro to pick up the new MCP configuration.
Install Cursor from cursor.com if you haven't already.
Configure the MCP Server by creating or editing .cursor/mcp.json in your project root:
Restart Cursor to activate the MCP connection.
Info
Alternative for all agents: You can also run the interactive CLI wizard to configure the Agent Toolkit:
This will guide you through MCP endpoint setup and credential configuration.
Configure AWS Credentials¶
Your agent needs AWS credentials to authenticate with the MCP Server. Workshop Studio provides temporary credentials that you must configure in your local environment.
Get Credentials from Workshop Studio¶
- In the Workshop Studio dashboard, click Get AWS CLI credentials on the left sidebar
- Copy the credentials block — it contains
AWS_ACCESS_KEY_ID,AWS_SECRET_ACCESS_KEY, andAWS_SESSION_TOKEN
Set Credentials Locally¶
Export the credentials as environment variables in your terminal before launching Claude Code:
export AWS_ACCESS_KEY_ID="<your-access-key>"
export AWS_SECRET_ACCESS_KEY="<your-secret-key>"
export AWS_SESSION_TOKEN="<your-session-token>"
export AWS_DEFAULT_REGION="us-east-1"
Then start Claude Code in the same terminal session.
Export the credentials as environment variables in your terminal:
export AWS_ACCESS_KEY_ID="<your-access-key>"
export AWS_SECRET_ACCESS_KEY="<your-secret-key>"
export AWS_SESSION_TOKEN="<your-session-token>"
export AWS_DEFAULT_REGION="us-east-1"
Restart Kiro from the same terminal to inherit the credentials.
Export the credentials as environment variables in your terminal:
export AWS_ACCESS_KEY_ID="<your-access-key>"
export AWS_SECRET_ACCESS_KEY="<your-secret-key>"
export AWS_SESSION_TOKEN="<your-session-token>"
export AWS_DEFAULT_REGION="us-east-1"
Then open Cursor from the same terminal (cursor .) so it inherits the environment.
Export the credentials as environment variables in your terminal before launching Codex:
export AWS_ACCESS_KEY_ID="<your-access-key>"
export AWS_SECRET_ACCESS_KEY="<your-secret-key>"
export AWS_SESSION_TOKEN="<your-session-token>"
export AWS_DEFAULT_REGION="us-east-1"
Then start Codex in the same terminal session.
Warning
Workshop Studio credentials are temporary and expire when your session ends. If your agent stops working during the workshop, refresh credentials from the Workshop Studio dashboard and re-export them.
MCP Server Endpoint¶
All agents connect to the same MCP Server endpoint:
This endpoint provides your agent with authenticated access to AWS documentation search, API tools, and agent skills used throughout the workshop.
Next Step¶
Once your agent is installed and credentials are configured, proceed to Verify Connection to confirm everything is working.