> For the complete documentation index, see [llms.txt](https://docs.allmcp.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.allmcp.co/documentation/agent-frameworks/deepagents.md).

# DeepAgents

DeepAgents supports MCP servers via the standard HTTP transport. Use AllMCP's URL and API key directly in your DeepAgents configuration.

<a href="/pages/416edc1381c20849bc41111b02e482a722a49b94" class="button primary" data-icon="rocket-launch">Get your API key</a> <a href="/pages/QJVxDLqxIz5KMCH5afbE" class="button secondary" data-icon="table-cells">Browse providers</a>

***

## Connection

{% code title="connection" %}

```
MCP Server URL: https://go.allmcp.co/mcp/
Auth header:    X-API-Key: YOUR_API_KEY
```

{% endcode %}

{% hint style="info" %}
**Works with any DeepAgents setup.** Refer to the [DeepAgents documentation](https://deepagents.ai/docs) for the exact config location and syntax — AllMCP works with any DeepAgents setup that accepts an MCP server URL and custom headers.
{% endhint %}

***

## Per-user scoping

Append `?user_id=<id>` to isolate credentials per user:

{% code title="per-user URL" %}

```
https://go.allmcp.co/mcp/?user_id=USER_ID
```

{% endcode %}

***

## What to do after connecting

{% stepper %}
{% step %}

#### Browse providers

Ask your agent which providers are available — it will list the catalog and show which ones you've already connected.
{% endstep %}

{% step %}

#### Connect a provider

Ask your agent to connect the provider you want (for example, "connect Bitrix24"). AllMCP handles the OAuth consent and token refresh for you, and prompts you for any API key or fields the provider needs.
{% endstep %}

{% step %}

#### Use the provider tools

Once connected, that provider's tools are available to your agent. Just ask for what you need in plain language.
{% endstep %}
{% endstepper %}

{% content-ref url="/pages/QJVxDLqxIz5KMCH5afbE" %}
[All Providers](/documentation/providers/providers.md)
{% endcontent-ref %}

{% content-ref url="/pages/uBaUeZYQpupBMd5c1BY0" %}
[Overview](/documentation/agent-frameworks/frameworks.md)
{% endcontent-ref %}

***

{% hint style="info" %}
Have a working DeepAgents + AllMCP integration? We'd love to include a full example here. Open a PR or reach out at [allmcp.co](https://allmcp.co).
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.allmcp.co/documentation/agent-frameworks/deepagents.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
