Servidor Dart Mcp
Servidor del Protocolo de Contexto del Modelo de IA Dart (MCP)
Resumen
¿Qué es el Servidor Dart MCP?
El Servidor Dart MCP, desarrollado por la organización its-dart
, es un servidor potente diseñado para facilitar el Protocolo de Contexto del Modelo de IA de Dart (MCP). Este servidor actúa como una solución de backend para aplicaciones que requieren un manejo eficiente de modelos de IA y sus contextos, permitiendo una integración y comunicación sin problemas entre varios componentes de un sistema de IA.
Características del Servidor Dart MCP
- Código Abierto: El Servidor Dart MCP está disponible públicamente, lo que permite a los desarrolladores contribuir y modificar el código según sus necesidades.
- Manejo Eficiente de Protocolos: Está diseñado específicamente para gestionar las complejidades del Protocolo de Contexto del Modelo, asegurando que los modelos de IA puedan ser utilizados de manera efectiva.
- Escalabilidad: Construido para manejar múltiples solicitudes simultáneamente, el servidor puede escalar según las necesidades de la aplicación, siendo adecuado tanto para proyectos pequeños como grandes.
- Soporte Comunitario: Con una comunidad en crecimiento de usuarios y colaboradores, los desarrolladores pueden encontrar apoyo, compartir ideas y colaborar en mejoras.
Cómo Usar el Servidor Dart MCP
- Instalación: Clona el repositorio desde GitHub usando el comando:
git clone https://github.com/its-dart/dart-mcp-server.git
- Configuración: Navega al directorio del proyecto e instala las dependencias necesarias. Asegúrate de tener el SDK de Dart instalado en tu máquina.
cd dart-mcp-server dart pub get
- Ejecutar el Servidor: Inicia el servidor ejecutando el siguiente comando:
dart run bin/server.dart
- Integra con Tu Aplicación: Utiliza las APIs proporcionadas para conectar tu aplicación con el Servidor Dart MCP, permitiendo una gestión eficiente del contexto del modelo.
Preguntas Frecuentes
¿Cuál es el propósito del Servidor Dart MCP?
El Servidor Dart MCP está diseñado para gestionar y facilitar la comunicación y el manejo de contexto de modelos de IA, facilitando a los desarrolladores la integración de funcionalidades de IA en sus aplicaciones.
¿Es gratuito el uso del Servidor Dart MCP?
Sí, el Servidor Dart MCP es de código abierto y gratuito bajo la licencia MIT, lo que permite a los desarrolladores modificar y distribuir el software según sea necesario.
¿Puedo contribuir al Servidor Dart MCP?
¡Absolutamente! Las contribuciones son bienvenidas. Puedes bifurcar el repositorio, hacer tus cambios y enviar una solicitud de extracción para compartir tus mejoras con la comunidad.
¿Qué lenguaje de programación se utiliza en el Servidor Dart MCP?
El servidor está desarrollado utilizando Dart, un lenguaje de programación moderno optimizado para construir aplicaciones web, de servidor y móviles.
¿Dónde puedo encontrar la documentación del Servidor Dart MCP?
La documentación generalmente se puede encontrar dentro del repositorio mismo, a menudo en un archivo README.md
o en un directorio docs
dedicado. También puedes consultar el repositorio de GitHub para recursos adicionales y ejemplos.
Detalle
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.
Configuración del Servidor
{
"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"
}
}
}
}