Connect Cursor

Connect Cursor to DocuWriter.ai with MCP so you can browse spaces, search documents, and generate or update documentation directly from your editor.

Prerequisites

  • A DocuWriter.ai account
  • A recent version of Cursor

Method 1 - Cursor MCP directory

If DocuWriter.ai is available in Cursor's MCP directory:

  1. Open Cursor Settings.
  2. Navigate to MCP.
  3. Browse available MCP servers.
  4. Select DocuWriter.ai.
  5. Authorize access with OAuth when prompted.

Method 2 - Project configuration

Create .cursor/mcp.json in your project root:

{
  "mcpServers": {
    "docuwriter": {
      "type": "http",
      "url": "https://app.docuwriter.ai/mcp",
      "headers": {}
    }
  }
}

This makes the configuration project-specific and shareable with your team.

Method 3 - Global configuration

  1. Open Cursor Settings.
  2. Navigate to MCP.
  3. Click Edit Config.
  4. Add the DocuWriter.ai server configuration:
{
  "mcpServers": {
    "docuwriter": {
      "type": "http",
      "url": "https://app.docuwriter.ai/mcp",
      "headers": {}
    }
  }
}

Save the file and restart or reload Cursor if needed.

Authenticate

  1. Cursor opens the DocuWriter.ai OAuth flow.
  2. Sign in to DocuWriter.ai.
  3. Approve access.
  4. Return to Cursor.

No manual API token is required.

Verify the connection

Open Cursor Chat or Composer and ask:

List my DocuWriter spaces with IDs.

If successful, Cursor will return the spaces available to your account.

Useful prompts

Search all my DocuWriter spaces for "authentication".
Search space 22854 for "MCP".
Generate documentation for this file and save it to space 22854 as "API overview".
Generate documentation for these files and save one page to space 22854.
Create a document called "Deployment guide" in space 22854.
Update document 12345 in space 22854 with this Markdown content: ...
List pending repository sync suggestions for space 22854.
Apply suggestion 12345.

Notes

  • Cursor may enforce a maximum number of tools available from MCP servers. Disable unused MCP servers if DocuWriter.ai tools do not appear.
  • Use numeric space IDs when asking Cursor to search or modify a specific space.
  • Project-specific .cursor/mcp.json files are useful for team workflows.