Logo van Flunner

Flunner

Organisatie
stackwares

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

Uitgeverstackwares
Repositoryflunner-swift
TaalSwift
Forks
1
Sterren
14
Beschikbare tools
0
Transporttypestreamable-http
Categorieën
LicentieMIT
Links
  • Koppel tools aan AI-workflows

    Flunner biedt MCP-functionaliteit die compatibele AI-clients en agenten kunnen gebruiken.

  • 0 beschikbare tools

    Bekijk hieronder de aanroepbare acties, inclusief namen en beschrijvingen als de server die beschikbaar stelt.

  • Configuratie om direct te kopiëren

    Gebruik de installatievoorbeelden om deze server in je favoriete MCP-client te configureren.

  • Indicatoren van opensource-interesse

    14 sterren en 1 forks in de gekoppelde 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.


Gebruik Flunner MCP met meerdere AI-modellen

TypingMind koppelt MCP-tools aan de werkruimte. Zodra Flunner is verbonden, kun je deze dus met verschillende AI-modellen in TypingMind gebruiken, zonder de verbinding voor elk model apart in te stellen. Deze MCP-integratie maakt in TypingMind verbinding via de URL van een gehoste MCP-server.

Voeg een MCP-server-URL toe

Gebruik dit als Flunner al extern wordt gehost of als je team één gedeelde connector wil die meerdere gebruikers kunnen gebruiken.

1

Open MCP-connectoren

Ga in TypingMind naar Plug-ins, open MCP-connectoren en kies URL toevoegen.

  1. Open TypingMind in je browser.
  2. Ga naar Plug-ins.
  3. Open MCP-connectoren.
  4. Klik op URL toevoegen.
TypingMind-formulier om een eigen MCP-server-URL toe te voegen
2

Plak de server-URL

Voer de MCP-server-URL van de aanbieder in het veld Server-URL in. Voeg een verbindingsnaam, beschrijving, icoon, aangepaste HTTP-headers of OAuth-clientinstellingen toe als de server die vereist.

  1. Plak de MCP-server-URL van de aanbieder in het veld Server-URL.
  2. Voer een verbindingsnaam in voor Flunner.
  3. Voeg een beschrijving en een icoon toe om de verbinding makkelijker te herkennen.
  4. Voeg aangepaste HTTP-headers of OAuth-clientgegevens toe als de server authenticatie vereist.
3

Maak de verbinding

Klik op Verbinding maken, ga terug naar de lijst met plug-ins en controleer of de nieuwe MCP-verbinding actief is.

  1. Klik op Verbinding maken.
  2. Ga terug naar de lijst met MCP-connectoren.
  3. Controleer of de verbinding met Flunner als actief wordt weergegeven.
  4. Vernieuw de lijst met plug-ins als de verbinding niet meteen verschijnt.
4

Wissel van model zonder opnieuw verbinding te maken

Start een chat met je favoriete model, schakel de tools van Flunner in via Plug-ins en wissel van model wanneer dat nodig is. De MCP-verbinding blijft beschikbaar in de TypingMind-werkruimte.

  1. Start een nieuwe chat in TypingMind.
  2. Selecteer het AI-model dat je wilt gebruiken.
  3. Schakel de tools van Flunner in via Plug-ins.
  4. Vraag het model om de tool te gebruiken wanneer dat nodig is.
  5. Schakel over naar een ander AI-model en gebruik dezelfde MCP-verbinding opnieuw.
TypingMind-chat met ingeschakelde MCP-tools en een geselecteerd AI-model
Kun je Flunner gebruiken om me hiermee te helpen?
Flunner
Zeker. Ik heb het gelezen.
Dit vond ik met Flunner.

Veelgestelde vragen

Waarvoor wordt de MCP-server Flunner gebruikt?

Flunner is een MCP-server waarmee compatibele AI-clients verbinding kunnen maken met externe tools en context. In TypingMind hoef je deze MCP-server maar één keer toe te voegen om de tools beschikbaar te maken in je AI-werkruimte.

Kan ik Flunner MCP met meerdere AI-modellen in TypingMind gebruiken?

Ja. TypingMind verbindt MCP-tools op werkruimteniveau. Daardoor kun je Flunner gebruiken met verschillende AI-modellen, zoals Claude, ChatGPT, Gemini of andere modellen die je in TypingMind hebt ingesteld, zonder de MCP-server voor elk model afzonderlijk in te stellen.

Waarom Flunner MCP gebruiken met TypingMind?

TypingMind is een van de beste interfaces voor chats met LLM's, omdat het meerdere AI-modellen, prompts, plug-ins, AI-agenten, API-sleutels en MCP-tools samenbrengt in één werkruimte. Als Flunner verbonden is, kun je de MCP-tools ervan gebruiken met je favoriete modellen en je chatworkflow overzichtelijk houden in TypingMind.

Hoe verbind ik Flunner MCP met TypingMind?

Je kunt Flunner met TypingMind verbinden door de URL van de gehoste MCP-server toe te voegen. Dit is handig als je een externe MCP-verbinding wilt die beschikbaar is vanuit je TypingMind-werkruimte.

Welke tools biedt Flunner MCP in TypingMind?

Flunner biedt MCP-functies die je kunt inschakelen via de pagina Plug-ins in TypingMind. Je kunt ze gebruiken in chats of toewijzen aan AI-agenten.

Moet ik mijn API-sleutels delen met TypingMind om Flunner MCP te gebruiken?

Nee. TypingMind werkt in de eerste plaats lokaal en laat je de controle houden over je modelaanbieders, API-sleutels, prompts en MCP-configuratie. Als Flunner authenticatie vereist, voeg je bij het maken van de verbinding de vereiste headers, OAuth-instellingen of lokale configuratie voor die MCP-server toe.

Gerelateerde MCP-servers

Toon alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇