Dusk for AI Coding Assistants
Skill teaches your agent the 31 MCP tools and the actionability gate. MCP server lets it inspect docs at runtime. One marketplace command in Claude Code wires it all up.
Local MCP for app-driving tools
Dusk ships a stdio MCP server inside your project. The 31 dusk_* tools (snap, tap, type, observe, screenshot, evaluate) drive the running Flutter app over VM Service extensions. One install command patches main.dart, scaffolds the fastcli wrapper, and registers the plugin.
dusk_* tools
·
Writes .mcp.json
·
./bin/fsa fastcli wrapper, ~110ms warm
Or paste the canonical .mcp.json by hand
JSON
{
"mcpServers": {
"fluttersdk": {
"command": "./bin/fsa",
"args": ["mcp:serve"],
"cwd": "."
}
}
}
After edit: /mcp reconnect fluttersdk in Claude Code · Cursor auto-reloads · VS Code reload window. If ./bin/fsa is not scaffolded yet, swap the command for dart run fluttersdk_dusk mcp:serve.
Full per-client matrix (Cursor · VS Code · Continue · Windsurf · Claude Desktop) at dusk/mcp/setup.
Three pieces, one outcome.
Skill at edit time. MCP at runtime. llms.txt on demand.
01 · Skill
31 MCP tools, the actionability gate, ref/q query handles. Anti-patterns and gesture failure reasons. Loaded into context before the first run.
02 · MCP server
Streamable HTTP at mcp.fluttersdk.com. One search-docs tool. Public, no auth.
03 · llms.txt
Static markdown inventory at /dusk/llms.txt. Some agents auto-fetch and cache it on first contact.
Install Dusk for Claude Code, Cursor, and Codex
Three paths. Pick the one closest to your editor.
Claude Code plugin Recommended
Marketplace install. Skills surface as /fluttersdk:fluttersdk-dusk, etc.
/plugin marketplace add fluttersdk/ai
/plugin install fluttersdk@fluttersdk-marketplace
npx skills
Universal CLI. Works with 40+ AI coding agents via the Vercel Labs skills package.
npx skills add fluttersdk/ai --skill fluttersdk-dusk
npx skills add fluttersdk/ai -g
Universal installer
Auto-detects every supported tool and registers the MCP server in one pass.
git clone https://github.com/fluttersdk/ai.git && cd ai && bash scripts/install.sh --global --with-mcp
Connect the MCP Server at mcp.fluttersdk.com
One Streamable HTTP endpoint at mcp.fluttersdk.com serves every client. Public, no auth.
Claude Code
claude mcp add --transport http fluttersdk https://mcp.fluttersdk.com
stdio fallback
claude mcp add --transport stdio fluttersdk npx @@fluttersdk/mcp
Cursor
{
"mcpServers": {
"fluttersdk": { "url": "https://mcp.fluttersdk.com" }
}
}
Save to .cursor/mcp.json
OpenCode
{
"mcp": {
"fluttersdk": {
"type": "remote",
"url": "https://mcp.fluttersdk.com",
"enabled": true
}
}
}
Save to opencode.json
VS Code Copilot
{
"servers": {
"fluttersdk": { "type": "http", "url": "https://mcp.fluttersdk.com" }
}
}
Save to .vscode/mcp.json
Codex CLI
[mcp_servers.fluttersdk] url = "https://mcp.fluttersdk.com"
Add to ~/.codex/config.toml
stdio fallback
[mcp_servers.fluttersdk] command = "npx" args = ["-y", "@@fluttersdk/mcp"]
Antigravity CLI
{
"mcpServers": {
"fluttersdk": {
"url": "https://mcp.fluttersdk.com"
}
}
}
Save to ~/.gemini/config/mcp_config.json
Different client? Cline, Gemini CLI, Roo Code configs at fluttersdk/ai · docs/MCP.md.
LLM Inventory Files
Some agents auto-fetch llms.txt at the project URL and load it once into context. Complement to the skill+MCP combo.
Frequently Asked
Do I need both the skill and the MCP server?
The skill teaches your agent the MCP tools surface and the actionability gate at edit time. The MCP server lets it search docs at runtime to verify the tool call it just wrote. They are complementary; install both.
Which AI coding assistants are supported?
The skill works with 40+ agents via the Vercel Labs skills CLI. The MCP server speaks Streamable HTTP, supported natively by Claude Code, Cursor, OpenCode, VS Code Copilot, and Codex CLI. For stdio-only clients use the npx @fluttersdk/mcp bridge.
Is the MCP server free?
Yes. mcp.fluttersdk.com is public, no auth, MIT-licensed. The search-docs tool queries the same docs you read at fluttersdk.com.
Where do I report a hallucination?
Open an issue at github.com/fluttersdk/ai with the prompt, the agent, and the model. The skill ships with anti-pattern reminders that get tightened from real reports.