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.

评论

其他 分类下的更多 MCP 服务器