drio
Open app

Simple_dart_mcp_server

Source

A very simple Model Context Protocol server implementation in Dart

Catalog onlyCatalog onlySTDIO

Overview

Simple Dart MCP Server is a lightweight implementation of the Model Context Protocol (MCP) server using the Dart programming language.

To use the Simple Dart MCP Server, clone the repository from GitHub, and run the server using Dart's command-line tools. It supports both stdio and websocket transport for communication.

  • Lightweight and easy to set up - Supports stdio and websocket transport - Built using Dart programming language
  1. Creating a simple server for testing Model Context Protocol applications.
  2. Implementing a lightweight server for IoT devices that communicate using MCP.
  3. Educational purposes for learning about server implementations in Dart.

Add to your AI client

Use these steps to connect Simple_dart_mcp_server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "simple-dart-mcp-server-nmfisher": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-simple-dart-mcp-server-nmfisher"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "simple-dart-mcp-server-nmfisher": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-simple-dart-mcp-server-nmfisher"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "simple-dart-mcp-server-nmfisher": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-simple-dart-mcp-server-nmfisher"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "simple-dart-mcp-server-nmfisher": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-simple-dart-mcp-server-nmfisher"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "simple-dart-mcp-server-nmfisher": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-simple-dart-mcp-server-nmfisher"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "simple-dart-mcp-server-nmfisher": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-simple-dart-mcp-server-nmfisher"
      ]
    }
  }
}

FAQ

What is Model Context Protocol (MCP)?

MCP is a protocol designed for communication between devices in a networked environment.

Is this server suitable for production use?

This implementation is intended for educational and testing purposes and may not be suitable for production environments.

Where can I find the source code?

The source code is available on GitHub at https://github.com/nmfisher/simple_dart_mcp_server.