Hosted Orca reaches only the remote MCP servers on its allowed list,
https://docs.orcapods.ai and https://mcp.dataforseo.com, so a credential for any other server is not used yet. See MCP tools. To ask for another server, post in #help on Orca’s Discord.Three kinds of keys
New users often mix these up. They are separate and not interchangeable:How it works
Create, use, rotate, and delete
Examples on this page assumeclient is an OpenAI client configured as in Build with the API.
mcp_server_urlmust be HTTPS and must match the MCP tool’sserver_urlexactly.- Attach the vault with
vault_ids=[vault.id]when you create the session. Attach only the vaults that session needs. - Rotate by sending a new token with
credentials.update. You never need to read the old one, and you cannot. - Responses never include the token. Keep your own copy in your secret manager if you need it again.
Credential types
A login and password
Astatic_basic credential holds a login and a password for one MCP server URL. DataForSEO’s server is one: it takes your DataForSEO API login and API password (from app.dataforseo.com, under API access; not the password you sign in to their dashboard with). Orca sends them as Authorization: Basic with every request to that server. The login cannot contain a colon.
The OpenAI SDK’s credentials.create knows only static_bearer and mcp_oauth, so you add a login and password through Orca’s own route, POST /api/vaults/{vault_id}/credentials, which the CLI and the dashboard also use. It is an Orca extension, outside /v1, at the same host. The credential lands in the same vault as any other, and a session attaches it the same way, with vault_ids.
- CLI
- Dashboard
- Python
- TypeScript
/v1 shows it: id, name, vault_id, timestamps, and auth with only type and mcp_server_url. No response ever holds the login or the password.
What /v1 does with it
- List and retrieve show it, as
auth: {"type": "static_basic", "mcp_server_url": "..."}. - Create with
static_basicanswers 400 onauth.type, pointing atPOST /api/vaults/{vault_id}/credentials. - Rotate (
credentials.update) of astatic_basiccredential answers 400, pointing at the/apiroute below. - Delete works as for any credential, and deleting the vault deletes it with the others.
auth.type, never on the object’s class. The pinned Python SDK reads a static_basic credential without error, but builds its auth with the OAuth class, the fallback of its union; auth.type still reads static_basic and auth.mcp_server_url the URL. The TypeScript SDK does not check responses at runtime, and its types list only the two /v1 types, so compare the type as a string:
Rotate a login and password
Send a new login, a new password, or both toPOST /api/vaults/{vault_id}/credentials/{credential_id}, here with the orca_api helper from the example above. The URL and the name stay as they are. In the dashboard, choose Rotate in the credential’s menu. The CLI has no rotate command: delete the credential and add it again.
credentials.delete.
What can go wrong
- No matching credential. If a tool needs a credential and no attached vault has one for that exact URL, session creation fails with HTTP 400 on
vault_ids: “No credential in the attached vaults for https://… Add one with orca vaults credentials add, and attach its vault.” Check that you attached the vault, and look for differences in path or a trailing slash. - Token or login rejected by the server. Rotate the credential. Sessions created afterwards use the new secret. Some servers, DataForSEO’s among them, accept any login when a session starts and refuse a wrong one only when a tool is called, so the error shows up in the tool’s result.
- Destination not enabled. The server is not on hosted Orca’s allowed list. A credential does not change that.
- HTTP 403
permission_denied. Writing vaults and credentials needs the admin role.
Keep it safe
- Never put tokens or passwords in prompts, function results, skills, staged files, sandbox
env, or logs. - Use the narrowest token the service offers (read-only where possible), and pair it with
allowed_toolson the agent. See MCP tools. - Type a password into the CLI’s hidden prompt or the dashboard yourself, rather than handing it to a coding agent: anything passed through a tool call sits in that agent’s context.
- Protect your Orca API key. Anyone holding it can create sessions that use your vaults.