External agent access
You can use AgentWeave's built-in tools (image / video / music generation, knowledge base retrieval, scheduled tasks, notifications, web app builder, agent builder) and any AgentWeave agent from an external client: Claude Code, Cursor, Claude Desktop / claude.ai, or any other client that supports remote MCP. Browse them in the MCP Marketplace in the portal; the marketplace home has a Connect every official tool with one address button, and the detail page of each item has an External agent access button. Both show the exact configuration below with the address filled in.
The address
All addresses live on one host, mcp-hub.agentweave.ai for production (mcp-hub.staging.agentweave.ai,
mcp-hub.qa.agentweave.ai, and so on for other environments).
| What you connect | Address |
|---|---|
| Every official tool at once | https://mcp-hub.agentweave.ai/mcp |
| One official tool group | https://mcp-hub.agentweave.ai/mcp/x/<group> |
| One agent | https://mcp-hub.agentweave.ai/mcp/agents/<agent id> |
Groups: media (image / video / music), docs (knowledge base search), schedule (scheduled
tasks), notify (notifications), webapp (web app builder), builder (agent builder).
On the all-in-one address three tools exist in more than one group, so they carry the group as a
prefix: media_query_task_status, webapp_query_task_status, builder_query_task_status. On a
group's own address the names are unchanged (query_task_status).
You no longer need to choose an agent. A tool called without an agent runs under a default
agent recommended by the platform (one per kind: image, video, music, assistant, web app); you
are still the one charged. To run under one of your own agents instead, add
?agent_id=<your agent id> to the address. Two exceptions: knowledge base search needs to know
whose knowledge base to search, so retrieve_docs takes an agent_id argument (or the address
carries it) and you can only search agents you have access to; and a web app needs a Web
Application Factory agent, which is what its default is.
If the platform has not set a default agent for a kind, the call returns a clear message asking you
to add agent_id to the address instead of failing obscurely. A tool group the platform has taken
down answers unavailable and is never charged.
Add &org_id=<organization id> to charge an organization instead of yourself (see
Calling MCP). The older https://rest.agentweave.ai/api/v1/chat/mcp?type=<group>&agent_id=...
and ...?agent_id=<agent id> addresses keep working unchanged.
Way 1: sign in (OAuth) — recommended
No key to manage: the client sends you to AgentWeave to sign in once and approve access.
Claude Code — register the server without any header:
claude mcp add --transport http agentweave "https://mcp-hub.agentweave.ai/mcp"
Then, inside Claude Code, type /mcp, choose the server and follow the prompt to sign in.
Cursor — click Add to Cursor in the portal dialog (a cursor://anysphere.cursor-deeplink/mcp/install?name=…&config=…
link), or put this in ~/.cursor/mcp.json (or the project's .cursor/mcp.json) and sign in when
Cursor prompts:
{
"mcpServers": {
"agentweave": { "url": "https://mcp-hub.agentweave.ai/mcp" }
}
}
Claude Desktop / claude.ai — open Settings → Connectors → Add custom connector, paste the address and follow the prompt to sign in.
Other clients — enter the address and choose OAuth / sign-in as the authentication; the client must support MCP OAuth.
Way 2: API key (advanced · scripts and servers)
Use this where nobody can click through a sign-in (CI, a server, a script).
- In the portal open Settings → API Keys (
/user-settings/api-key) and generate a key. It is shown only once, so copy and store it. Keys look likeagentweave-<env>-<32 characters>. - Register the server, passing the key in the
Authorizationheader.
Claude Code
claude mcp add --transport http agentweave "https://mcp-hub.agentweave.ai/mcp" \
--header "Authorization: <your key>"
Cursor
{
"mcpServers": {
"agentweave": {
"url": "https://mcp-hub.agentweave.ai/mcp",
"headers": { "Authorization": "<your key>" }
}
}
}
Claude Desktop (merge into claude_desktop_config.json, needs Node.js; restart Claude Desktop afterwards)
{
"mcpServers": {
"agentweave": {
"command": "npx",
"args": [
"mcp-remote",
"https://mcp-hub.agentweave.ai/mcp",
"--header",
"Authorization:<your key>"
]
}
}
}
Any other MCP client — enter two things in its MCP settings:
| Field | Value |
|---|---|
| Server address (URL) | the address above |
| Request header | Authorization: <your key> |
Billing
Calls from an external client are charged exactly like calls made from inside an agent: tools that cost credits (for example image / video / music generation) deduct them from your account, agents charge their own price. With an API key the owner of the key is charged; with OAuth the account you signed in with is. A tool that runs under a default agent still charges you, not the agent's owner. The prices are shown on each marketplace page.
FAQ
It won't connect. Check that the address was copied completely (with an API key, that the key has no stray spaces); for OAuth finish the login in the client. Also check that your network can reach AgentWeave.
Why is the API key shown only once? For security. A lost key cannot be recovered: delete it under Settings → API Keys and generate a new one.