Skip to content

For the complete documentation index, see llms.txt.

MCP triggers

Connect an MCP-capable editor (Claude Code, Cursor, or another) to Promptless, then start and track documentation tasks by asking in the editor you already have open. There’s no API key to create, store, or rotate: you authorize once in a browser instead.

MCP is an open protocol that editors use to connect to external tools; any editor with an “MCP servers” setting can connect to Promptless. It’s a built-in surface that’s always available—it needs no promptless.yaml triggers: entry and no setup on the Configuration page.

Connect the server once per editor. The server URL is https://api.gopromptless.ai/mcp. For Claude Code, one command sets it up:

Terminal window
claude mcp add --transport http promptless https://api.gopromptless.ai/mcp

The same URL and command also appear in the dashboard under Settings, in the Editor connection (MCP) section, which every organization member can see (the app is at app.gopromptless.ai).

  1. Run the add command shown above.

  2. Run /mcp and pick promptless.

  3. Authorize the connection in the browser tab that opens. See Authorize in the browser.

  1. Add an HTTP MCP server named promptless at https://api.gopromptless.ai/mcp, either in Cursor’s MCP settings or by adding the entry to mcp.json:

    {
    "mcpServers": {
    "promptless": {
    "url": "https://api.gopromptless.ai/mcp"
    }
    }
    }

    The url key tells Cursor to use HTTP transport.

  2. Click Needs login.

  3. Authorize the connection in the browser tab that opens. See Authorize in the browser.

Any client that supports HTTP transport and OAuth connects at the same URL, https://api.gopromptless.ai/mcp. The exact steps vary by client.

Your editor handles authorization automatically over OAuth; you approve the connection once in the browser.

  1. A browser tab opens to the Promptless consent page.

  2. The page names the client (your editor), the target organization (an organization picker that defaults to your active organization), and your role. The approve button reads Authorize as {your email}.

  3. Before you approve, check the destination: the page names the callback host (the web address your editor is sent back to), and it flags the client name as self-declared (typed in by whoever built the integration, not verified by Promptless). Cancel unless you started this connection yourself from an application you trust.

  4. Approve. Your editor stores the token and returns you to the editor.

A token is tied to one organization. To connect a second organization, authorize again and pick that organization at consent—your editor can hold one Promptless connection per organization.

Your editor surfaces these four tools by name and calls them for you.

Starts a documentation task and returns a task ID (the trigger_event_id) you can check with get_task_status.

ArgumentRequiredDescription
instructionsYesWhat you want documented.
doc_collection_idNoTarget one collection. Omit to route across all your collections.
contextNoOptional metadata attached to the request; appears in trigger history.

Lists your documentation collections. Use it to get a doc_collection_id to pass to submit_documentation_task.

Checks the status of any documentation task in your organization by its trigger_event_id—not only tasks you submitted over MCP. Tasks started from Slack, a GitHub pull request, the dashboard, or the API are all readable. The task’s submitted instructions and context appear in its trigger history.

Searches your existing suggestions by keyword and status, so you can check whether a change is already covered before starting a new task. query (optional) matches a suggestion’s title and description; status (optional) restricts results to one of draft, open, merged, or closed. Both are optional—calling with neither returns all your suggestions. A draft or open suggestion is still live; a merged or closed one is already resolved.

Ask in plain language. For example: “List my Promptless doc collections, then start a task to document the new authentication flow in the API docs collection.” Your editor maps that to list_doc_collections, then submit_documentation_task, and returns a task ID you can pass to get_task_status.

To avoid duplicating work, search before you submit: “Before I ask Promptless to document the new webhook retries, search existing suggestions for ‘webhook retries.’” Your editor runs search_suggestions first, and if nothing live comes back, submits the task.

To check on a task you already started, ask by its ID: “What’s the status of Promptless task <id>?” Your editor calls get_task_status and reports back.

On the Triggers page, a task started over MCP shows an MCP Task pill with a byline reading <client name> · submitted by @<username>. That’s distinct from the API Task pill shown for sk-pl-/POST /triggers submissions.

To find MCP-originated suggestions on the Suggestions list, set the Trigger source filter to “API”; that filter groups MCP together with API-key submissions rather than separating them.

Connections re-authorize automatically, so you rarely notice. The connection you approved lasts 90 days; after that, automatic refresh stops and you re-consent in the browser the way you did at setup.

To revoke a connection, remove the promptless server from your editor: in Claude Code, remove the promptless server; in Cursor, remove it from your MCP settings. There’s no revoke button in the dashboard—the Editor connection (MCP) section there is instructional only.

Promptless re-checks your organization membership on every call; if you lose active membership, the connection is revoked. Each member manages their own connection—an admin can’t revoke another member’s connection for them.

Tool failures come back as errors your editor’s model sees. Common ones:

  • Empty instructions: resubmit with a specific instructions string.
  • A doc_collection_id that isn’t a valid ID (UUID): call list_doc_collections and pass an id from the returned list.
  • An unrecognized search_suggestions status: use one of draft, open, merged, or closed.
  • The organization hasn’t finished setting up Promptless: the tool returns “This organization has not finished setting up Promptless.” Finish setup on the Configuration page, or ask your Promptless admin to finish it.
  • A requested collection isn’t configured: the tool returns “The requested doc collection is not configured.” Call list_doc_collections for a valid id, or configure the collection first.
  • Denied, canceled, or expired consent: re-run the authorize step—in Claude Code, run /mcp and pick promptless again; in Cursor, click Needs login again.

First-run snags usually clear with a retry:

  • The browser consent tab doesn’t open: re-run the authorize step—in Claude Code, run /mcp and pick promptless; in Cursor, click Needs login.
  • No promptless entry under /mcp in Claude Code: confirm the add command ran, then re-open the client.
  • Cursor’s Needs login button doesn’t respond: remove the server and add it again.