Step 2: Add the MCP server to your client
Add the server to Claude Code with one command. For other MCP clients, paste the configuration from Step 1 into the client’s MCP configuration file.
To add the server to Claude Code
-
In a terminal, run the following command. Replace
my-profilewith your AWS profile andus-east-1with the Region of your Agent Context.claude mcp add agent-context \ --env AWS_PROFILE=my-profile--env AWS_REGION=us-east-1\ -- uvx mcp-proxy-for-aws https://context-mcp.us-east-1.api.aws/mcp \ --service context-mcp --regionus-east-1 -
Confirm that Claude Code can reach the server.
claude mcp get agent-contextThe output shows
Status: ✔ Connected. -
Start a new Claude Code session so that it loads the server’s tools.