Connect an agent
Orako exposes a remote MCP server at:
https://orako.example.com/mcp
Replace the host with your ORAKO_BASE_URL. The same endpoint works for Claude
Code, Codex, Cursor, Gemini CLI, and other clients that support remote MCP over
HTTP.
Interactive MCP clients
- Add the remote MCP URL in your client's MCP settings.
- Start the authorization flow from the client.
- Sign in to Orako if needed.
- Choose the organization and projects the client may access.
- Approve the connection.
An existing Orako session is reused. There is no join code in the MCP login flow: join links add a person to an organization, while MCP authorization grants an already signed-in member's client access to selected projects.
Client menus and commands change frequently. The current per-client setup instructions live at orako.io/agents.
Verify the connection
Ask the client to list its Orako projects or experts. A connected client should expose tools including:
ListProjectsListExpertsSearchHistoryAskGetConversationFollowUpAddParticipantResolveConversation
Before opening a new question, the agent should search history. For the complete
policy, install or copy the files in
pack/orako-ask-a-human.
Headless and non-MCP agents
For CI jobs, autonomous workers, and frameworks without MCP:
- An organization admin creates a project-scoped machine token in Settings → Machine tokens.
- The worker sends the token as
Authorization: Bearer mcp_at_…. - It calls the Connect-JSON endpoints documented in
pack/orako-ask-a-human/references/connect-json.md.
Machine tokens are long-lived credentials. Store them in a secret manager, scope them only to required projects, and revoke them when the worker is retired.
Troubleshooting
The client opens the dashboard but cannot authorize
- Confirm
ORAKO_BASE_URLis the public HTTPS origin with no trailing path. - Confirm the reverse proxy forwards the original host and scheme.
- Confirm
/mcpand the OAuth routes reach the same Orako server. - Confirm the signed-in account is a live member of at least one organization.
The tools exist but the agent uses them poorly
Some clients expose MCP tools but ignore the server-level MCP instructions.
Add the appropriate policy from pack/orako-ask-a-human to CLAUDE.md,
AGENTS.md, or the agent's system prompt.
A project is missing
Reconnect and approve that project, or revoke the existing connection under Settings → Connections and authorize it again. Project access is explicit; Orako does not silently grant newly created projects to an old connection.