AGENTSEC02-BP03 Maintain approved tool registry with security assessments
Every tool an agent can reach is part of its effective privilege surface. A version-controlled registry with documented security boundaries, enforced at invocation time, keeps unvetted or deprecated tools off the agent's call path.
Desired outcome:
-
You maintain a centralized, version-controlled registry of approved tools, each with documented security boundaries, required permissions, data classification levels, and a current vulnerability assessment.
-
Agents can access only tools present in the registry, and unapproved tools are blocked by default.
-
You continually validate the registry for compliance, and deprecated tools are removed from agent access automatically.
Common anti-patterns:
-
Allowing agents to discover and invoke any available tool or MCP server without prior security review and registry approval.
-
Maintaining the tool registry as a static document rather than an enforced control, so agents can bypass it and invoke unapproved tools directly.
-
Failing to distinguish between locally hosted tools and remote MCP servers in the risk assessment, underestimating the expanded scope from external network connectivity.
-
Skipping version pinning for approved tools, so agents pick up new versions that have not undergone security review.
Benefits of establishing this best practice:
-
A deny-by-default posture constrains agent capabilities to a pre-approved, security-reviewed set of tools and operations.
-
Version control helps prevent agents from using tool versions that have not been reviewed and provides an audit trail of which versions were approved and when.
-
Automated compliance checks detect drift from the approved registry and trigger remediation workflows.
Level of risk exposed if this best practice is not established: Medium
Implementation guidance
A tool registry must be enforced at runtime to be effective. Document approved tools in a registry and configure the invocation path to refuse tools that are not on the list. The design pattern is a registry that agents can't bypass: tools reachable only through a gateway target, agents authorized only through a policy engine with default-deny semantics, and an out-of-band compliance process that detects drift between the registry and what is actually configured.
Amazon
Bedrock AgentCore Gateway provides the consolidation point
for agent-to-tool traffic. Each gateway target represents a
backend service or group of APIs exposed as tools to agents, with
defined tool schemas, authentication configurations, and access
controls. Gateway alone isn't deny-by-default, however: adding a
target makes it immediately accessible as an MCP tool to any agent
that reaches the gateway endpoint. To restrict which agents can
invoke which tools, layer
Policy
in Amazon Bedrock AgentCore
Development environments need a second control. When developers
and agents interact with MCP servers through IDE-based tools, an
MCP registry, a JSON allowlist of approved servers hosted on an
HTTPS endpoint such as Amazon S3 or an internal web server, gives
clients a list of servers to fetch at startup and re-sync
periodically (typically every 24 hours). Servers not in the
registry are blocked, and if a locally installed server is removed
from the registry, the client terminates it and helps prevent it
from being re-added. The registry supports version pinning so that
a new version automatically relaunches clients with the updated
version, and the file format follows the
MCP
Registry open standard
At enterprise scale, a centralized MCP server hub consolidates what would otherwise become a proliferation of team-specific connections. Teams develop MCP servers for their specific functions, but servers are hosted centrally and accessible across the organization through a shared registry or discovery API backed by Amazon DynamoDB that catalogs available servers with their descriptions, tool definitions, and access requirements. Network-level access uses AWS PrivateLink and VPC endpoints so agents connect only to trusted organization-hosted servers, and each server runs as an isolated container on Amazon ECS with AWS Fargate for independent scaling without impact on other servers.
Remote MCP servers need a heightened security review. They introduce network connectivity to external services, expanding scope beyond the organization's direct control. Assess authentication mechanisms, data handling practices, and network exposure, and apply network controls such as VPC endpoints and security groups to restrict connectivity to the required endpoints. When onboarding tools to Gateway or the MCP registry, scan API specifications for security risks, validate authentication, assess data handling, enrich tool metadata with descriptions, usage examples, and performance characteristics, and group APIs into gateway targets by business domain, outbound authorization requirements, and API type.
Gateway supports six target types:
-
Lambda functions
-
API Gateway REST APIs
-
OpenAPI schemas
-
Smithy models
-
External MCP servers
-
Built-in templates from integration providers
Built-in templates provide pre-configured, curated integrations for popular SaaS platforms including Salesforce, Slack, Jira, Asana, Zendesk, and ServiceNow, with a vetted subset of provider APIs exposed through the gateway. Routing all tool access through Gateway (internal services, external MCP servers, and native SaaS integrations) consolidates authentication, schema enforcement, and policy evaluation under one endpoint. IDEs such as Kiro, Claude Code, and Cursor connect through the Amazon Bedrock AgentCore MCP Server, which bridges IDE-based MCP clients to the gateway endpoint.
Continuous compliance detection keeps the registry enforceable over time. Maintain a configuration store in Parameter Store, a capability of AWS Systems Manager or AWS AppConfig alongside the gateway configuration, with entries for tool name, approved version, required IAM permissions, data classification level, security review date, and expiration date. Use AWS Config rules to validate that agent deployments reference only registry-approved tools, and trigger Amazon EventBridge notifications for non-compliance. Automated deprecation workflows remove expired tools from the registry, update agent configurations, and help prevent continued use.
Implementation steps
-
Build the structured registry: Create a tool registry in Parameter Store, a capability of AWS Systems Manager or AWS AppConfig with entries for each approved tool covering version, permissions, data classification, and review metadata.
-
Add approved tools as Gateway targets: For agent-to-tool traffic, register approved tools as Amazon Bedrock AgentCore Gateway targets with defined tool schemas, outbound authentication configurations, and access controls. Group targets by business domain, authorization requirements, and API type.
-
Publish an MCP registry for development: Create an MCP registry JSON file that follows the MCP Registry open standard
, host it on an HTTPS endpoint, and configure it in your organization's admin settings with version pinning for each server entry. -
Define the security review process: Establish a review covering API specification scanning, permission assessment, data flow mapping, and authentication mechanism validation, with findings documented in the registry entry and a review expiration date.
-
Build a centralized hub at enterprise scale: For multi-LOB deployments, implement a centralized MCP server hub with an Amazon DynamoDB-backed discovery API, network-level access through AWS PrivateLink and VPC endpoints, and isolated container hosting on Amazon ECS with AWS Fargate.
-
Enforce default-deny through Policy: Configure Cedar policies in AgentCore Policy so only explicitly permitted tools can be invoked, providing a second enforcement layer beyond Gateway target configuration.
-
Apply heightened review to remote MCP servers: Assess network exposure and external authentication, and apply VPC endpoints and security groups to restrict connectivity.
-
Detect registry drift continually: Deploy AWS Config rules to detect agent configurations referencing unapproved tools, and trigger Amazon EventBridge notifications for remediation.
-
Automate deprecation: Expire tools past their review date, remove them from Gateway targets and the MCP registry, and update agent configurations to help prevent continued use.
Resources
Related best practices:
Related documents:
Related examples:
Related services: