Lightlines
By aws

agents-connect

aws1.8k installs

Connect your agent to tools and control its access.

What it does

Connects an agent to external tools through AgentCore Gateway and helps control tool access with Cedar policies.

When to use it

Use when connecting an agent to external APIs or MCP servers, configuring outbound credentials, restricting tools, or troubleshooting gateway authorization.

How to use it

Ask to connect your agent; it asks what you are connecting to and provides a recommended integration, setup commands, and client code.

Uses

Good to know

  • sends a credential to a server: API key; OAuth client secret

Latest review

What you need · 3

Requires the agentcore CLI version 0.9.0 or later; older versions must be updated before proceeding.

For API-key authentication, the recommended interactive prompt sends the supplied key directly into the Secrets Manager-backed credential provider.


Access · 3

This skill

AgentCore

Write

Configures gateways and stores credentials

AWS docs

Read

Checks current gateway authentication docs