MCP.so
ログイン

Dart MCP Server Template

@jhgaylor

Dart MCP Server Template について

A template for dart mcp servers

基本情報

カテゴリ

開発者ツール

ランタイム

dart

トランスポート

stdio

公開者

jhgaylor

設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "dart-mcp-server-template": {
      "command": "docker",
      "args": [
        "build",
        "-t",
        "my-mcp-server",
        "."
      ]
    }
  }
}

ツール

ツールは検出されませんでした

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is Dart MCP Server Template?

A template repository for creating Dart server applications compatible with MCP (Model Control Protocol). It provides a starting point with Docker configuration, multiple transport implementations (stdio, SSE, streamable HTTP, in-memory), and a basic project structure, targeted at developers building MCP servers in Dart.

How to use Dart MCP Server Template?

Clone the template, rename the package name throughout the codebase, remove the existing .git history, and initialize a new git repository. Then update pubspec.yaml, modify configuration in lib/src/config.dart, implement custom logic in lib/src/server.dart, and run the server via one of the entrypoints: dart bin/stdio_server.dart, dart bin/sse_server.dart, or dart bin/streamable_http_server.dart.

Key features of Dart MCP Server Template

  • Streamable HTTP, SSE, and stdio transport support
  • Docker configuration for easy containerization
  • Integration with the mcp_dart package

コメント

「開発者ツール」の他のコンテンツ