View a markdown version of this page

Step 2: Add the MCP server to your client - AWS Context

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

  1. In a terminal, run the following command. Replace my-profile with your AWS profile and us-east-1 with 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 --region us-east-1
  2. Confirm that Claude Code can reach the server.

    claude mcp get agent-context

    The output shows Status: ✔ Connected.

  3. Start a new Claude Code session so that it loads the server’s tools.