Flutter
MCP server by rubenspeculis Verified · npm:@mcpapps
Builds Flutter Web apps into ui:// MCP App components that render inside hosts such as Claude, ChatGPT and VS Code. Aimed at developers who want interactive Flutter UIs returned from MCP tools. It is part of the @mcpapps framework, which also supports Vue.
Install Flutter
Built from the published package, never by AI.
claude mcp add flutter -- npx -y @mcpapps/flutterRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"flutter": {
"args": [
"-y",
"@mcpapps/flutter"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"flutter": {
"args": [
"-y",
"@mcpapps/flutter"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"flutter": {
"args": [
"-y",
"@mcpapps/flutter"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add flutter -- npx -y @mcpapps/flutter{
"mcpServers": {
"flutter": {
"args": [
"-y",
"@mcpapps/flutter"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add flutter npx -y @mcpapps/flutterGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the flutter block.
About
The Flutter package, @mcpapps/flutter, compiles a Flutter Web app into a ui:// component made of a loader HTML file and cached assets. The component is returned from Model Context Protocol tools and rendered in a sandboxed iframe inside hosts such as Claude, ChatGPT and VS Code. It talks to the host over JSON-RPC postMessage through the Dart package mcpapps_bridge, which provides runMcpApp and McpApp.of(context).
The Flutter renderer is part of @mcpapps, which also offers a Vue renderer, a Hono-based server and a local host emulator with live reload. Typed Dart models can be generated from zod schemas. The source says Flutter suits stateful or graphical UIs and recommends McpAutoSize for tall content. It is aimed at developers building interactive MCP App interfaces in Flutter. The project is under active development.
Written from the project's README and checked against it.
What you need
- Flutter SDK (needed for the Flutter example)
- Node.js (the Hono server runs on Node)
- pnpm (used in the setup commands)
Try asking
- Show the forecast as an interactive Flutter card inside the chat
- Open the Flutter component returned by the weather tool
- Update the Flutter app view with the latest tool result
Good to know
- Flutter components are multi-megabyte (CanvasKit), larger than Vue components.
- Deployed hosts usually receive one inlined HTML document rendered with srcdoc.
- Opaque-origin iframes should use callTool or McpAppHttpClient for backend calls.
- The project is under active development.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
What you can do with it
- Build interactive Flutter UIs for MCP tools
- Render stateful graphical views inside AI chat hosts
- Create Flutter components from a Dart app
Alternatives to Flutter
All alternatives →Turns GitHub repositories into architecture diagrams, written explanations, Mermaid source and narrated explainer videos. Built for developers who want to understand a codebase, and for AI agents that need to read one.
Mocks, records, and chaos-tests HTTP(S) dependencies for development and testing. One port serves many protocols, including gRPC, WebSockets, and LLM chat APIs. Built for developers and testers who need stand-in services during tests.
Provides MCP server and CLI tools that let AI coding agents build, test and manage iOS and macOS projects with Xcode and simulators. It is aimed at developers working on Apple platform apps.
Creates editable draw.io diagrams in AI chat from Mermaid, PlantUML, CSV or draw.io XML. Built for people who want diagrams from text prompts that stay editable in draw.io.
Indexes your code, git history, tests and decisions on your machine so AI coding agents can query the index instead of re-reading files. Built for developers who want fewer files opened and clearer answers about change risk and code health.
Gives your AI assistant hosted codebase intelligence for repos indexed on repowise.dev. Use it to ask how code works, what a change may break, and which tests to run.
Compare with GitDiagram, mockserver or XcodeBuildMCP
Flutter: common questions
What does the Flutter MCP App renderer produce?
It produces a ui:// HTML component made of a loader HTML file and cached assets. The component is rendered in a sandboxed iframe by MCP hosts.
Which hosts can display these Flutter components?
The source names Claude, ChatGPT and VS Code as hosts that render MCP Apps. It follows the MCP Apps and mcp-ui contract.
When should I choose Flutter instead of Vue?
The source says Flutter is best for stateful or graphical UIs, while Vue components are lightweight and small. Flutter components are richer but much larger.
How do I install Flutter?
In Claude Code run claude mcp add flutter -- npx -y @mcpapps/flutter. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Flutter the official server?
Flutter is published by npm:@mcpapps from its verified domain in the official MCP Registry.
Is Flutter free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Flutter safe to use?
It scores 77 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Flutter?
Similar MCP servers: GitDiagram, mockserver, XcodeBuildMCP, draw.io.
Does Flutter work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
