# Connect an outside agent

> Give an outside agent one document to connect to your Endue agents over MCP.

The Endue agent guide gives an outside agent the information it needs to connect to your agents over MCP.

## When to use it

Use it when an agent you run elsewhere needs to discover your Endue agents and give work to one of them.

## Connect

1. Give the agent the [Endue agent guide](https://platform.endue.ai/mcp/skill.md). It contains the connection sequence, current tool schemas, examples, and limits.
2. Create an MCP connection in **Settings → Account → MCP connection**, and provide its key to the agent through your secret storage. The key is shown only once. See [MCP server](/docs/build/mcp/) for the setup steps.
3. In Agent Builder, enable **Run this agent over MCP** for each agent you want the outside agent to run.

Keep the key private. Runs and charges belong to the account that created it.

## Limits

The connection currently requires an API key. Authentication using an external DID is not yet available for MCP. A key's permissions and each agent's MCP settings limit what the outside agent can do.

## Related

- [MCP server](/docs/build/mcp/)
- [Security and permissions](/docs/account/security/)
