Dart Mcp Server
Server del Protocollo di Contesto del Modello AI Dart (MCP)
Panoramica
Cos'è il Dart MCP Server?
Il Dart MCP Server, sviluppato dall'organizzazione its-dart
, è un potente server progettato per facilitare il Protocollo di Contesto del Modello AI (MCP) di Dart. Questo server funge da soluzione backend per le applicazioni che richiedono una gestione efficiente dei modelli AI e dei loro contesti, consentendo un'integrazione e una comunicazione senza soluzione di continuità tra i vari componenti di un sistema AI.
Caratteristiche del Dart MCP Server
- Open Source: Il Dart MCP Server è disponibile pubblicamente, consentendo agli sviluppatori di contribuire e modificare il codice secondo le proprie esigenze.
- Gestione Efficiente del Protocollo: È specificamente progettato per gestire le complessità del Protocollo di Contesto del Modello, garantendo che i modelli AI possano essere utilizzati in modo efficace.
- Scalabilità: Progettato per gestire più richieste simultaneamente, il server può scalare in base alle esigenze dell'applicazione, rendendolo adatto sia per progetti piccoli che grandi.
- Supporto della Comunità: Con una comunità in crescita di utenti e contributori, gli sviluppatori possono trovare supporto, condividere idee e collaborare ai miglioramenti.
Come Utilizzare il Dart MCP Server
- Installazione: Clona il repository da GitHub utilizzando il comando:
git clone https://github.com/its-dart/dart-mcp-server.git
- Configurazione: Naviga nella directory del progetto e installa le dipendenze necessarie. Assicurati di avere il Dart SDK installato sulla tua macchina.
cd dart-mcp-server dart pub get
- Esegui il Server: Avvia il server eseguendo il seguente comando:
dart run bin/server.dart
- Integra con la Tua Applicazione: Utilizza le API fornite per connettere la tua applicazione con il Dart MCP Server, consentendo una gestione efficiente del contesto del modello.
Domande Frequenti
Qual è lo scopo del Dart MCP Server?
Il Dart MCP Server è progettato per gestire e facilitare la comunicazione e la gestione del contesto dei modelli AI, rendendo più facile per gli sviluppatori integrare funzionalità AI nelle loro applicazioni.
Il Dart MCP Server è gratuito da usare?
Sì, il Dart MCP Server è open-source e gratuito da usare sotto la licenza MIT, consentendo agli sviluppatori di modificare e distribuire il software secondo necessità.
Posso contribuire al Dart MCP Server?
Assolutamente! I contributi sono benvenuti. Puoi forkare il repository, apportare le tue modifiche e inviare una pull request per condividere i tuoi miglioramenti con la comunità.
Quale linguaggio di programmazione è utilizzato nel Dart MCP Server?
Il server è sviluppato utilizzando Dart, un linguaggio di programmazione moderno ottimizzato per la creazione di applicazioni web, server e mobili.
Dove posso trovare la documentazione per il Dart MCP Server?
La documentazione può solitamente essere trovata all'interno del repository stesso, spesso in un file README.md
o in una directory docs
dedicata. Puoi anche controllare il repository GitHub per ulteriori risorse ed esempi.
Dettaglio
Dart is Project Management powered by AI.
dart-mcp-server
is the official AI Model Context Protocol (MCP) server for Dart.
Features
Prompts
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 assignee
These prompts make it easy for AI assistants to perform common actions in Dart without needing to understand the underlying API details.
Resource templates
The 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 docs
Tools
The following tools are available
Task management
get_config
- Get information about the user's space, including available assignees, dartboards, folders, statuses, tags, priorities, and sizeslist_tasks
- List tasks with optional filtering by assignee, status, dartboard, priority, due date, and morecreate_task
- Create a new task with title, description, status, priority, size, dates, dartboard, assignees, tags, and parent taskget_task
- Retrieve an existing task by its IDupdate_task
- Update an existing task's propertiesdelete_task
- Move a task to the trash (recoverable)add_task_comment
- Add a comment to an existing task
Document management
list_docs
- List docs with optional filtering by folder, title, text content, and morecreate_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 trash (recoverable)
Each tool supports comprehensive input validation and returns structured JSON responses.
Setup
The easiest way to run the MCP server is with npx
, but a Docker setup is also available.
Find the MCP settings file for the client
Claude Desktop
- Install Claude Desktop as needed
- Open the config file by opening the Claude Desktop app, going into its Settings, opening the 'Developer' tab, and clicking the 'Edit Config' button
- Follow the 'Set up the MCP server' steps below
Claude Code
-
Install Claude Code as needed
-
Copy your authentication token from your Dart profile
-
Run the following command, being sure to replace
dsa...
with your actual Dart tokenclaude mcp add-json dart '{"command":"npx","args":["-y","dart-mcp-server"],"env":{"DART_TOKEN":"dsa_..."}}'
Cursor
- Install Cursor as needed
- Open the config file by opening Cursor, going into 'Cursor Settings' (not the normal VSCode IDE settings), opening the 'MCP' tab, and clicking the 'Add new global MCP server' button
- Follow the 'Set up the MCP server' steps below
Cline
- Install Cline in your IDE as needed
- Open the config file by opening your IDE, opening the Cline sidebar, clicking the 'MCP Servers' icon button that is second from left at the top, opening the 'Installed' tab, and clicking the 'Configure MCP Servers' button
- Follow the 'Set up the MCP server' steps below
Windsurf
- Install Windsurf as needed
- Open the config file by opening Windsurf, going into 'Windsurf Settings' (not the normal VSCode IDE settings), opening the 'Cascade' tab, and clicking the 'View raw config' button in the 'Model Context Protocol (MCP) Servers' section
- Follow the 'Set up the MCP server' steps below
Any other client
- Find the MCP settings file, usually something like
[client]_mcp_config.json
- Follow the 'Set up the MCP server' steps below
Set up the MCP server
-
Install npx, which comes bundled with Node, as needed
-
Copy your authentication token from your Dart profile
-
Add the following to your MCP setup, being sure to replace
dsa...
with your actual Dart token{ "mcpServers": { "dart": { "command": "npx", "args": ["-y", "dart-mcp-server"], "env": { "DART_TOKEN": "dsa_..." } } } }
Variant: setup with Docker
If the npx
setup above does not work well, we also provide a Docker setup. Follow the instructions above to find the MCP settings file
-
Install Docker as needed
-
Build the Docker container with
docker build -t mcp/dart .
-
Copy your authentication token from your Dart profile
-
Add the following to your MCP setup, being sure to replace
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_..." } } } }
Help and Resources
- Homepage
- Web App
- Help Center
- Bugs and Features
- Library Source
- Chat on Discord
- Email us at support@dartai.com
Contributing
Contributions are welcome! Please open an issue or submit a pull request.
License
This project is licensed under the MIT License.
Configurazione Server
{
"mcpServers": {
"dart-mcp-server": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/metorial/mcp-container--its-dart--dart-mcp-server--dart-mcp-server",
"node dist/index.js"
],
"env": {
"DART_TOKEN": "dart-token"
}
}
}
}