View a markdown version of this page

Use an AgentCore gateway - Amazon Bedrock AgentCore

Use an AgentCore gateway

After setting up your gateway with targets , you can configure your application or agent to use the gateway through the Model Context Protocol (MCP) . The MCP provides a standardized way for agents to discover and invoke tools.

Note

AgentCore Gateway supports the following MCP versions: * 2025-06-18 * 2025-03-26 * 2025-11-25

You can use the following MCP operations with an AgentCore gateway:

Operation Description

tools/call

Invokes a specific tool with the provided arguments

tools/list

Lists all available tools provided by the gateway

prompts/list

Lists all available prompts provided by the gateway

prompts/get

Retrieves a specific prompt template, rendered with the provided arguments

resources/list

Lists all available resources provided by the gateway

resources/read

Reads the contents of a specific resource by URI

resources/templates/list

Lists all available resource templates provided by the gateway

elicitation/create

Requests additional input from the client during a tool call (server-initiated)

sampling/createMessage

Requests an LLM completion from the client during a tool call (server-initiated)

notifications/progress

Reports progress on long-running tool calls (server-initiated)

notifications/message

Sends log messages from the server during tool execution (server-initiated)

The following topics describe how to invoke your AgentCore gateway: