The Dart MCP Server allows you to connect AI assistants to Dart, a project management tool powered by AI. It uses the Model Context Protocol (MCP) to enable AI assistants to interact with your Dart workspace, creating and managing tasks and documents.
The following prompts are available:
create-task
- Create a new task in Dart with title, description, status, priority, and assigneecreate-doc
- Create a new document in Dart with title, text content, and foldersummarize-tasks
- Get a summary of tasks with optional filtering by status and assigneeThe following resources are available:
dart-config:
- Configuration information about the user's spacedart-task:///{taskId}
- Detailed information about specific tasksdart-doc:///{docId}
- Detailed information about specific docsget_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 its IDupdate_task
- Update an existing task's propertiesdelete_task
- Move a task to the trashadd_task_comment
- Add a comment to an existing tasklist_docs
- List docs with optional filteringcreate_doc
- Create a new doc with title, text content, and folderget_doc
- Retrieve an existing doc by its IDupdate_doc
- Update an existing doc's propertiesdelete_doc
- Move a doc to the trashThe server can be set up using either npx or Docker.
dsa...
with your actual Dart token):claude mcp add-json dart '{"command":"npx","args":["-y","dart-mcp-server"],"env":{"DART_TOKEN":"dsa_..."}}'
[client]_mcp_config.json
)dsa...
with your actual Dart token):{
"mcpServers": {
"dart": {
"command": "npx",
"args": ["-y", "dart-mcp-server"],
"env": {
"DART_TOKEN": "dsa_..."
}
}
}
}
If the npx setup doesn't work well, you can use Docker:
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