MCP.so
登录

Flutter MCP Server

@Centinol-alt

基本信息

分类

其他

许可证

MIT license

传输方式

stdio

作者

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

Flutter MCP Server 配置

使用下面的配置,将此服务器添加到你的 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"
            ]
          }
        }
      ]
    }
  }
}

Flutter MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

点击上方按钮,直接连接服务器端点实时获取工具列表。

概览

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

常见问题

1

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.

2

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.

3

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`).

4

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.

5

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 服务器