MTDevKit
An MCP server that scaffolds Flutter projects from a custom clean-architecture Bitbucket template, enabling AI agents to create, list, and inspect Flutter projects via natural language.
README
MTDevKit
An MCP (Model Context Protocol) server that scaffolds Flutter projects from a custom clean-architecture Bitbucket template. Any MCP-compatible AI agent (Claude Desktop, Claude Code, Cursor, etc.) can call it as a tool.
What it does
Tools
| Tool | Description |
|---|---|
create_flutter_project |
Full 11-step project setup (clone template → git init → deps → l10n → flavorizr → config → Android) |
list_flutter_projects |
Scan a directory for Flutter projects |
get_project_info |
Read pubspec, config, git status of an existing project |
Slash commands (prompts)
These show up when you type / in Cursor or other MCP clients:
| Command | Description |
|---|---|
/create-flutter-project |
Scaffold a new Flutter project from the MT template |
/list-flutter-projects |
List all Flutter projects in a directory |
/project-info |
Get details about an existing Flutter project |
create_flutter_project steps
- Install/update
app_starter_plus - Clone template & rename project
- Initialise Git (+ hooks if present)
- Install Flutter dependencies
- Generate localisations
- Update
flavorizr.yamlwith project name & org - Commit all files before flavorizr
- Generate flavors (flavorizr)
- Revert
main.dart&app.dart(overwritten by flavorizr) - Create config files (dev / uat / prod)
- Configure Android build (desugaring, HMS, ProGuard)
create_flutter_project parameters
| Parameter | Required | Description |
|---|---|---|
name |
Yes | Dart package name (e.g. my_super_app) |
org |
Yes | Reverse-domain org (e.g. mu.mt) |
template |
Template repo URL (defaults to Bitbucket template) | |
dir |
Parent directory (defaults to cwd) | |
dry_run |
Preview without executing |
Prerequisites
- Node.js >= 18
- git
- Flutter (via
fvmor direct — fvm is auto-detected) - SSH key or credentials configured for your Bitbucket template repo
Install
Option 1: via npm (GitHub Packages)
npx -y @stephangopaul/mtdevkit --registry=https://npm.pkg.github.com
Option 2: from source
git clone https://github.com/stephangopaul/MTDevKit.git
cd MTDevKit
npm install
npm run build
Usage with Cursor
Add to ~/.cursor/mcp.json:
{
"mcpServers": {
"MTDevKit": {
"command": "npx",
"args": [
"-y",
"@stephangopaul/mtdevkit",
"--registry=https://npm.pkg.github.com"
]
}
}
}
Or if running from source:
{
"mcpServers": {
"MTDevKit": {
"command": "node",
"args": ["/path/to/MTDevKit/dist/index.js"]
}
}
}
Usage with Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"MTDevKit": {
"command": "npx",
"args": [
"-y",
"@stephangopaul/mtdevkit",
"--registry=https://npm.pkg.github.com"
],
"env": {
"PATH": "/usr/local/bin:/usr/bin:/bin:/your/flutter/path"
}
}
}
}
Tip: Make sure
PATHinenvincludes the directories wherefvm,git, anddartlive.
Usage with Claude Code
claude mcp add MTDevKit -- npx -y @stephangopaul/mtdevkit --registry=https://npm.pkg.github.com
Example interaction
You: Create a new Flutter project called
logistics_appfor orgmu.mtAgent calls
create_flutter_projectwith{ name: "logistics_app", org: "mu.mt" }and returns the full setup log + project path.
Dry run
Pass dry_run: true to preview every command without executing anything — useful for confirming the plan before committing.
Customisation
- Template URL — change
DEFAULT_TEMPLATEinsrc/index.tsor pass it per-call - Config file shape — edit the
configJson()helper to match your team's schema - Extra steps — add more steps by following the existing pattern in the tool handler
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.