Dart Mcp 伺服器

建立者its-dartits-dart

Dart AI 模型上下文协议 (MCP) 服务器

概覽

什麼是 Dart MCP 伺服器?

Dart MCP 伺服器由 its-dart 組織開發,是一個強大的伺服器,旨在促進 Dart AI 模型上下文協議 (MCP)。該伺服器作為需要有效處理 AI 模型及其上下文的應用程序的後端解決方案,實現 AI 系統各組件之間的無縫集成和通信。

Dart MCP 伺服器的特點

  • 開源:Dart MCP 伺服器是公開可用的,允許開發者根據自己的需求貢獻和修改代碼。
  • 高效的協議處理:它專門設計用來管理模型上下文協議的複雜性,確保 AI 模型能夠有效利用。
  • 可擴展性:該伺服器能夠同時處理多個請求,根據應用程序的需求進行擴展,適合小型和大型項目。
  • 社區支持:隨著用戶和貢獻者社區的增長,開發者可以找到支持、分享想法並協作改進。

如何使用 Dart MCP 伺服器

  1. 安裝:使用以下命令從 GitHub 克隆存儲庫:
    git clone https://github.com/its-dart/dart-mcp-server.git
    
  2. 設置:導航到項目目錄並安裝必要的依賴項。確保您的計算機上已安裝 Dart SDK。
    cd dart-mcp-server
    dart pub get
    
  3. 啟動伺服器:通過執行以下命令啟動伺服器:
    dart run bin/server.dart
    
  4. 與您的應用集成:使用提供的 API 將您的應用程序與 Dart MCP 伺服器連接,實現高效的模型上下文管理。

常見問題解答

Dart MCP 伺服器的目的是什么?

Dart MCP 伺服器旨在管理和促進 AI 模型的通信和上下文處理,使開發者更容易將 AI 功能集成到他們的應用程序中。

Dart MCP 伺服器是免費使用的嗎?

是的,Dart MCP 伺服器是開源的,根據 MIT 許可證免費使用,允許開發者根據需要修改和分發軟件。

我可以為 Dart MCP 伺服器做貢獻嗎?

當然可以!歡迎貢獻。您可以分叉存儲庫,進行更改,並提交拉取請求以與社區分享您的改進。

Dart MCP 伺服器使用什麼編程語言?

該伺服器使用 Dart 開發,這是一種現代編程語言,優化用於構建網頁、伺服器和移動應用程序。

我可以在哪裡找到 Dart MCP 伺服器的文檔?

文檔通常可以在存儲庫內找到,通常在 README.md 文件或專門的 docs 目錄中。您還可以查看 GitHub 存儲庫以獲取其他資源和示例。

詳細

<div align="center"> <h1>Dart MCP Server</h1> <p> <a href="https://npmjs.com/package/dart-mcp-server"><img src="https://img.shields.io/npm/v/dart-mcp-server" alt="NPM"></a> <a href="LICENSE"><img src="https://img.shields.io/github/license/its-dart/dart-mcp-server" alt="License"></a> </p> </div>

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 assignee
  • create-doc - Create a new document in Dart with title, text content, and folder
  • summarize-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 space
  • dart-task:///{taskId} - Detailed information about specific tasks
  • dart-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 sizes
  • list_tasks - List tasks with optional filtering by assignee, status, dartboard, priority, due date, and more
  • create_task - Create a new task with title, description, status, priority, size, dates, dartboard, assignees, tags, and parent task
  • get_task - Retrieve an existing task by its ID
  • update_task - Update an existing task's properties
  • delete_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 more
  • create_doc - Create a new doc with title, text content, and folder
  • get_doc - Retrieve an existing doc by its ID
  • update_doc - Update an existing doc's properties
  • delete_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
  1. Install Claude Desktop as needed
  2. Open the config file by opening the Claude Desktop app, going into its Settings, opening the 'Developer' tab, and clicking the 'Edit Config' button
  3. Follow the 'Set up the MCP server' steps below
Claude Code
  1. Install Claude Code as needed

  2. Copy your authentication token from your Dart profile

  3. Run the following command, being sure to replace dsa... with your actual Dart token

    claude mcp add-json dart '{"command":"npx","args":["-y","dart-mcp-server"],"env":{"DART_TOKEN":"dsa_..."}}'
    
Cursor
  1. Install Cursor as needed
  2. 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
  3. Follow the 'Set up the MCP server' steps below
Cline
  1. Install Cline in your IDE as needed
  2. 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
  3. Follow the 'Set up the MCP server' steps below
Windsurf
  1. Install Windsurf as needed
  2. 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
  3. Follow the 'Set up the MCP server' steps below
Any other client
  1. Find the MCP settings file, usually something like [client]_mcp_config.json
  2. Follow the 'Set up the MCP server' steps below

Set up the MCP server

  1. Install npx, which comes bundled with Node, as needed

  2. Copy your authentication token from your Dart profile

  3. 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

  1. Install Docker as needed

  2. Build the Docker container with docker build -t mcp/dart .

  3. Copy your authentication token from your Dart profile

  4. 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

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"
      }
    }
  }
}

專案資訊

作者
its-dart
建立於
Jul 1, 2025
星標
90
語言
TypeScript
標籤

Dart Mcp 伺服器 替代方案

若您需要Dart Mcp 伺服器 的一些替代方案,我們依分類為您提供相關網站。

建立 MCP 伺服器 步驟 1: 下載 MCP 1. 前往 [MCP 官方網站](http://mcp.ocean-labs.de/)。 2. 下載最新版本的 MCP。 步驟 2: 安裝 Java 1. 確保你的電腦上已安裝 Java JDK。 2. 你可以從 [Oracle 官方網站](https://www.oracle.com/java/technologies/javase-jdk11-downloads.html) 下載並安裝最新版本的 JDK。 步驟 3: 解壓 MCP 1. 將下載的 MCP 壓縮檔解壓到你想要的資料夾中。 步驟 4: 配置 MCP 1. 打開解壓後的 MCP 資料夾。 2. 編輯 `mcp.cfg` 檔案,根據你的需求進行配置。 步驟 5: 啟動 MCP 1. 在 MCP 資料夾中,找到 `start.bat`(Windows)或 `start.sh`(Linux/Mac)。 2. 雙擊或在終端中運行該檔案以啟動 MCP 伺服器。 步驟 6: 測試伺服器 1. 打開 Minecraft 客戶端。 2. 在伺服器列表中添加你的 MCP 伺服器 IP 地址。 3. 連接並測試伺服器是否正常運行。 常見問題 - 如何更新 MCP? - 下載最新版本並重複上述步驟。 - 伺服器無法啟動? - 檢查 Java 是否正確安裝,並確保 MCP 配置正確。 - 如何添加插件? - 將插件檔案放入 `plugins` 資料夾中,然後重啟伺服器。

範例和教程,用於使用 watsonx.ai Flows 引擎構建 AI 應用程序

一個用於超瀏覽器的MCP伺服器實現

Heroku 平台 MCP 伺服器使用 Heroku CLI

Graphlit 平台的模型上下文协议 (MCP) 服务器

GitHub的官方MCP伺服器

Exa 是網頁搜尋 API | 這是 Exa MCP(模型上下文協議)

查看更多 >>