原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

FlutterSDK Artisan

作者:fluttersdk版本 0.0.15i★ –i–
注册名称io.github.fluttersdk/artisan

安装

概览

作者提供的说明(英文原文)

CLI framework and stdio MCP server for Flutter: scaffolding, hot reload, REPL, codegen.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: –
  • 传输方式:
  • 分类: 其他

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 注册中心没有列出需要填写的密钥。

作者没有在注册中心列出安装信息。请查看下方作者的 README。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 fluttersdk 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“其他”中的其他服务器比较i

  • 星标数多于此分类中其他 32509 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 32509 个服务器的 42% 更新
  • 基础检查结果等于或优于此分类中其他 32509 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

FlutterSDK Artisan 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.0.15)于2个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。

有什么可以替代它?

同一分类中有:Spec Driven Development, Remote Desktop Commander, Fomu MCP

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Spec Driven Development

作者:formulahendry

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

在你的电脑上运行★ 440MIT14个月前更新
安装

Remote Desktop Commander

作者:desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

在云端运行★ 211昨天更新
安装

Fomu MCP

作者:gabrielmahia

Kenya government form guides: checklists, draft letters, eCitizen, Huduma, timelines. Sample data.

在你的电脑上运行今天更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

Artisan

Composable CLI framework and stdio MCP server for Flutter and Dart.

Scaffolding, code generation, transactional plugin installs, hot reload orchestration, REPL, and AI agent tool surfaces in one binary.

Documentation · pub.dev · Issues


Why Artisan?

Dart's CLI surface is fragmented. Every package invents its own install ritual, its own scaffold script, its own hand-edited entry point. A team that adopts five tools ends up with five bin/*.dart wrappers, five README install sections, and five chances for a bad merge to silently break the build. AI agents that want to drive the running app reach for ad hoc shell scripts because there is no shared tool surface.

Artisan fixes this. One binary registers every command, one protocol describes every plugin install, and one stdio MCP server exposes the whole stack to AI agents.

# Before, the painful manual setup ritual

edit pubspec.yaml # add the plugin dependency edit bin/ .dart # wire the provider edit lib/main.dart # register the config factory edit android/app/src/AndroidManifest.xml # add the permission edit ios/Runner/Info.plist # add the entry write .env stub # remember which keys restart the app and hope nothing collided

# After, the Artisan way

dart pub add fluttersdk_artisan dart run fluttersdk_artisan install dart run fluttersdk_artisan plugin:install

If you know php artisan, you already know the verb shape. The implementation is pure Dart 3.4+, no Flutter runtime dependency in the framework core.

Features

FeatureDescription
🎼Command RegistryArtisanRegistry collects commands from every registered ArtisanServiceProvider, collision-detected at boot
🧰22 Built-in CommandsLifecycle, scaffolding, plugin management, MCP, introspection, codegen, one binary
✍️Signature DSLString get signature => 'cmd:name {arg} {--flag}', Dart 3 record-style parser, ArgParser fallback when needed
🤖MCP ServerStdio JSON-RPC server built on dart_mcp, exposes substrate and plugin tools to AI agents
🌳Magic-Free Pathinstall writes a canonical wrapper for plain Flutter and Dart projects, no framework dependency
🔌Plugin Protocolinstall.yaml declarative manifest plus PluginInstaller fluent DSL escape hatch
🔄Idempotent InstallsLookahead-anchored regex injection, replace-by-name registry, re-running an install is a safe no-op
↩️Reversible OpsEvery applied operation is recorded under .artisan/installed/ .json, plugin:uninstall walks it in reverse
🪞VM Service Hookstinker, reload, hot-restart drive the running Flutter VM directly over ext.* extensions
🎯Context-Aware Generatorsmake:command detects plugin vs consumer context, make:plugin upgrades to magic-mode automatically
🧪Testable PrimitivesVirtualFs plus InMemoryFs, InstallContext.test, ArtisanContext.bare, BufferedOutput capture

Quick Start

1. Install and scaffold
dart pub add fluttersdk_artisan

dart run fluttersdk_artisan install

install writes bin/dispatcher.dart (the consumer entry that calls runArtisan(...)) plus barrels (lib/app/_plugins.g.dart, lib/app/commands/_index.g.dart), then auto-chains make:fast-cli so bin/fsa is ready immediately. Re-running is idempotent, pass --force to overwrite.

After scaffold, run any built-in command via the consumer wrapper:

dart run artisan list

dart run artisan doctor dart run artisan start --device=chrome

2. Install a plugin
dart pub add awesome_plugin

dart run fluttersdk_artisan plugin:install awesome_plugin

Plugins ship either an install.yaml manifest (declarative, walked by ManifestInstaller) or a procedural ArtisanInstallCommand subclass that drives PluginInstaller directly. Either way, the registry records every applied operation so a future plugin:uninstall can reverse them safely.

Plugin commands surface automatically. After installing fluttersdk_dusk, dart run artisan list shows the new dusk:* entries under their own namespace section.

3. Wire the MCP server for your AI agent
./bin/fsa mcp:install

or, on Windows / when bin/fsa is absent:

dart run fluttersdk_artisan mcp:install

mcp:install writes (or updates) the mcpServers.fluttersdk entry in .mcp.json. After install, reconnect the MCP client once (for Claude Code: /mcp reconnect fluttersdk). The server boots in stdio JSON-RPC mode and exposes 10 substrate tools (artisan_start, artisan_stop, artisan_status, artisan_logs, artisan_restart, artisan_reload, artisan_hot_restart, artisan_doctor, artisan_list, artisan_tinker) plus any plugin-contributed tools.

Read the full setup walkthrough at MCP setup guide.

Commands

Artisan ships 22 built-in commands across 6 namespaces. Every command is a final class X extends ArtisanCommand with a signature string and a handle() method.

NamespaceCountCommands
Lifecycle7start, stop, status, logs, restart, reload, hot-restart
Scaffolding4make:plugin, make:command, make:fast-cli, install
Plugin Management3plugin:install, plugin:uninstall, plugins:refresh
MCP3mcp:serve, mcp:install, mcp:uninstall
Introspection4help, list, doctor, tinker
Codegen1commands:refresh

Highlights:

# Lifecycle

dart run artisan start --device=chrome # spawn flutter run, record the session under ~/.artisan/sessions/ / dart run artisan reload # send r (hot reload) via FIFO bridge to detached process dart run artisan hot-restart # send R (hot restart, drops Dart state)

Scaffolding

dart run artisan make:plugin awesome # 7-file plugin skeleton, auto-upgrades to magic-mode when applicable dart run artisan make:command Greet # context-aware: plugin vs consumer context, auto-registers in provider dart run artisan make:fast-cli # compile artisan to native binary at bin/fsa (~50ms startup vs ~3s)

Introspection

dart run artisan tinker # connected REPL against the running VM dart run artisan tinker --eval='1 + 1' # one-shot evaluation flag for automation dart run artisan doctor # preflight checks: flutter + dart on PATH, default port availability

Full command catalog and per-command flag reference at commands catalog.

Writing your own command

make:command scaffolds a final class extending ArtisanCommand and auto-registers it in the nearest service provider. The signature DSL parses arguments and flags from one string, the handle() method receives a typed ArtisanContext:

final class GreetCommand extends ArtisanCommand {

@override String get signature => 'greet {name} {--shout}';

@override String get description => 'Greet a person by name.';

@override Future handle(ArtisanContext context) async { final name = context.input.argument('name'); final shout = context.input.option('shout') == 'true'; final greeting = shout ? 'HELLO, ${name.toUpperCase()}!' : 'Hello, $name'; context.output.success(greeting); return 0; } }

For cases the signature DSL cannot express (positional rest, mutually exclusive flag groups), override void configure(ArgParser parser) and read from context.input.results directly. Signature DSL grammar at signature DSL reference.

Plugin Protocol

Artisan plugins declare their install footprint in install.yaml, a declarative manifest walked by ManifestInstaller. The manifest supports publish (files to copy), magic.provider plus magic.configFactory plus magic.routes (framework wiring), native.android (permissions, metaData, gradle plugins, gradle dependencies), native.ios and native.macos (plist entries, pod entries), native.web (head injections, meta tags), env (environment variable declarations with defaults), prompts (interactive install prompts), placeholders (token resolution from prompt answers), and bootstrap_command (post-install hint). Schema reference at install.yaml schema.

A minimal install.yaml looks like this:

publish:
  • from: stubs/config.dart to: lib/config/awesome.dart

magic: provider: package:awesome/awesome_provider.dart configFactory: package:awesome/config.dart

native: android: permissions:

  • android.permission.INTERNET ios: plistEntries: NSCameraUsageDescription: "We need the camera to scan codes."

env: AWESOME_API_KEY: default: "" comment: "API key for awesome.example.com"

bootstrap_command: "Run dart run artisan awesome:bootstrap after install."

For plugins that need runtime branching the YAML schema cannot express, subclass ArtisanInstallCommand and drive PluginInstaller directly. The DSL exposes file operations (writeFile, publishConfig, mergeJson), source-injection operations (injectImport, injectBefore, injectAfter, injectProvider, injectConfigFactory, injectRoute), native operations (injectAndroidPermission, injectIosPlistEntry, and friends), and environment operations (injectEnvVar). Every operation is deferred and batched, nothing writes until commit(dryRun:, force:) fires:

final class AwesomeInstallCommand extends ArtisanInstallCommand {

@override String get signature => 'awesome:install';

@override Future handle(ArtisanContext context) async { final apiKey = await installer.ask('Enter the awesome API key:'); installer ..injectImport('lib/main.dart', 'package:awesome/awesome.dart') ..injectConfigFactory('Awesome.configFactory') ..injectEnvVar('AWESOME_API_KEY', defaultValue: apiKey) ..injectAndroidPermission('android.permission.INTERNET');

final result = await installer.commit(dryRun: false, force: false); return result is Success ? 0 : 1; } }

Full DSL reference at PluginInstaller DSL reference.

Operations are idempotent (lookahead-anchored regex skips when the target code is already present), atomic (every write goes through .tmp plus atomic rename so concurrent readers never see partial state), and re

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx