Logo vun Flunner

Flunner

Organisatioun
stackwares

Native macOS Flutter workbench with an in-app MCP server so AI agents can run, observe, and control the live runtime.

Editeurstackwares
Repositoryflunner-swift
SproochSwift
Forks
1
Stären
14
Disponibel Tools
0
Transporttypstreamable-http
Kategorien
LizenzMIT
Linken
  • Tools mat KI-Workflows verbannen

    Flunner stellt MCP-Funktioune bereit, déi vu kompatibele KI-Clienten a KI-Agente kënne benotzt ginn.

  • 0 disponibel Tools

    Kuckt Iech déi opruffbar Aktiounen hei drënner un, mat Nimm a Beschreiwungen, wa se vum Server geliwwert ginn.

  • Konfiguratioun fir ze kopéieren

    Benotzt d'Installatiounsbeispiller, fir dëse Server an Ärem bevorzugte MCP-Client ze konfiguréieren.

  • Indicateure fir Open Source

    14 Stären an 1 Forks aus dem verlinkte Repository.

Flunner

The AI-Agent Sidekick & Native macOS Workbench for Flutter.

CI Release macOS Swift Flutter License: MIT


⚡ Overview

Flunner is the dedicated developer workbench and runtime sidekick for AI coding agents on macOS.

While your AI coding assistant (Cursor, Claude Code, Windsurf, GitHub Copilot, Roo Code, Aider, Antigravity) generates code and creates diffs, Flunner lives right alongside as your calm, hyper-responsive runtime cockpit—giving you instant hot-reloads, device orchestration, live diagnostic streams, PTY terminal tasks, and Git checkpoints with zero IDE clutter.

Agents can also connect over Model Context Protocol (MCP) to the running workbench — not a headless CLI — and inspect or drive projects, devices, sessions, logs, git, and the integrated terminal.

"While your AI agent writes the code, Flunner commands the runtime."


🤖 Built for the AI Coding Era

  • 🔌 In-app MCP Server — Cursor, Claude Code, and other MCP clients can inspect and drive the live workbench over localhost (projects, devices, runs, logs, git, and terminal). Enable it in Settings → Agents.
  • ⚡️ Zero-Friction Hot Reload & Restart — Instantly test agent-generated UI and logic modifications (r / R) with sub-second response times without ever leaving your editor.
  • 🪵 High-Density Diagnostics for Prompts — Stream structured logs with multi-level filtering (Info, Error, Command), regex search, and 1-click diagnostic export to feed crash dumps directly back into AI prompts.
  • 🌿 Atomic Git Checkpoints — Built-in native Git sheet to inspect diffs, stage files, and commit agent iterations before running further prompts.
  • 📱 Multi-Device Target Orchestration — Effortlessly launch and switch between iOS Simulators, Android Virtual Devices (AVDs), macOS Desktop, and Chrome Web targets.
  • 🪶 Calm, Ultra-Lightweight Footprint — 100% native Swift & SwiftUI architecture with negligible RAM and CPU usage, saving your machine's full power for local LLMs, compilers, and agents.

✨ Features

  • ⚡️ Instant Runtime Control — Trigger Hot Reload (r) and Hot Restart (R) with zero latency. Live session indicators keep you informed of compilation and process state.
  • 🪵 High-Throughput Console — Smooth multi-line selection, real-time search, timestamp toggling, and fast filtering by log level (Info, Error, Command).
  • 💻 Integrated PTY Terminal — Built-in interactive terminal tabs powered by SwiftTerm with full interactive shell support (zsh, fvm, bash).
  • 📱 Device & Emulator Management — Automatic detection and launching of iOS Simulators, Android Virtual Devices (AVDs), macOS desktop targets, and Chrome web instances via Flutter daemon.
  • 🌿 Git & Source Control Sheet — Native source control dialog to stage files, inspect unified diffs, compose commits, switch branches, and push without leaving the workbench.
  • 🛠️ Project Maintenance & SDK Diagnostics — One-click flutter pub get, flutter clean, integrated flutter doctor diagnostics viewer, and quick access to Flutter / Dart documentation.
  • 🎨 Purpose-Built Design — Native macOS HIG adherence, custom copper/graphite workbench aesthetics, light/dark appearance support, and custom font scaling.
  • 🔌 In-app MCP Server — While Flunner is running, AI agents can inspect and drive the live workbench over localhost (projects, devices, runs, logs, git, and terminal).

📋 Requirements

  • macOS: 15.0 (Sequoia) or newer
  • Flutter SDK: 3.0+ (supports standard Flutter installs and FVM)
  • Xcode: 16.0+ (for building from source)
  • Swift: 5.9+

🚀 Quick Start

Download DMG Installer (Recommended)

  1. Download the latest Flunner.dmg from GitHub Releases.
  2. Open the disk image and drag Flunner to your Applications folder.
  3. Launch Flunner from Applications or Spotlight.

Tip: If macOS Gatekeeper alerts you when launching an ad-hoc signed build for the first time, right-click (or Control-click) Flunner.app in /Applications and click Open.


Install via Homebrew

Install the macOS app via Homebrew Cask:

bash
brew install --cask stackwares/tap/flunner

To upgrade later:

bash
brew upgrade --cask flunner

Building & Running from Source

Clone the repository and run the convenience script:

bash
# Clone the repository
git clone https://github.com/stackwares/flunner.git
cd flunner

# Build and launch in Debug mode
./script/build_and_run.sh

# Package a Release DMG installer (.dmg & .zip in dist/)
./script/build_dmg.sh

Using Swift Package Manager / Xcode

You can also build directly via SwiftPM or generate the Xcode project:

bash
# Build via Swift CLI
swift build

# Run unit and integration tests
swift test

# (Optional) Generate Xcode project using XcodeGen
xcodegen generate
open Flunner.xcodeproj

⌨️ Keyboard Shortcuts

ShortcutAction
⌘ RRun Project / Active Configuration
rHot Reload
RHot Restart
⌘ .Stop Running Session
`⌃ ``Toggle Integrated Terminal Pane
⌘ 2Open Source Control Sheet
⌘ ,Settings

🤖 MCP Server

Flunner exposes a localhost Model Context Protocol server while the app is running. Agents talk to the live workbench — not a headless CLI — so they can switch devices, run/stop sessions, read logs, and drive git/terminal.

  1. Launch Flunner.
  2. Open Settings → Agents.
  3. Click Connect Selected Agents for Cursor, Claude Code, or Codex.
  4. Enable Keep in sync when Flunner starts so URL and bearer token updates apply automatically after each launch.

Manual fallback: copy the JSON snippet from the same tab if you prefer to edit agent config yourself.

Example Cursor / Claude config:

json
{
  "mcpServers": {
    "flunner": {
      "url": "http://127.0.0.1:47321/mcp",
      "headers": {
        "Authorization": "Bearer <token-from-settings>"
      }
    }
  }
}

The server binds 127.0.0.1 only (preferred port 47321). Discovery is also written to ~/Library/Application Support/Flunner/mcp-server.json. Call get_status first to see the current project, devices, sessions, and whether Pub Get / Clean / Run are available.


🏗️ Architecture

Flunner is built using modern native Swift and SwiftUI patterns:

  • UI Layer: Pure SwiftUI targeting macOS 15 with strict concurrency checking enabled.
  • Terminal Engine: Integrated PTY shell sessions using SwiftTerm.
  • Process Orchestration: Robust asynchronous process runners communicating with the Flutter daemon JSON-RPC protocol over stdio.
  • Agent Interface: An in-process localhost MCP server (Streamable HTTP) so editors can call the same workbench APIs as the UI.
  • Project Structure: Dual-source configuration using Package.swift (SPM) and project.yml (XcodeGen).
Flunner/
├── Sources/
│   └── Flunner/
│       ├── Models/         # App state, devices, launch configs, daemon protocol
│       ├── Services/       # Flutter daemon, runner, Git, terminal, in-app MCP server
│       ├── Views/          # Console, terminal, sidebar, controls, settings
│       └── Design/         # Design tokens, color palette, typography
├── Tests/
│   └── FlunnerTests/       # Unit and integration test suites
└── script/                 # Build, run, and log streaming automation

🤝 Contributing

Contributions from the community are warmly welcomed! Please read our Contributing Guide and Code of Conduct before submitting a pull request.

  1. Fork the repo and create a feature branch (git checkout -b feature/amazing-feature)
  2. Commit your changes (git commit -m 'Add amazing feature')
  3. Ensure all tests pass (swift test)
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

📄 License

Flunner is open-source software licensed under the MIT License.


Flunner MCP mat verschiddene KI-Modeller benotzen

TypingMind verbënnt MCP-Tools um Niveau vum Aarbechtsberäich. Soubal Flunner verbonnen ass, kënnt Dir et mat verschiddene KI-Modeller an TypingMind benotzen, amplaz et fir all Modell separat anzeriichten. Dës MCP-Integratioun verbënnt sech an TypingMind iwwer d'URL vun engem gehoste MCP-Server.

Eng MCP-Server-URL derbäisetzen

Benotzt dës Optioun, wann Flunner scho remote gehost gëtt oder Är Ekipp ee gemeinsame Connector wëllt, op dee méi Benotzer kënnen zougräifen.

1

MCP-Connectoren opmaachen

Gitt an TypingMind op „Plugins“, maacht „MCP-Connectoren“ op a wielt dann „URL derbäisetzen“.

  1. Maacht TypingMind an Ärem Browser op.
  2. Gitt op „Plugins“.
  3. Maacht „MCP-Connectoren“ op.
  4. Klickt op „URL derbäisetzen“.
TypingMind-Formulaire fir eng benotzerdefinéiert MCP-Server-URL derbäizesetzen
2

D'Server-URL apeschen

Gitt d'MCP-Server-URL vum Ubidder am Feld „Server-URL“ an. Setzt e Verbindungsnumm, eng Beschreiwung, e Symbol, benotzerdefinéiert HTTP-Headeren oder OAuth-Clientastellungen derbäi, wann de Server se erfuerdert.

  1. Pescht d'MCP-Server-URL vum Ubidder an d'Feld „Server-URL“.
  2. Gitt en Numm fir d'Verbindung mat Flunner an.
  3. Setzt eng Beschreiwung an e Symbol derbäi, fir d'Verbindung méi einfach erëmzeerkennen.
  4. Setzt benotzerdefinéiert HTTP-Headeren oder OAuth-Clientdetailer derbäi, wann de Server eng Authentifizéierung erfuerdert.
3

D'Verbindung erstellen

Klickt op „Verbindung erstellen“, gitt dann zeréck op d'Plugin-Lëscht a kontrolléiert, ob déi nei MCP-Verbindung aktiv ass.

  1. Klickt op „Verbindung erstellen“.
  2. Gitt zeréck op d'Lëscht vun de MCP-Connectoren.
  3. Kontrolléiert, ob d'Verbindung mat Flunner als aktiv ugewise gëtt.
  4. Aktualiséiert d'Plugin-Lëscht, wann d'Verbindung net direkt ugewise gëtt.
4

Modeller wiesselen ouni nei ze verbannen

Start e Chat mat Ärem bevorzugte Modell, aktivéiert d'Tools vu Flunner ënner „Plugins“ a wiesselt bei Bedarf op en anere Modell. D'MCP-Verbindung bleift am TypingMind-Aarbechtsberäich disponibel.

  1. Start en neie Chat an TypingMind.
  2. Wielt de KI-Modell, deen Dir benotze wëllt.
  3. Aktivéiert d'Tools vu Flunner ënner „Plugins“.
  4. Biet de Modell, den Tool ze benotzen, wann néideg.
  5. Wiesselt op en anere KI-Modell a benotzt déiselwecht MCP-Verbindung weider.
TypingMind-Chat mat aktivéierte MCP-Tools an engem ausgewielte KI-Modell
Hëlleft Dir mir bei dëser Aufgab mat Flunner?
Flunner
Jo. Ech hunn et gelies.
Dat hunn ech mat Flunner fonnt.

Heefeg gestallte Froen

Fir wat gëtt de MCP-Server Flunner benotzt?

Flunner ass e MCP-Server, deen et kompatibele KI-Clienten erlaabt, sech mat externen Tools a Kontext ze verbannen. An TypingMind kënnt Dir dëse MCP-Server eemol derbäisetzen a seng Tools an Ärem KI-Aarbechtsberäich zur Verfügung stellen.

Kann ech Flunner MCP mat méi KI-Modeller an TypingMind benotzen?

Jo. TypingMind verbënnt MCP-Tools um Niveau vum Aarbechtsberäich. Sou kënnt Dir Flunner mat verschiddene KI-Modeller wéi Claude, ChatGPT, Gemini oder anere Modeller benotzen, déi Dir an TypingMind konfiguréiert hutt, ouni de MCP-Server fir all Modell separat anzeriichten.

Firwat Flunner MCP mat TypingMind benotzen?

TypingMind ass eng vun de beschte Benotzeruewerfläche fir LLM-Chat, well et méi KI-Modeller, Prompts, Plugins, KI-Agenten, API-Schlësselen a MCP-Tools an engem Aarbechtsberäich zesummebréngt. Wann Flunner verbonnen ass, kënnt Dir seng MCP-Tools mat Äre bevorzugte Modeller benotzen a gläichzäiteg Är Chataarbecht an TypingMind organiséieren.

Wéi verbannen ech Flunner MCP mat TypingMind?

Dir kënnt Flunner mat TypingMind verbannen, andeems Dir d'URL vu sengem gehoste MCP-Server derbäisetzt. Dat ass nëtzlech, wann Dir eng Remote-MCP-Verbindung wëllt, déi aus Ärem TypingMind-Aarbechtsberäich disponibel ass.

Wéi eng Tools stellt Flunner MCP an TypingMind zur Verfügung?

Flunner stellt MCP-Funktiounen zur Verfügung, déi Dir op der Plugins-Säit vun TypingMind aktivéiere kënnt, fir se am Chat ze benotzen oder KI-Agenten zouzeweisen.

Muss ech meng API-Schlëssele mat TypingMind deelen, fir Flunner MCP ze benotzen?

Nee. TypingMind setzt op lokal Veraarbechtung a léisst Iech d'Kontroll iwwer Är Modellubidder, API-Schlësselen, Prompts a MCP-Konfiguratioun. Wann Flunner eng Authentifizéierung verlaangt, setzt déi néideg Headeren, OAuth-Astellungen oder lokal Konfiguratioun fir dee MCP-Server derbäi, wann Dir d'Verbindung erstallt.

Änlech MCP-Serveren

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇