Skip to content
English
  • There are no suggestions because the search field is empty.

Connect Cursor or VS Code to Time Doctor - Beta

Note: The AI connection (MCP) is available on all Time Doctor subscription plans and can be accessed by Owners, Admins, and Managers.

TL;DR:

Create a connection key in Time Doctor's Settings / AI Connections, then add Time Doctor to the editor's MCP config file using that key. Cursor and VS Code use different config formats, so use the snippet that matches the editor and the option that matches whether the config file is empty or already has other servers.

 

Before Starting

  1. Go to Settings / AI Connections.
  2. Click Connect an AI Tool.
  3. Select the editor, and click Create Connection.
  4. Copy the connection key.

It is shown only once, so store it somewhere safe. In the snippets below, replace YOUR_API_KEY with that key.

Important: Cursor and VS Code use different config formats. Use the snippet for the correct editor, and pick the option that matches whether the config file is empty or already has other servers.

 

Cursor

  1. In Cursor, click Customize in the left sidebar, select the MCPs tab, then click New. Cursor opens the mcp.json file.
  2. Add Time Doctor with the option that matches the file, then save.
    • Empty or new config file? Copy the full file:

      JSON
      {

        "mcpServers": {
          "timedoctor": {
            "url": "https://api2.timedoctor.com/api/2.0/mcp/mcp",
            "headers": {
              "x-api-key": "YOUR_API_KEY"
            }
          }
        }
      }

    • File already has other servers? Copy only the Time Doctor entry and paste it inside the existing mcpServers section:

      JSON
      "timedoctor": {
        "url": "https://api2.timedoctor.com/api/2.0/mcp/mcp",
        "headers": {
          "x-api-key": "YOUR_API_KEY"
        }
      }
  3. Ask about Time Doctor data in Cursor's chat and approve the tool request when Cursor asks.

 

VS Code

  1. Open the Command Palette (Ctrl+Shift+P on Windows, Cmd+Shift+P on Mac) and run MCP: Open User Configuration.
  2. Add Time Doctor with the option that matches the file, then save.
    • Empty or new config file? Copy the full file:

      {
        "servers": {
          "timedoctor": {
            "type": "http",
            "url": "https://api2.timedoctor.com/api/2.0/mcp/mcp",
            "headers": {
              "x-api-key": "YOUR_API_KEY"
            }
          }
        }
      }

    • File already has other servers? Copy only the Time Doctor entry and paste it inside the existing servers section: 

      JSON
      "timedoctor": {
        "type": "http",
        "url": "https://api2.timedoctor.com/api/2.0/mcp/mcp",
        "headers": {
          "x-api-key": "YOUR_API_KEY"
        }
      }
  3. Reload VS Code. The Time Doctor tools are then available.


Command Palette Not Working?

  1. Click the gear icon in the bottom-left corner, then select Profiles.
  2. Open the active profile and select MCP Servers.
  3. Open mcp.json and add the Time Doctor configuration inside the existing servers section.
  4. Save the file, then start the timedoctor server or restart VS Code.

 

Next Step

See Getting Started: What to Ask Your Time Doctor AI Connection for examples of what to ask.

 

 


 

 

Should there be any inconsistencies or concerns regarding the article, contact support@timedoctor.com for prompt assistance.