Skip to main content

Connect Cursor

The steps below demonstrate how to connect to the DoiT MCP server using Cursor.

Required permissions

Prerequisites

  • Cursor v0.47 or newer is installed.

  • Node.js is on your PATH so npx can run @doitintl/doit-mcp-server.

  • A supported web browser to complete the DoiT sign-in flow when Cursor starts the MCP server.

Connection type

Cursor connects to DoiT MCP using a local stdio connection. Cursor launches the published package (@doitintl/doit-mcp-server) on your machine using standard input/output (stdio) using npx. Ensure Node.js is on your PATH.

Configure the DoiT MCP server

  1. Create or edit the mcp.json file in one of these locations:

    • All projects (user): the mcp.json file in your user-level .cursor directory, for example, ~/.cursor/mcp.json on macOS and Linux, or %USERPROFILE%\.cursor\mcp.json on Windows.

    • One workspace (project): .cursor/mcp.json at the root of the project you open in Cursor. Create the .cursor directory if it does not exist.

  2. In a text editor, open that mcp.json file.

  3. Copy the following script and paste it in the mcp.json file.

    {
    "mcpServers": {
    "doit_mcp_server": {
    "command": "npx",
    "args": ["-y", "@doitintl/doit-mcp-server@latest"]
    }
    }
    }
  4. Launch the Cursor app. Cursor automatically detects the DoiT MCP server configuration.

  5. When Cursor starts the server, your browser opens the DoiT sign-in page. Sign in with your DoiT account.

  6. On the DoiT consent screen, select Allow access.

    DoiT consent screen

  7. After authorization completes, verify the connection by going to Settings, selecting Cursor Settings, and then selecting MCP & Integrations. The status of the DoiT MCP integration should be green.

    You can now open a new chat to start asking questions or make requests related to DoiT Cloud Intelligence data.