The Dart MCP Server is a deprecated solution for connecting AI assistants like Claude with Dart, a project management platform powered by AI. It's recommended to use the improved hosted Dart MCP server instead, which can be configured following the instructions on the Dart help center.
The Dart MCP Server implements the Model Context Protocol (MCP) to allow AI assistants to interact with Dart. Through this server, AI models can perform common actions in Dart such as creating tasks and documents without needing to understand the underlying API details.
The server provides several pre-configured prompts:
create-task
- Create a new task with title, description, status, priority, and assigneecreate-doc
- Create a new document with title, text content, and foldersummarize-tasks
- Get a summary of tasks with optional filtering by status and assigneeAccess structured information through these resource templates:
dart-config:
- Configuration information about the user's spacedart-task:///{taskId}
- Detailed information about specific tasksdart-doc:///{docId}
- Detailed information about specific docsThe server offers tools for task and document management:
Task Management:
get_config
- Get information about the user's spacelist_tasks
- List tasks with optional filteringcreate_task
- Create a new task with various propertiesget_task
- Retrieve an existing task by IDupdate_task
- Update task propertiesdelete_task
- Move a task to trashadd_task_comment
- Add a comment to a taskDocument Management:
list_docs
- List docs with optional filteringcreate_doc
- Create a new docget_doc
- Retrieve an existing doc by IDupdate_doc
- Update doc propertiesdelete_doc
- Move a doc to trashdsa_...
with your actual Dart token):{
"mcpServers": {
"Dart": {
"command": "npx",
"args": ["-y", "dart-mcp-server@latest"],
"env": {
"DART_TOKEN": "dsa_..."
}
}
}
}
Run this command (replace dsa_...
with your actual Dart token):
claude mcp add dart -e DART_TOKEN=dsa_... -- npx -y dart-mcp-server@latest
If npx doesn't work for you:
docker build -t mcp/dart .
dsa_...
with your actual Dart token):{
"mcpServers": {
"Dart": {
"command": "bash",
"args": [
"-c",
"docker rm -f dart-mcp >/dev/null 2>&1 || true; docker run -i --rm --name dart-mcp -e DART_TOKEN mcp/dart"
],
"env": {
"DART_TOKEN": "dsa_..."
}
}
}
}
To add this MCP server to Claude Code, run this command in your terminal:
claude mcp add-json "dart" '{"command":"npx","args":["-y","dart-mcp-server"],"env":{"DART_TOKEN":"dsa_..."}}'
See the official Claude Code MCP documentation for more details.
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"dart": {
"command": "npx",
"args": [
"-y",
"dart-mcp-server"
],
"env": {
"DART_TOKEN": "dsa_..."
}
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.
To add this MCP server to Claude Desktop:
1. Find your configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
~/.config/Claude/claude_desktop_config.json
2. Add this to your configuration file:
{
"mcpServers": {
"dart": {
"command": "npx",
"args": [
"-y",
"dart-mcp-server"
],
"env": {
"DART_TOKEN": "dsa_..."
}
}
}
}
3. Restart Claude Desktop for the changes to take effect