All apps

Connect Cursor to Dock

Once Cursor is connected, it can make, read and edit the presentations and documents in your Dock. These are the steps /agents shows for Cursor, and what is particular to Cursor.

Set up Cursor

Connect over MCP

Endpoint
https://app.dock.space/v1/mcp
Transport
Streamable HTTP
Sign-in
In the browser the first time, or Authorization: Bearer with a personal access token
Plan
Every plan, Free included
  1. Add Dock to your app

    Cursor can't sign in to Dock through the browser yet, so it carries a personal access token. Add this to ~/.cursor/mcp.json, with your token in place of YOUR_TOKEN:

    {
      "mcpServers": {
        "dock": {
          "url": "https://app.dock.space/v1/mcp",
          "headers": {
            "Authorization": "Bearer YOUR_TOKEN"
          }
        }
      }
    }

    Or skip MCP: Cursor's agent can run the command line.

Install the command line

For macOS and Linux. There's no Windows version yet.

  1. Install it

    $ curl -fsSL https://app.dock.space/install.sh | sh
  2. Sign in

    $ dock login

    It prints a link and a code and opens your browser. Approve in GNTC Login and the terminal prints Logged in. There's no token to paste.

  3. Choose a workspace

    List your workspaces:

    $ dock workspace list

    Then set the one to work in, with its id in place of WORKSPACE_ID. Without this step, commands go to a default workspace.

    $ dock config set workspace WORKSPACE_ID
  1. Try it

    $ dock whoami
    $ dock slides create "Q3 review"

    Then ask your agent to use the dock command; dock --help lists everything. An agent can also call the tools of Dock's MCP server from the shell with dock mcp tools and dock mcp call.

Advanced: a personal access token for CI and scripts

  1. Create a personal access token

    In Dock, open Settings → Access tokens. Name the token, tick the scopes for what it will touch and click Create token. The token is shown only once, and it works only in the workspace you created it in.

    • Slides: Read and Write (decks:read, decks:write)
    • Documents, Sheets and Pages: Read and Write (docs:*, sheets:*, pages:*)
    • Proposals: Read and Write (proposals:read, proposals:write), which "show me first" needs
    • Live collaboration: Connect (collab:connect), which every edit needs
  2. Hand it to your app

    In Cursor, put the token in place of YOUR_TOKEN in the MCP config from the step above.

    For the command line, pass the same token. It works in the token's workspace. If you set a workspace with dock config set workspace, that one wins: export DOCK_WORKSPACE with the token's workspace id as well.

    $ export DOCK_TOKEN=YOUR_TOKEN
    $ dock whoami

What is particular to Cursor

  • Cursor can't sign in to Dock in the browser: it registers with a cursor:// address, and Dock accepts only https or localhost addresses from an app that registers itself.
  • So ~/.cursor/mcp.json carries a personal access token, which works only in the workspace you made it in.
  • Cursor's agent can run the dock command line instead, which signs in with dock login.

We have not run the example prompt in Cursor yet. The Claude Code page shows a full run: the prompt, the seven tools it called and the slide it made. See the run on the Claude Code page

Frequently asked questions

Which Dock plan does Cursor need?

Any plan, Free included. Dock's MCP server and the dock command line work on every plan.

Does Cursor need a token?

Yes. Cursor can't sign in to Dock through the browser yet, so it carries a personal access token, made in Dock under Settings → Access tokens. The token works only in the workspace you made it in.

Can Cursor edit a PowerPoint file I already have?

Yes, once the file is in Dock. Upload the .pptx to Dock, then name it in your prompt: Cursor edits it through Dock's tools, and you download a PPTX again when it's done.

Other apps

Last updated