View a markdown version of this page

Step 1: Get the connection details - AWS Context

Step 1: Get the connection details

The console provides the Agent Context ID and a ready-made MCP configuration.

To get the connection details

  1. Open the AWS Context console, and choose Agent context in the navigation pane.

  2. Choose agent-context-sample, and then choose the Integration tab.

  3. Under Authentication, make sure that AWS credentials is selected.

  4. Under Connection details, copy the Agent context ID. It starts with ac-.

  5. Under MCP configuration, review the configuration. The console fills in your Agent Context’s endpoint and Region.

    { "mcpServers": { "agent-context": { "command": "uvx", "args": [ "mcp-proxy-for-aws", "https://context-mcp.us-east-1.api.aws/mcp", "--service", "context-mcp", "--region", "us-east-1" ], "env": { "AWS_PROFILE": "default", "AWS_REGION": "us-east-1" } } } }

    Set AWS_PROFILE to the profile that holds your credentials, or remove it to use your default credential chain.