Skip to main content

Dart MCP

Dart has a remote Model Context Protocol (MCP) server. Learn how to use it to link Dart with various programs including Claude

Updated over 2 weeks ago

The MCP, or Model Context Protocol, is an open protocol that provides a standard on how applications like Dart provide information to other LLMs.

Dart's MCP server is hosted online. There are dedicated articles about using Dart with ChatGPT, with Claude Desktop, or with Cursor, or read on to learn about how to set up the Dart MCP with any other MCP client.

Capabilities

The Dart MCP server comes with a variety of preconfigured prompts and tools for task and doc management.

To get started, ask your chat something like "What can the Dart MCP do" and go from there. Some great prompts include

  1. "Record an action item to review the new designs"

  2. "Show my tasks in a table"

  3. "Help me make a doc for a job description"

  4. "Mark today's highest priority task as doing"

Setup

Claude Code

  1. Run claude mcp add --transport http Dart https://mcp.dartai.com/mcp

  2. Run claude and then run /mcp within Claude Code

  3. Select the Dart MCP server and then select Authenticate

  4. Click 'Allow' on the next screen

Claude Desktop

If you are using a paid version of Claude:

  1. Go to Settings > Connectors and click 'Add custom connector'

  2. Put in Dart as the Name and https://mcp.dartai.com/mcp as the URL

  3. Click 'Add', then click 'Allow' on the next screen

If you are on a free version or don't have access to custom connectors, then instead you should:

  1. Directly open the MCP config file under Settings > Developer

  2. Click 'Edit Config', then add

  3. {
    "mcpServers": {
    "Dart": {
    "command": "npx",
    "args": ["-y", "mcp-remote", "https://mcp.dartai.com/mcp"]
    }
    }
    }
  4. Click 'Allow' on the next screen

Cline

  1. Click the 'MCP Servers' icon button that is second from left at the top, then go to the 'Remote Servers' tab

  2. Put in Dart as the Name and https://mcp.dartai.com/mcp as the URL

  3. Click 'Add Server'

  4. Click 'Allow' on the next screen

Cursor

  1. Click 'Install' on the Dart app, then 'Open' on the popup

  2. Click 'Allow' on the next screen and keep following the prompts

Visual Studio Code

  1. Open the command palette and search for 'MCP: Add Server'

  2. Choose 'HTTP (HTTP or Server-Sent Events)'

  3. Put in the URL https://mcp.dartai.com/mcp and the Name Dart

  4. Click 'Allow', 'Open', 'Approve', and so on on the following screens

Windsurf

  1. Go to Windsurf Settings > Cascade > Plugins (MCP Servers)

  2. Click 'Manage plugins', click 'View raw config', then add

  3. {
    "mcpServers": {
    "Dart": {
    "command": "npx",
    "args": ["-y", "mcp-remote", "https://mcp.dartai.com/mcp"]
    }
    }
    }
  4. Click 'Allow' on the next screen

Zed

  1. Open Zed settings, then add

  2. {
    "context_servers": {
    "Dart": {
    "command": {
    "path": "npx",
    "args": ["-y", "mcp-remote", "https://mcp.dartai.com/mcp"],
    "env": {}
    },
    "settings": {}
    }
    }
    }
  3. Click 'Allow' on the next screen

Special connection setups

In general, the details here will depend on the client.

Typically, you will need to start by opening the MCP servers config file.

Clients that support OAuth

If the client supports OAuth, you can paste in a server configuration like

{
"mcpServers": {
"Dart": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://mcp.dartai.com/mcp"]
}
}
}

Then, wait for the client to open the Dart OAuth screen and click 'Allow' on that page.

Authorizing with a token

If the client doesn't support OAuth, you can log in with your Dart auth token. In the client MCP file, paste in a server configuration like

{
"mcpServers": {
"Dart": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://mcp.dartai.com/mcp", "--header", "Authorization:${AUTH_HEADER}"],
"env": {
"AUTH_HEADER": "Bearer dsa_..."
}
}
}
}

Then, visit your Dart account settings page, scroll down, copy your Authorization token, and replace the dsa_... information with your token.

Signing in as an agent

If you want to sign in to your MCP as an agent, you can also do this with the agent's auth token. This allows you to make updates as the agent, so you could create fully agentic workflows where the agents themselves register their own work in Dart and the updates come from the agent's account rather than yours.

In this case, you should create a custom agent and then click the three dots at the far right of that agent, click 'Authentication token', then 'Create' or 'Copy'.

Follow the instructions above for 'Authorizing with a token' but instead of using your own token, use the agent's token that you just got.

Did this answer your question?