Skip to content
dimmiDocs

OAuth and MCP

Connect Claude, ChatGPT, or Cursor over MCP

Give AI assistants secure access to your dimmi workspace through the remote MCP server at /mcp.

The dimmi MCP server runs over Streamable HTTP at https://trydimmi.com/mcp (or /mcp on your self-hosted server).

Add the URL as a remote MCP server in your assistant. It opens dimmi in your browser so you can choose a workspace and approve scopes.

Claude Code
claude mcp add --transport http dimmi https://trydimmi.com/mcp
.cursor/mcp.json
{
"mcpServers": {
"dimmi": { "url": "https://trydimmi.com/mcp" }
}
}

Revoke access anytime in Settings → Connected apps.

If your client cannot open a browser for OAuth, pass an API token in the Authorization header:

.cursor/mcp.json
{
"mcpServers": {
"dimmi": {
"url": "https://trydimmi.com/mcp",
"headers": { "Authorization": "Bearer <api_token>" }
}
}
}
  • Matches the REST API: every endpoint becomes a tool, filtered by the token’s abilities.
  • Named for what they do: verb first, like dimmi_list_conversations, dimmi_get_article_by_id, or dimmi_publish_article.
  • Scoped to your role: every call runs through the REST API as you inside one workspace.
  • Built-in guide: dimmi_guide teaches your assistant dimmi’s data model and common workflows.
  • Procedure testing tools: assistants with ai:read and ai:write can preview procedure turns, create and run saved simulations, compare or restore versions, and inspect procedure metrics.
  • Excluded operations: endpoints that upload files, require password confirmation, or need browser sign-in are omitted.

A tool takes the same arguments as its REST endpoint, under the same names: path parameters, query parameters, and body fields side by side.

  • Same names as the API reference: article, filter[status], q, body.
  • Every argument is described: what it takes, its allowed values, and an example. The text is the API reference’s own; where the reference names an endpoint, the tool names the tool.
  • Forgiving: likely spellings such as article_id, id, or search_text are still read.
  • Refused before anything runs: a missing, unknown, or out-of-range argument is named, with what belongs in it. So is a field inside an argument, by its path, such as contact.mail.

Any connected agent can do what Operator does. Its suggestions wait for a teammate’s review; nothing it suggests applies by itself.

Tool What it does
dimmi_search_knowledge Searches what the AI agent answers from.
dimmi_list_recent_suggestions Lists recent suggestions with their dedup_key, so nothing is suggested twice.
dimmi_propose_article_edit Suggests a fix to one article by quoting the passages to replace.
dimmi_propose_new_article Suggests a new article as a draft.
dimmi_propose_procedure_edit Suggests an edit to one procedure.
dimmi_propose_changes Suggests tags, assignments, notes, and other conversation changes.
dimmi_get_routine_state, dimmi_save_routine_state Keeps what a routine needs between runs.
dimmi_report_nothing_to_change Records a routine run that found nothing, so nobody is notified.
dimmi_list_skills, dimmi_get_skill_by_name Reads the steps Operator follows for each kind of routine work.
  • Same rules as Operator: a kind of change switched off in Settings → Operator is refused.
  • Routines: pass routine_id to tie a suggestion to a routine. It needs the right to manage the AI agent.
  • Dry runs: pass dry_run: true with routine_id to leave only a preview and keep no state.
  • Forgiving edits: a quoted passage that slipped a word still matches, and the answer says what it matched.

dimmi pauses for your explicit confirmation before running sensitive tools:

  • Sending customer-facing or public content (such as replies or publishing articles).
  • Reading sensitive records (such as data exports or the audit log).
  • Deleting records or changing settings, members, roles, keys, or billing.

Clients with MCP elicitation prompt you inline. Other clients receive a preview and a confirmation_token (valid for 10 minutes for the exact same arguments) to confirm after you approve.

Limit Value
Max request body 1 MiB
Transport POST only, single JSON response per call (no sessions or SSE stream)
Browser CORS Restricted to dimmi’s own app origin