Skip to content

Vibe coding Flutter: the official agent plugin, MCP server, skills and rules

Better Design

Direct answer

Flutter's docs do not use the phrase vibe coding, but they document how to set up an AI coding agent for Flutter: an official plugin that bundles agent skills, agent rules and the Dart and Flutter MCP server. You install it in Claude Code, Cursor, Codex, GitHub Copilot or Antigravity, and the agent can then read analyzer errors, run tests and hot reload your app.

A hand-drawn browser window with Flutter written in it and a short list of what it does.

What Flutter is

Each fact comes from the sources listed at the end of this page, read on November 12, 2026.

  • Flutter's docs list six AI tools: agent skills, the Dart and Flutter MCP server, the Developer Knowledge MCP server, package skills, specialized agents and agent rules.
  • The official Flutter agent plugin bundles agent skills, agent rules, the Dart and Flutter MCP server and specialized agents.
  • The Dart and Flutter MCP server connects an assistant to the Dart SDK and Flutter tooling over standard I/O, and you start it with dart mcp-server.
  • The MCP server can fix analyzer errors, resolve symbols, inspect a running Flutter app, search pub.dev, manage pubspec.yaml, run tests and format code.
  • The MCP server's README calls the package experimental and asks for Dart 3.9.0-163.0.dev or later.
  • Official skills live in the flutter/agent-plugins and dart-lang/skills repositories on GitHub.
  • An assistant first reads only each skill's name and description, and loads the full SKILL.md when a skill fits your prompt.
  • Agent rules are added to every new session, for example to trigger hot reload when the agent edits Flutter widgets.
  • In Claude Code and Codex, the plugin installs skills and the MCP server but not the rules, so you add rules yourself.
  • The Developer Knowledge MCP server gives an assistant search access to docs.flutter.dev, dart.dev and the API references.
  • The Flutter Accessibility agent audits widget trees and flags touch targets smaller than 48x48 logical pixels; it is available in Google Antigravity.

Each coding agent installs the Flutter tools its own way

Claude Code
How you install the tools

claude plugin marketplace add flutter/agent-plugins, then claude plugin install dart-flutter@dart-flutter

Where the rules go

Your project's CLAUDE.md file

Cursor
How you install the tools

Add to Cursor on the Cursor Marketplace, or run /add-plugin dart-flutter in chat

Where the rules go

.mdc files in .cursor/rules/

Codex
How you install the tools

codex plugin marketplace add flutter/agent-plugins, then codex plugin add dart-flutter@dart-flutter

Where the rules go

AGENTS.md

GitHub Copilot
How you install the tools

Add the dart MCP server to .vscode/mcp.json and install skills with npx skills add

Where the rules go

.github/copilot-instructions.md

Windsurf, Zed or Cline
How you install the tools

Add the dart MCP entry to the client's MCP config and install skills with npx skills add

Where the rules go

The assistant's own rules file, such as .windsurfrules or .clinerules

Get started with Flutter

  • Pick your coding agent on Flutter's Get started developing with AI page.
  • Install the official Dart and Flutter plugin, or add an MCP entry named dart that runs dart mcp-server.
  • If your agent has no plugin, install skills with npx skills add flutter/agent-plugins --skill '*' --agent universal --yes, and the same for dart-lang/skills.
  • Copy the rules you want from the rules directory in flutter/agent-plugins into your agent's rules file.
  • Ask the agent to summarize the Dart and Flutter tools and skills available in the project.

Flutter in four steps

The four steps, in the order you take them.

A hand-drawn four-step path for Flutter: Install the plugin, Add the MCP server, Load skills and rules, Prompt the agent.
  1. Step 1: Install the plugin
  2. Step 2: Add the MCP server
  3. Step 3: Load skills and rules
  4. Step 4: Prompt the agent

Caveats Flutter states

  • Claude Code and Codex plugins do not load Flutter's rules automatically.
  • The MCP server is experimental and needs Dart 3.9.0-163.0.dev or later.
  • For every MCP server feature, your client must support MCP Tools and Resources.
  • The Flutter Accessibility agent currently runs only in Google Antigravity.

Steal this workflow

Run this guide in your own assistant. The prompt carries the guide link and the workflow summary, so the assistant can adapt it to your project.

Read the guide "Vibe coding Flutter: the official agent plugin, MCP server, skills and rules" at https://better-design.com/blog/vibe-coding-flutter and help me apply it to my project.

Flutter's docs do not use the phrase vibe coding, but they document how to set up an AI coding agent for Flutter: an official plugin that bundles agent skills, agent rules and the Dart and Flutter MCP server. You install it in Claude Code, Cursor, Codex, GitHub Copilot or Antigravity, and the agent can then read analyzer errors, run tests and hot reload your app.

Start by asking what I am building and which tools I use. Then walk me through the workflow step by step, adapted to my answers.

Claude and ChatGPT open with the prompt filled in. Gemini copies the prompt to your clipboard first, so paste it when the app opens.

Questions

Is there an official MCP server for Flutter?

Yes. The Dart and Flutter MCP server lives in the dart-lang/ai repository and runs with dart mcp-server. It gives an assistant analyzer diagnostics, symbol lookup, test runs, formatting and access to a running app.

How do I set up Flutter in Claude Code?

Run claude plugin marketplace add flutter/agent-plugins, then claude plugin install dart-flutter@dart-flutter. The plugin does not load rules, so add the rules you want to your project's CLAUDE.md file.

What are Flutter agent rules?

They are persistent instructions added to every new session with your assistant, such as triggering hot reload after editing widgets. Flutter publishes them in the rules directory of flutter/agent-plugins.

Where these Flutter facts come from

Each fact comes from the pages listed here, read on November 12, 2026. Products change, so check those pages for the current version.

Build the interface in your own code instead

A coding agent such as Claude Code, Cursor or Codex can build your interface in your own code. Better Design gives that agent a design system, interface principles and review rules, so the result looks designed.