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/mcpConfirm 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/mcpAny 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-resourceGET /.well-known/oauth-authorization-serverPOST /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:
| Permission | Lets the assistant |
|---|---|
deals:create | create deals |
deals:list | list deals |
deals:send | send deals |
insights:list | list insights |
insights:create | create insights |
tasks:create | create tasks |
tasks:list | list tasks |
tasks:update | update tasks |
tasks:delete | delete or cancel tasks |
tasks:approve | approve or reject tasks |
contacts:list | list contacts |
contacts:create | create contacts |
contacts:update | update contacts |
contacts:delete | delete contacts |
Tools
Tools wrap Public API v1 operations. Read/write and required permissions:
| Tool | What it does | Permission | Access |
|---|---|---|---|
| Account | |||
get_api_key | Check the connected key | None | Read |
get_clai_guide | Get workflow guide for a Clai domain | None | Read |
list_orgs | List organizations | None | Read |
| Deals | |||
list_deals | List deals | deals:list or deals:create | Read |
show_deals | Browse deals in a card (interactive card) | deals:list or deals:create | Read |
create_deal | Create a deal (interactive card) | deals:create | Write |
add_templates_to_package | Add templates to a package | deals:create | Write |
save_deal_as_template | Save a deal as a template | deals:create | Write |
list_deal_wizards | List deal wizards | deals:list or deals:create | Read |
match_deal_wizard | Match a deal wizard | deals:list or deals:create | Read |
next_wizard_question | Get the next wizard question | deals:list or deals:create | Read |
submit_deal_wizard | Create a deal from a wizard | deals:create | Write |
| Packages | |||
list_packages | List packages | deals:list or deals:create | Read |
get_package | Get a package | deals:list or deals:create | Read |
list_participants | List participants | deals:list or deals:create or deals:send | Read |
update_participant | Save a participant contact | deals:send | Write |
remove_participant | Remove a participant | deals:send | Write |
create_package | Create a package | deals:create | Write |
update_package | Update a package | deals:create | Write |
delete_package | Delete a package | deals:create | Write |
| Sending and signing | |||
send_package | Send a package for signing | deals:send | Write |
resend_submission | Resend to signers | deals:send | Write |
void_submission | Void a submission | deals:send | Write |
get_signing_link | Get a signing link | deals:send | Write |
get_share_link | Get a share link | deals:send | Write |
get_submission | Get a submission | deals:list or deals:create | Read |
list_submissions | List submissions | deals:list or deals:create | Read |
| Document uploads | |||
upload_deal_pdf | Upload a PDF to a deal (interactive card) | deals:create | Read |
get_document_upload_status | Check upload status | deals:create | Read |
complete_document_upload | Finish an upload | deals:create | Write |
find_signatures | Find where people sign | deals:create | Write |
| Tasks | |||
list_tasks | List tasks | tasks:list | Read |
show_tasks | Browse tasks in a card (interactive card) | tasks:list | Read |
get_task | Get a task | tasks:list | Read |
create_task | Create a task | tasks:create | Write |
update_task | Update a task | tasks:update | Write |
transition_task | Change task status | tasks:update | Write |
claim_task | Claim a task | tasks:update | Write |
delete_task | Cancel a task | tasks:delete | Write |
approve_task | Approve a task | tasks:approve | Write |
reject_task | Reject a task | tasks:approve | Write |
list_assignee_candidates | List possible assignees | tasks:create or tasks:update | Read |
| Contacts | |||
list_contacts | List contacts | contacts:list | Read |
show_contacts | Browse contacts in a card (interactive card) | contacts:list | Read |
get_contact | Get a contact | contacts:list | Read |
create_contact | Create a contact | contacts:create | Write |
update_contact | Update a contact | contacts:update | Write |
delete_contact | Delete a contact | contacts:delete | Write |
| Insights | |||
list_insight_documents | List insight documents | insights:list | Read |
get_insight_document | Get an insight document | insights:list | Read |
list_insight_folders | List insight folders | insights:list | Read |
create_insight_folder | Create an insight folder | insights:create | Write |
begin_insight_upload | Start an insight upload | insights:create | Write |
complete_insight_upload | Finish an insight upload | insights:create | Write |
upload_insight_documents | Upload PDFs to Insights (interactive card) | insights:create | Read |
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
| Status | Meaning |
|---|---|
| 401 | Missing or invalid Bearer token; check WWW-Authenticate for OAuth metadata. |
| 403 | Token lacks the scope for the tool. |
| 404 | MCP access is not enabled for your account yet. |
| 429 | Rate limit exceeded; retry after the delay. |
| 503 | Temporary outage; retry later. |
HTTP details for each operation are in the API reference.