Activity Discovery is unique to PlainID: it finds AI agents and the tools they use from what they do, not from what a platform defines. PlainID analyzes the transactional data that passes through your API, AI, or MCP gateway and turns it into a working inventory. It builds the agents, Model Context Protocol (MCP) servers, tools, and APIs it observes into objects that are ready for Policies and enforcement, and it adds observability metrics that show how they behave. Discovery, observability, and enforcement all come from the same traffic.
When an agent calls an API or an MCP tool through a gateway that runs a PlainID Authorizer, the Authorizer reports the transaction to PlainID. PlainID identifies the calling agent, adds it to the AI Agent Registry, and records the tools it reaches. You don't need platform credentials or per-platform connectors, and you don't change your agents.
Why Use Activity Discovery
- Ready for Policy. PlainID doesn't just list what it finds. It builds each discovered agent, tool, and API into an object you can use in Policies and enforce at the gateway.
- Observability built in. The same transactional data that drives discovery also produces observability metrics on callers, agents, resources, and risk.
- No credentials. PlainID never needs API access to the platform where an agent runs.
- Any platform. Custom agents, framework agents, and agents on platforms without a PlainID connector all appear the same way.
- Shadow agents included. PlainID discovers any agent that calls through the gateway, whether or not anyone registered it.
- Always current. Inventory Discovery reflects the state of a platform at the last sync. Activity Discovery runs continuously: PlainID updates its inventory every time an agent makes a call, so the inventory matches the traffic your agents send through the gateway.
- One integration. The same Authorizer that discovers agents and tools also enforces Policy on them.
What It Discovers
- Agents, including shadow agents: active agents that aren't in the AI Agent Registry. PlainID registers them as shadow agents so you can review and govern them.
- Callers: the users who invoke each agent, and their source IP addresses where the gateway reports them.
- MCP servers and tools: the full tool inventory of each MCP server that agents reach through the gateway, enriched and cataloged by function and risk.
- APIs that agents call through the gateway.
How It Works
- An agent sends a request through the gateway.
- The Authorizer evaluates the request and enforces the authorization decision.
- The Authorizer reports the transaction to the PlainID Data Collector, the data processing layer.
- The Data Collector identifies the identity pattern behind the transaction. PlainID supports multiple identity patterns, including humans, non-human identities, AI agents, and applications.
- PlainID discovers the agents, MCP servers, tools, and APIs in the traffic and lists them in the POP's Vendor Objects.
- New agents appear in the AI Agent Registry, and new tools appear in the MCP Controls of the Policy Canvas, ready for Policies on specific user-agent combinations.
Reporting never affects the authorization decision. The Authorizer decides first and reports afterward, so a slow or unavailable Data Collector never blocks or delays a request.
How Tool Discovery Works
When an agent asks an MCP server for its tools (tools/list), the gateway Authorizer reports the server's full tool inventory to PlainID before it filters the list for the caller. Every caller's request reports the same complete inventory, including tools that the caller isn't permitted to use. This gives PlainID a full view of each server's tool surface, regardless of who asks.
On Amazon Bedrock AgentCore Gateway, tool discovery covers all three kinds of MCP targets the gateway serves: remote MCP servers it proxies, APIs it exposes to agents as MCP, and its predefined tool connectors.
Supported Gateways
Most gateways turn on agent and activity reporting separately from MCP tool discovery. Turn on both for a complete inventory.
| Gateway | Agents and activity | MCP tools | Configuration steps |
|---|---|---|---|
| Azure API Management | The insights-discoverer fragment |
The mcp-discovery fragment |
Enable MCP Discovery and Insights |
| Google Apigee | The plainid-insights-discoverer Shared Flow |
The plainid-mcp-bundle Shared Flow |
Enable MCP Activity Discovery and Insights |
| Amazon Bedrock AgentCore Gateway | TransactionalEnabled=true on the Authorizer stack |
DiscoveryEnabled=true on the Authorizer stack (also covers semantic search results) |
Step 4: Choose Your Settings, and Reporting to PlainID |
| Kong Gateway | The plainid-insights plugin, on a data plane connected to Kong Konnect |
plainid-mcp-authz with mode set to discovery or both |
Send Transactional Data With Insights, and Discovery Requirements |
| Microsoft Copilot Studio | MODE set to discovery, with the reporting settings. To keep reporting during enforcement, set MODE to enforce and DISCOVERY_REPORTING to true. |
Same as agents | Reporting to PlainID, and Step 9: Test and Move to Enforcement |
Set Up Activity Discovery
Each gateway needs a Policy Orchestration Point (POP) to receive the discovery reports. The setup order depends on the gateway, because the certificate and the stack outputs come from different places on each one. For each gateway's steps, see its page under Authorizers. Microsoft Copilot Studio connects through Integrated Gateways.
How PlainID Catalogs Discovered Tools
PlainID does more than list the tools it discovers. An AI classification layer enriches each tool with context and catalogs it into buckets:
- Function. What the tool does, for example CI/CD or observability.
- Risk. What the tool can cause, for example destructive or high-cost actions.
Because PlainID catalogs tools into these buckets, you can grant access by intent rather than tool by tool. When a Policy attaches tools through a group (Ruleset) defined by category, new tools that land in that category fall under the Policy automatically. See Granting Access by Category.
Reviewing What It Discovers
- The POP: Observability opens by default and shows the reported traffic. Vendor Objects lists the agents, MCP servers, and tools discovered through the gateway.
- AI Agent Registry: newly discovered agents, including shadow agents.
- Policy Canvas: when you add MCP Controls to a Policy, the Tools section lists the discovered tools. Attach them directly, or through a group (Ruleset) of tools that you define by tool attributes, such as server or category. You can create a group from the right-side panel of the canvas, and reuse it across Policies in the same Workspace.
Each new discovery updates the inventory: PlainID merges tools it already knows, updates tools that changed, and removes tools that no longer exist.
Controlling Access to Discovered Tools
After PlainID discovers and catalogs the tools, you control the tool surface at three levels in the MCP Controls of the Policy Builder:
- Tool discovery. Which tools an agent sees in its tool list.
- Tool invocation. Which tools the user-agent combination may call.
- Parameter constraints. Which values, scopes, and operations the agent may send.
See MCP and Tools.
Limits
- Activity Discovery covers only traffic that passes through a gateway with a PlainID Authorizer. Agents that call APIs or MCP servers directly don't appear.
