For Developers

Server URL, authentication, permissions, and tools for the Clai MCP server.

Server URL

Clai exposes a Streamable HTTP MCP server at:

https://app.goclai.com/mcp

Use the staging URL (https://staging.app.goclai.com/mcp) when testing against staging.

Configure your client

{
  "mcpServers": {
    "clai": {
      "url": "https://app.goclai.com/mcp"
    }
  }
}

Or use Add to Cursor on the install page.

GrokBot has no settings form for custom MCP servers. In chat, send:

Add a custom MCP server called clai at https://app.goclai.com/mcp

Confirm the details when the bot asks, then complete OAuth if prompted. You can copy the message from the install page.

claude mcp add --transport http clai https://app.goclai.com/mcp

Any MCP client that supports OAuth 2.1 remote servers can use the server URL above. Prefer OAuth over pasting a long-lived API key.

Authentication

Clai uses OAuth 2.1 with PKCE and dynamic client registration:

  • GET /.well-known/oauth-protected-resource
  • GET /.well-known/oauth-authorization-server
  • POST /oauth/register, GET /oauth/authorize, POST /oauth/token

After approval, clients call GET / POST /mcp with Authorization: Bearer ….

For headless agents you may use a Clai API key as the Bearer token. Never commit clai_live_* or clai_test_* values.

Permissions

The consent screen lists the same permissions as API keys. Each tool requires one or more of these scopes:

PermissionLets the assistant
deals:createcreate deals
deals:listlist deals
deals:sendsend deals
insights:listlist insights
insights:createcreate insights
tasks:createcreate tasks
tasks:listlist tasks
tasks:updateupdate tasks
tasks:deletedelete or cancel tasks
tasks:approveapprove or reject tasks
contacts:listlist contacts
contacts:createcreate contacts
contacts:updateupdate contacts
contacts:deletedelete contacts

Tools

Tools wrap Public API v1 operations. Read/write and required permissions:

ToolWhat it doesPermissionAccess
Account
get_api_keyCheck the connected keyNoneRead
get_clai_guideGet workflow guide for a Clai domainNoneRead
list_orgsList organizationsNoneRead
Deals
list_dealsList dealsdeals:list or deals:createRead
show_dealsBrowse deals in a card (interactive card)deals:list or deals:createRead
create_dealCreate a deal (interactive card)deals:createWrite
add_templates_to_packageAdd templates to a packagedeals:createWrite
save_deal_as_templateSave a deal as a templatedeals:createWrite
list_deal_wizardsList deal wizardsdeals:list or deals:createRead
match_deal_wizardMatch a deal wizarddeals:list or deals:createRead
next_wizard_questionGet the next wizard questiondeals:list or deals:createRead
submit_deal_wizardCreate a deal from a wizarddeals:createWrite
Packages
list_packagesList packagesdeals:list or deals:createRead
get_packageGet a packagedeals:list or deals:createRead
list_participantsList participantsdeals:list or deals:create or deals:sendRead
update_participantSave a participant contactdeals:sendWrite
remove_participantRemove a participantdeals:sendWrite
create_packageCreate a packagedeals:createWrite
update_packageUpdate a packagedeals:createWrite
delete_packageDelete a packagedeals:createWrite
Sending and signing
send_packageSend a package for signingdeals:sendWrite
resend_submissionResend to signersdeals:sendWrite
void_submissionVoid a submissiondeals:sendWrite
get_signing_linkGet a signing linkdeals:sendWrite
get_share_linkGet a share linkdeals:sendWrite
get_submissionGet a submissiondeals:list or deals:createRead
list_submissionsList submissionsdeals:list or deals:createRead
Document uploads
upload_deal_pdfUpload a PDF to a deal (interactive card)deals:createRead
get_document_upload_statusCheck upload statusdeals:createRead
complete_document_uploadFinish an uploaddeals:createWrite
find_signaturesFind where people signdeals:createWrite
Tasks
list_tasksList taskstasks:listRead
show_tasksBrowse tasks in a card (interactive card)tasks:listRead
get_taskGet a tasktasks:listRead
create_taskCreate a tasktasks:createWrite
update_taskUpdate a tasktasks:updateWrite
transition_taskChange task statustasks:updateWrite
claim_taskClaim a tasktasks:updateWrite
delete_taskCancel a tasktasks:deleteWrite
approve_taskApprove a tasktasks:approveWrite
reject_taskReject a tasktasks:approveWrite
list_assignee_candidatesList possible assigneestasks:create or tasks:updateRead
Contacts
list_contactsList contactscontacts:listRead
show_contactsBrowse contacts in a card (interactive card)contacts:listRead
get_contactGet a contactcontacts:listRead
create_contactCreate a contactcontacts:createWrite
update_contactUpdate a contactcontacts:updateWrite
delete_contactDelete a contactcontacts:deleteWrite
Insights
list_insight_documentsList insight documentsinsights:listRead
get_insight_documentGet an insight documentinsights:listRead
list_insight_foldersList insight foldersinsights:listRead
create_insight_folderCreate an insight folderinsights:createWrite
begin_insight_uploadStart an insight uploadinsights:createWrite
complete_insight_uploadFinish an insight uploadinsights:createWrite
upload_insight_documentsUpload PDFs to Insights (interactive card)insights:createRead

Interactive cards

In ChatGPT, Claude, and other hosts that support MCP Apps, Clai can render cards for:

  • Deal PDF upload (upload_deal_pdf, create_deal)
  • Insight multi-file upload (upload_insight_documents)
  • Deal, task, and contact lists (show_deals, show_tasks, show_contacts)

When a card is not available, use list_deals, list_tasks, list_contacts, and the upload tools directly.

Security

  • Treat assistant prompts as untrusted input (prompt injection).
  • Require user confirmation before write tools send packages, void submissions, or delete resources.
  • Approve only the permissions the workflow needs.
  • Tokens are limited to the organizations you select at connect time.

Troubleshooting

StatusMeaning
401Missing or invalid Bearer token; check WWW-Authenticate for OAuth metadata.
403Token lacks the scope for the tool.
404MCP access is not enabled for your account yet.
429Rate limit exceeded; retry after the delay.
503Temporary outage; retry later.

HTTP details for each operation are in the API reference.