ornn connect <machine-id>.
Connect
Add this server URL to your MCP client’s configuration:Verify and reconnect
After connecting, ask your client to list the available tools and callidentity_whoami. Confirm that it returns your Ornn account and organization,
then try the relevant read tool, such as reservations_list.
If your client reports that authorization is required or cannot refresh its
login, reconnect the Ornn server through the client’s sign-in flow. Codex users
can run codex mcp login ornn. Reload the connection or start a fresh chat after
approving access so the client discovers the current tools. The server’s health
page alone does not verify your connection. Never paste an access token into a
chat or troubleshooting report.
Tools
Billing tools return the billing API’s native camelCase fields.billing_summary returns open balances and paid monthly totals grouped by currency (openBalance, paidThisMonth, paidLastMonth, and earliestDueDate). Monthly totals follow the invoice service period; billing_showback reports usage estimates separately. billing_invoices returns an invoice page and nextCursor.
For
access_switch, supply a unique, nonblank requestId and keep it to
check progress, including after a timeout.
Prices in market tools are integer micro-USD per GPU-hour, or per vCPU-hour for CPU
capacity: 2500000 is $2.50. CPU capacity trades on the order books with the slug cpu.
Down payments are integer cents.
Calling a tool runs it. These tools do not take a confirmation argument or
return a preview. Use market_quote to preview a bid without placing it.
Market results never include who supplies or relisted the capacity.
See Spot, Reserve, the
Market, and Relist capacity for
how each market works.
Custom OAuth clients
Native and browser clients should register withtoken_endpoint_auth_method: "none" and use authorization code with S256 PKCE.
Public clients receive no client secret; send the registered client_id for
both code exchange and refresh. Confidential clients can use
client_secret_basic or client_secret_post and must authenticate both requests.
Send OAuth query parameters with a URL encoder. The callback returns the same
decoded state value when you approve or decline the connection, including
spaces, +, and other reserved characters. Compare the decoded callback value
with the original state to verify the connection request.