Skip to content
unzoi docs

Bedrock AgentCore

A remote MCP target behind an AgentCore Gateway.

Kind Framework
Transport Registered as an MCP target; the gateway holds the credential.
Config

Setup

  1. Create an AgentCore Gateway, or use an existing one.
  2. Add the endpoint as an MCP target.
  3. Store the API key in Secrets Manager and give the gateway an outbound credential that reads it.
  4. Point your agent at the gateway rather than at this endpoint directly.
# The gateway holds the credential; the agent never sees it.
Target type:  MCP
Endpoint:     https://api.unzoi.com/mcp
Auth:         API key header, x-api-key
Secret:       arn:aws:secretsmanager:REGION:ACCOUNT:secret:unzoi-api-key

What differs here

  • The reason to front this with a gateway rather than calling it directly is credential handling: the key lives in Secrets Manager and never reaches the agent’s context or its logs.
  • The gateway is also where to put an outbound rate limit, so a runaway agent hits a limit you control before it hits the one you are billed for.
  • One key per gateway keeps usage attributable. The console reports usage per tenant, so several agents sharing one key are indistinguishable in it.

Next

Endpoint, for copying: https://api.unzoi.com/mcp