Dart Mcp Сервер
Сервер протокола контекста модели Dart AI (MCP)
Обзор
Что такое сервер Dart MCP?
Сервер Dart MCP, разработанный организацией its-dart
, является мощным сервером, предназначенным для упрощения работы с Протоколом Контекста Модели Искусственного Интеллекта (MCP). Этот сервер служит бэкенд-решением для приложений, которые требуют эффективной обработки моделей ИИ и их контекстов, обеспечивая бесшовную интеграцию и коммуникацию между различными компонентами системы ИИ.
Особенности сервера Dart MCP
- Открытый исходный код: Сервер Dart MCP доступен для общественности, что позволяет разработчикам вносить изменения и модифицировать код в соответствии с их требованиями.
- Эффективная обработка протоколов: Он специально разработан для управления сложностями Протокола Контекста Модели, обеспечивая эффективное использование моделей ИИ.
- Масштабируемость: Созданный для обработки нескольких запросов одновременно, сервер может масштабироваться в зависимости от потребностей приложения, что делает его подходящим как для малых, так и для крупных проектов.
- Поддержка сообщества: С растущим сообществом пользователей и участников разработчики могут находить поддержку, делиться идеями и сотрудничать по улучшениям.
Как использовать сервер Dart MCP
- Установка: Клонируйте репозиторий с GitHub, используя команду:
git clone https://github.com/its-dart/dart-mcp-server.git
- Настройка: Перейдите в каталог проекта и установите необходимые зависимости. Убедитесь, что у вас установлен Dart SDK на вашем компьютере.
cd dart-mcp-server dart pub get
- Запуск сервера: Запустите сервер, выполнив следующую команду:
dart run bin/server.dart
- Интеграция с вашим приложением: Используйте предоставленные API для подключения вашего приложения к серверу Dart MCP, что позволит эффективно управлять контекстом модели.
Часто задаваемые вопросы
Какова цель сервера Dart MCP?
Сервер Dart MCP предназначен для управления и упрощения коммуникации и обработки контекста моделей ИИ, что облегчает разработчикам интеграцию функций ИИ в их приложения.
Является ли сервер Dart MCP бесплатным для использования?
Да, сервер Dart MCP является открытым исходным кодом и бесплатен для использования по лицензии MIT, что позволяет разработчикам модифицировать и распространять программное обеспечение по мере необходимости.
Могу ли я внести вклад в сервер Dart MCP?
Абсолютно! Вклады приветствуются. Вы можете форкнуть репозиторий, внести свои изменения и отправить запрос на слияние, чтобы поделиться своими улучшениями с сообществом.
Какой язык программирования используется в сервере Dart MCP?
Сервер разработан с использованием Dart, современного языка программирования, оптимизированного для создания веб-, серверных и мобильных приложений.
Где я могу найти документацию для сервера Dart MCP?
Документация обычно доступна в самом репозитории, часто в файле README.md
или в отдельном каталоге docs
. Вы также можете проверить репозиторий на GitHub для получения дополнительных ресурсов и примеров.
Деталь
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.
Конфигурация сервера
{
"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"
}
}
}
}