Discovery adds AI agents to the AI Agent Registry and builds the inventory of Model Context Protocol (MCP) servers and tools those agents reach, so you can write Policies for both without registering anything by hand. The Platform maps every discovered agent to one schema, whatever platform it came from, so you can group agents and write Policies the same way for all of them.
Agents act through tools. An agent that can reach an MCP server can call any tool the server exposes unless something stops it, so you can't govern agents without knowing their tool surface. The same integrations discover both: a POP that reads a platform finds its agents and their assigned tools, and an Authorizer on a gateway finds the agents, MCP servers, and tools in its traffic.
What Discovery Finds
- Agents, including shadow agents: active agents that no platform reported and nobody registered.
- Tools, as each platform assigned them to its agents, and as MCP servers actually expose them at runtime.
- MCP servers and APIs that agents call through a gateway.
- Callers: the users who invoke each agent, and their source IP addresses where the gateway reports them.
- Connections that tools use, such as a Microsoft Foundry project connection and its credential type. PlainID records the credential type only, never keys or tokens.
Choosing a Discovery Method
| If you want to | Use |
|---|---|
| Inventory every agent defined on a platform, including agents that haven't run yet | Inventory Discovery |
| See which tools each platform assigned to its agents | Inventory Discovery |
| Find agents that nobody registered (shadow agents) | Activity Discovery |
| Cover custom agents, such as LangGraph or Microsoft Agent Framework agents, that no platform connector reaches | Activity Discovery |
| Discover the tools MCP servers actually expose, and write Policies for them in the MCP Controls | Activity Discovery |
| Discover without granting PlainID credentials to the platform | Activity Discovery |
| See which users invoke each agent | Activity Discovery |
| Add an agent that neither method reaches | Manual Registration |
Inventory Discovery shows intent: the agents a platform defines and the tools each is meant to use. Activity Discovery shows reality: the agents that are active and the tools MCP servers make available at runtime. Most organizations use both.
Supported Sources
| Source | Method | Agents | Tools |
|---|---|---|---|
| Microsoft Foundry | Platform | Agents in one Foundry project | Assigned tools, grouped by type, and the project connections they use |
| Microsoft Agent 365 | Platform | Agents in your Agent 365 registry, across Microsoft agent frameworks | MCP connectors and assigned tools |
| Amazon Bedrock AgentCore | Platform | Agent runtimes and gateways in an AWS account and Region | Gateway targets |
| Azure API Management | Activity | Agents that call APIs and MCP servers through APIM | MCP tools exposed through APIM |
| Google Apigee | Activity | Agents that call API proxies and MCP servers through Apigee | MCP tools exposed through Apigee |
| Amazon Bedrock AgentCore Gateway | Activity | Agents that call tools through the gateway, identified from the caller's token | Remote MCP servers, APIs exposed as MCP, and predefined tool connectors |
| Kong Gateway | Activity | Agents that call MCP servers through Kong, plus traffic insights | MCP tools exposed through Kong |
| Google Cloud | Platform | Agents across the Google Cloud agent products the service account can read | MCP servers, tools, and toolsets |
| Microsoft Copilot Studio | Activity | Agents that run tools in Copilot Studio | MCP tools, connector actions, and knowledge search, as agents call them |
| Salesforce Agentforce | Platform | Agents defined in your Salesforce org | Agent actions, connected services, MCP servers, and tools |
Each integration runs independently. You can connect the same vendor more than once, for example one POP per Foundry project, and every integration writes to the same shared inventory.
Each integration runs independently. You can connect the same vendor more than once, for example one POP per Foundry project, and every integration writes to the same shared inventory.
Where Discovered Objects Appear
| Object | Where it appears |
|---|---|
| Agents | The AI Agent Registry. Filter by Vendor or Origin to see what one integration discovered. |
| Tools from Inventory Discovery | Vendor attributes on each agent's record in the AI Agent Registry. Use them to understand and group agents. |
| MCP servers and tools from Activity Discovery | Objects in the Tools section of the MCP Controls in the Policy Canvas, ready to attach to Policies. |
| Connections and other vendor objects | The POP's Vendor Objects, and the Access Graph. |
Agent Attributes
Every discovered agent carries the default registry attributes, whatever its source:
| Attribute | Description |
|---|---|
| Agent ID | The agent's unique ID. For Foundry agents, its Microsoft Entra agent identity ID. |
| Display Name | The agent's name on its platform. |
| Description | The agent's description. |
| Status | The agent's status on its platform. |
| Vendor | The platform the agent came from, for example Microsoft Foundry. |
| Owner | The identity that owns or created the agent. |
| Tags | The agent's metadata on its platform. |
| Creation Date | When the agent, or its current version, was created. |
| Origin | The name of the POP that discovered the agent. |
| Is Shadow | Whether Activity Discovery found the agent without a platform reporting it. |
| Is Deleted | Whether the agent was deleted, on its platform or by a user. |
Each source adds its own vendor attributes, such as the model, version, runtime URL, and assigned tools. The source platform owns these values: you can't edit them in the Platform, and each discovery run refreshes them. To add your own business context, such as purpose or risk, use Agent Profile Enrichment.
After Discovery
- Group agents. Agent Activity Groups pick up new agents automatically when their attributes match, including the tools a platform assigned them.
- Authorize agents. Add agents or groups to Policies for specific user-agent combinations. See Adding Agents to a Policy.
- Control tools. In the MCP Controls of the Policy Builder, decide which tools an agent sees, which tools the user-agent combination may call, and which parameter values the agent may send. See MCP and Tools.
- Compare intent with reality. Review the tools each agent is meant to use against the tools MCP servers expose at runtime. This helps you spot tools that agents can reach but no platform assigned, and MCP servers that expose more tools than their agents need. Use these findings to tighten your Policies toward least privilege for agents.
- Watch for changes. When a vendor blocks or deletes an agent, the registry keeps the agent and flags it, so your inventory reflects the platform's current state.
Troubleshooting
| Symptom | What to check |
|---|---|
| The POP connection test fails | The credentials, the permissions granted on the platform, and network connectivity. Each platform's setup page lists the exact permissions. |
| The POP connects, but no agents appear | That discovery ran, and that the credentials can read agents, not just sign in. Run discovery again after fixing permissions. |
| Agents appear, but without tools | That the platform credentials can read the agents' tool configuration. Tool details also depend on what each platform reports. |
| A gateway POP shows no agents or tools | That the Authorizer's reporting is on and that traffic has passed through the gateway since. For MCP tools, that an agent has called tools/list through the gateway. |
| An agent you deleted still appears | The registry keeps deleted agents and flags them, for example with isDeleted for Microsoft Agent 365. |