MCP.so
Sign In

Dart MCP Server Template

@jhgaylor

About Dart MCP Server Template

A template for dart mcp servers

Config

Add this server to your MCP-compatible client using the configuration below.

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

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

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

Comments

More Developer Tools MCP servers