MCP.so
ログイン

Flutter MCP Server

@Centinol-alt

Flutter MCP Server について

Open-source Model Context Protocol (MCP) server for Dart & Flutter. Exposes SDK tools and project resources for AI-driven workflows, automation, and remote development

基本情報

カテゴリ

その他

ライセンス

MIT license

ランタイム

dart

トランスポート

stdio

公開者

Centinol-alt

設定

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

{
  "mcpServers": {
    "flutter_mcp_server": {
      "type": "http",
      "url": "https://mcp.so/api/flutter_mcp_server",
      "command": "docker run -p 8080:8080 centinolalt/flutter_mcp_server",
      "tools": [
        {
          "name": "analyze",
          "description": "Analyze Dart/Flutter files for diagnostics and suggestions",
          "inputSchema": {
            "type": "object",
            "properties": {
              "filePath": {
                "type": "string",
                "description": "Path to the Dart/Flutter file to analyze"
              }
            },
            "required": [
              "filePath"
            ]
          }
        }
      ]
    }
  }
}

ツール

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

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

概要

What is Flutter MCP Server?

The Flutter MCP Server is an open‑source implementation of the Model Context Protocol (MCP) for the Dart and Flutter ecosystem. It bridges AI assistants, developer tools, and automated workflows by exposing Dart and Flutter SDK tools (analyze, format, fix, create, run, test) as programmable endpoints, along with resource endpoints for documentation and community examples.

How to use Flutter MCP Server?

Clone the repository, install dependencies with dart pub get, copy .env.example to .env, and run locally via dart run bin/flutter_mcp_server.dart or build/run with Docker. Add the server to AI clients (e.g., Windsurf, Cursor) by configuring their MCP config files with a Docker‑based command.

Key features of Flutter MCP Server

  • Exposes Dart and Flutter SDK tools as MCP endpoints
  • Provides resource endpoints for documentation and community examples
  • Secure environment variable management via .env files
  • Ready‑to‑deploy Dockerfile and smithery.yaml
  • Supports integration with AI assistants and CI/CD pipelines
  • Extensible with new tools and resources

Use cases of Flutter MCP Server

  • Automate code analysis, formatting, and testing via AI or scripts
  • Scaffold new Flutter projects programmatically through MCP
  • Integrate Dart/Flutter tooling into cloud‑based development workflows
  • Enable AI code assistants to run Dart/Flutter commands securely

FAQ from Flutter MCP Server

What does Flutter MCP Server do?

It exposes Dart and Flutter SDK commands (analyze, format, fix, create, run, test) as MCP tools, and provides resource endpoints for documentation and community examples, enabling AI agents and automation to interact with real Dart/Flutter projects.

What are the prerequisites?

Dart SDK (≥3.4.4), Flutter SDK, and optionally Docker for containerized runs and cloud deployment. A Smithery account is needed if deploying to Smithery, though cloud deployment is not yet set up.

How do I set it up locally?

Clone the repo, run dart pub get, copy .env.example to .env, then either run dart run bin/flutter_mcp_server.dart or build/run with Docker (docker build -t flutter_mcp_server . then docker run -it --env-file .env flutter_mcp_server).

Can I deploy it to Smithery?

Smithery cloud deployment is not currently set up; the server is only supported for local use. A smithery.yaml and Dockerfile are provided, but the registry listing and integration are not yet available.

How do I integrate it with Windsurf or Cursor?

Add a Docker‑based command entry to the client’s MCP config (e.g., .codeium/windsurf/mcp_config.json or mcp.json), specifying the image name and any required environment variables.

コメント

「その他」の他のコンテンツ