

# Tutorial: Query the sample Agent Context over MCP

Your agents reach an Agent Context through the Model Context Protocol (MCP). AWS Context runs a remote MCP server, and your MCP client connects to it through `mcp-proxy-for-aws`, a local proxy that signs each request with your AWS credentials. In this tutorial, you connect Claude Code to the sample Agent Context, ask it a question, and examine how AWS Context built the answer.

The same configuration works with other MCP clients, such as Kiro. For more information, see [MCP retrieval](mcp-server.md#mcp-retrieval).

**Topics**
+ [Prerequisites](gs-mcp-prerequisites.md)
+ [Step 1: Get the connection details](gs-mcp-details.md)
+ [Step 2: Add the MCP server to your client](gs-mcp-add.md)
+ [Step 3: Ask a question from your agent](gs-mcp-ask.md)
+ [Step 4: Examine how the answer was built](gs-mcp-inspect.md)
+ [Clean up](gs-cleanup.md)