Dart AI Model Context Protocol (MCP) server
Configuration
View docs{
"mcpServers": {
"its-dart-dart-mcp-server": {
"command": "npx",
"args": [
"-y",
"dart-mcp-server@latest"
],
"env": {
"DART_TOKEN": "YOUR_TOKEN"
}
}
}
}Dart MCP Server lets you run Dart’s AI-powered Model Context Protocol (MCP) locally or via Docker so your AI assistants can manage tasks, documents, and related resources inside Dart. It provides prompts, templates, and tools to create and organize work with structured, recoverable actions.
You use the MCP server by starting either the local MCP server via npx or by running the Docker-based variant, then pointing your Dart MCP client at the local server. Once running, your client can access a set of prompts and tools to manage tasks and documents in Dart, including creating tasks, creating docs, and summarizing tasks. The MCP server exposes actions through the client’s configured server and returns structured results, which your AI assistant can interpret to perform common Dart work seamlessly.
Prerequisites: ensure you have Node.js installed so you can use npx, and have your Dart authentication token ready.
1) Install and run the MCP server using npx. This uses a hosted Dart MCP server image via npx and requires your token.
{
"mcpServers": {
"Dart": {
"command": "npx",
"args": ["-y", "dart-mcp-server@latest"],
"env": {
"DART_TOKEN": "dsa_..."
}
}
}
}If you prefer Docker, you can run the MCP server in a container. The Docker variant uses the same token to authorize the server.
{
"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_..."
}
}
}
}Copy your authentication token from your Dart profile and place it in the MCP configuration under DART_TOKEN. If you are using a local Docker setup, ensure Docker is installed and accessible from your host.
If the MCP server does not start, verify that your token is correct and that the chosen port (if any) is not blocked by a firewall. For Docker users, check container logs to diagnose startup issues. If you switch between the npx and Docker methods, ensure you are not running multiple instances with the same container name.
Prompts include creating tasks, creating docs, and summarizing tasks. The available tools allow you to fetch and update task and document data, manage task comments, and navigate your Dart space configuration.
Treat the DART_TOKEN like a sensitive secret. Do not commit it to version control and only load it into your MCP setup through a secure environment variable mechanism.
# Start the MCP server via npm/npx
npx -y dart-mcp-server@latest
# Or start via Docker (if you use the docker variant)
docker run -i --rm --name dart-mcp -e DART_TOKEN mcp/dartFetch information about your workspace, including assignees, boards, folders, statuses, tags, priorities, and sizes.
List tasks with optional filters such as assignee, status, board, priority, and due date.
Create a new task with title, description, status, priority, size, dates, board, assignees, tags, and a possible parent task.
Retrieve a specific task by its ID.
Update the properties of an existing task.
Move a task to the trash so it can be recovered later.
Add a comment to an existing task.
List documents with optional filters such as folder, title, or content.
Create a new document with a title, content, and folder.
Retrieve a document by its ID.
Update document properties.
Move a doc to the trash (recoverable).