This guide covers registering an existing AgentCore runtime that uses IAM inbound auth (access key credentials). Assumed-role support is not covered here yet.
Guide to registering an AgentCore MCP server
1
Open your AgentCore runtime in AWS
- Sign in to the AWS Console in the region where your runtime lives (for example US East (N. Virginia) /
us-east-1). - Open Amazon Bedrock → AgentCore → Build → Runtime.
- In Runtime resources, click the runtime you want to connect (for example an IAM-backed MCP runtime such as
tfy_mcp_iamortfy_test_mcp_server). Status should be Ready.

Use Build → Runtime, not Discover → Registry. The MCP invoke URL is built from the Runtime ARN (
…:runtime/…), not a registry ARN.2
Copy the Runtime ARN and build the MCP URL
- On the runtime detail page, copy the Runtime ARN.

- Build the MCP URL with this template:
: → %3A, / → %2F). TrueFoundry’s gateway signs the URL as stored — it does not encode the ARN for you.Encode it in a shell:3
Create an IAM user for AgentCore invoke
You need a long-lived IAM access key (access key ID + secret). Temporary Okta/SSO session credentials are not enough — the MCP Gateway SigV4 path currently signs with access key + secret only (no session token).For a quick local test you can temporarily attach 
- In AWS Console, open IAM → Users.
- Click Create user and give it a name (for example
tfy-mcp-agentcore). - On Set permissions, choose Attach policies directly.
- Attach a policy that allows invoke on your runtime ARN. Example:
AdministratorAccess, then remove it after you create keys.
- Finish Create user.
4
Create an access key for that IAM user
- Open the new user → Security credentials.
- Under Access keys, click Create access key.
- Choose Application running outside AWS → Next → Create access key.
- Copy Access key and Secret access key now. The secret is shown only once.
5
Store the keys as TrueFoundry secrets (recommended)
- In TrueFoundry, open Secrets and create (or reuse) a secret group — for example
agentcore-aws. - Add two secrets:
- Key:
AWS_ACCESS_KEY_ID→ value: your IAM access key ID - Key:
AWS_SECRET_ACCESS_KEY→ value: your IAM secret access key
- Key:
- Note each secret’s FQN. It looks like:
6
Register the remote MCP server in TrueFoundry
- Go to MCP Gateway → Add Server → Connect any Remote MCP Server.
- Set URL to the encoded AgentCore MCP URL from earlier.
- Add Collaborators as needed.
- Under Auth Data, select AWS SigV4.
- Fill in:

- Click Add MCP Server (or Update).
7
Optional: apply via manifest / API