Prerequisites
- Ensure you have Node.js installed (npx comes bundled with Node).
- Obtain your authentication token from your Dart profile.
Setup with npx
-
Locate the MCP Settings File:
- For Claude:
- Install Claude Desktop as needed.
- Open
claude_desktop_config.json via Claude Desktop app: Settings > Developer tab > Edit Config.
- For Cline:
- Install Cline in your IDE.
- Open the Cline sidebar in your IDE: MCP Servers icon > Installed tab > Configure MCP Servers.
- For Other Clients:
- Locate
[client]_mcp_settings.json.
-
Install npx (if not already installed):
- Ensure Node.js is installed on your system.
-
Configure MCP Server:
- Add the following configuration, replacing
dsa... with your actual Dart token:
{
"mcpServers": {
"dart": {
"command": "npx",
"args": ["-y", "dart-mcp-server"],
"env": {
"DART_TOKEN": "dsa_..."
}
}
}
}
Setup with Docker
-
Locate the MCP Settings File:
- Follow the same steps as in the npx setup to locate the MCP settings file.
-
Install Docker:
- Ensure Docker is installed on your system.
-
Build Docker Container:
- Run the following command to build the Docker container:
docker build -t mcp/dart .
-
Configure MCP Server:
- Add the following configuration, replacing
dsa... with your actual Dart token:
{
"mcpServers": {
"dart": {
"command": "docker",
"args": ["run", "-i", "--rm", "-e", "DART_TOKEN", "mcp/dart"],
"env": {
"DART_TOKEN": "dsa_..."
}
}
}
}
Locate the MCP Settings File:
- For Claude:
- Install Claude Desktop as needed.
- Open
claude_desktop_config.jsonvia Claude Desktop app: Settings > Developer tab > Edit Config.
- For Cline:
- Install Cline in your IDE.
- Open the Cline sidebar in your IDE: MCP Servers icon > Installed tab > Configure MCP Servers.
- For Other Clients:
- Locate
[client]_mcp_settings.json.
- Locate
Install npx (if not already installed):
- Ensure Node.js is installed on your system.
Configure MCP Server:
- Add the following configuration, replacing
dsa...with your actual Dart token:{ "mcpServers": { "dart": { "command": "npx", "args": ["-y", "dart-mcp-server"], "env": { "DART_TOKEN": "dsa_..." } } } }
Locate the MCP Settings File:
- Follow the same steps as in the npx setup to locate the MCP settings file.
Install Docker:
- Ensure Docker is installed on your system.
Build Docker Container:
- Run the following command to build the Docker container:
docker build -t mcp/dart .
Configure MCP Server:
- Add the following configuration, replacing
dsa...with your actual Dart token:{ "mcpServers": { "dart": { "command": "docker", "args": ["run", "-i", "--rm", "-e", "DART_TOKEN", "mcp/dart"], "env": { "DART_TOKEN": "dsa_..." } } } }