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

评论

开发工具 分类下的更多 MCP 服务器