Dart MCP Server
dart-mcp-server
MCP server that bridges the Dart project management platform to AI assistants. The server is TypeScript but delegates all Dart API calls to a Python subprocess using the dart-sdk package.
What It Does
Exposes Dart's task management, document, space, and dartboard operations as MCP tools. Each tool call spawns a Python process that imports dart-sdk, executes the operation, and returns JSON results over stdout. Communicates with MCP clients over stdio.
Status
Area | State |
MCP transport | stdio |
Language | TypeScript (server) + Python (Dart SDK calls) |
MCP SDK |
|
Dart SDK |
|
Node.js | >= 16.0.0 |
Python | >= 3.8.0 |
License | MIT |
MCP Tools
Tool | What It Does |
| Create a task with title, description, priority, status, assignees, tags |
| Update an existing task's status, title, or description by DUID |
| Return default status DUIDs for a dartboard |
| Return the default space DUID |
| List available dartboards |
| List folders in a space |
| Create a new folder |
| Create a document or report |
| Create a new workspace |
| Delete a workspace by DUID |
Setup
Via Smithery
npx -y @smithery/cli install @jmanhype/dart-mcp-server --client claudeManual
git clone https://github.com/jmanhype/dart-mcp-server.git
cd dart-mcp-server
npm install # also runs postinstall: creates .venv and pip installs dart-sdk
npm run build
npm startEnvironment Variables
Variable | Required | Description |
| Yes | Dart API token (get from your Dart profile) |
| No | Path to Dart SDK if not in default location |
| No | Path to Python executable (defaults to system Python) |
Verifying the Python Environment
python -c "import dart; print(dart.__version__)"If this fails, the MCP server will not be able to execute any tools.
Architecture
src/
index.ts — MCP server, tool handlers, Python subprocess management
test.ts — Basic test runnerEach tool handler builds a Python script as a string, spawns python3 -c "<script>", and parses the JSON output. The Python process has a 120-second timeout.
Limitations
Every tool call spawns a new Python process (no persistent connection to Dart API)
The
.envpath is hardcoded to/Users/speed/dart-tools/.envin the sourceNo input validation beyond what the Dart SDK provides
No pagination support for list operations
Error messages from the Python subprocess are passed through as-is
The
postinstallscript creates a virtualenv, which may fail in some CI environments
Dependencies
Package | Version | Purpose |
| ^1.5.0 | MCP server protocol |
| ^16.4.7 | Environment variable loading |
| ^5.3.3 | Build toolchain |
| (pip) | Python client for Dart API |
License
MIT