DevFlow MCP server
Commit Oct 22, 2026Lets an AI agent manage coding timers, track productivity metrics, and suggest ergonomic breaks to prevent developer burnout.
Also known as roedyrustam/dev-flow-timer
- Stars
- 1
- Tools
- 15
- Downloads, 30 days
- —
- Latest version
- —
- Last commit
- Oct 22, 2026
- License
- MIT
What is DevFlow MCP?
DevFlow lets an AI agent manage coding timers, track productivity metrics, and suggest ergonomic breaks to prevent developer burnout. It exposes 15 tools, such as devflow_start_timer, devflow_get_status, devflow_pause_timer.
Summary generated from the project's README
About DevFlow MCP server
Managing coding sessions and maintaining physical health while programming is what dev-flow-timer enables for developers using Antigravity AI. This MCP server provides an intelligent pacing system that uses scientific rhythms like Pomodoro, Ultradian cycles, and the 20-20-20 rule to prevent burnout and eye strain. It functions as a local plugin that integrates directly into your IDE via a sidecar UI panel or a standalone HTML5 dashboard.
Users can interact with the server through 15 native MCP tools that allow an AI agent to autonomously start timers, log water intake, and suggest ergonomic stretches. The system includes a visual cockpit with ambient sound generation, such as Brown Noise and 40Hz Gamma Binaural Beats, to help maintain focus. Developers can also use the command line interface to watch real-time countdowns or export productivity reports in Markdown, JSON, or CSV formats. The server also connects to Git to provide context for conventional commit suggestions based on your active work sessions.
What you can do with it
- 1Automated focus session managementAsk your AI agent to start a specific deep work timer for a complex architectural task.
- 2Tracking developer wellness metricsRequest a summary of your daily hydration levels and focus-to-rest ratios.
- 3Generating productivity reportsInstruct the agent to create a Markdown file documenting your recent coding history and ergonomic habits.
Written from the project's README. Every use case is checked against a quote from it.
DevFlow MCP tools 15
Detected from the READMEdevflow_start_timerdevflow_get_statusdevflow_pause_timerdevflow_resume_timerdevflow_stop_timerdevflow_get_statsdevflow_open_dashboarddevflow_get_ergonomic_tipdevflow_configuredevflow_generate_reportdevflow_git_contextdevflow_get_weekly_stats
| devflow_start_timer | — | |
| devflow_get_status | — | |
| devflow_pause_timer | — | |
| devflow_resume_timer | — | |
| devflow_stop_timer | — | |
| devflow_get_stats | — | |
| devflow_open_dashboard | — | |
| devflow_get_ergonomic_tip | — | |
| devflow_configure | — | |
| devflow_generate_report | — | |
| devflow_git_context | — | |
| devflow_get_weekly_stats | — |
Show all 15 toolsShow fewer tools
devflow_log_waterdevflow_set_goaldevflow_export_history
| devflow_log_water | — | |
| devflow_set_goal | — | |
| devflow_export_history | — |
README
View on GitHub⚡ DevFlow - Coding & Break Timer Plugin
Intelligent Coding Duration Tracker & Ergonomic Break Sentinel for Antigravity AI
Sustain High Productivity, Eliminate Mental Fatigue, and Protect Developer Health.
🚀 Quick Installation
Any developer can install this plugin with a single command:
A. Windows (PowerShell)
Open PowerShell and run:
irm https://raw.githubusercontent.com/roedyrustam/dev-flow-timer/main/install.ps1 | iex
B. macOS & Linux (Bash / Zsh)
Open terminal and run:
curl -fsSL https://raw.githubusercontent.com/roedyrustam/dev-flow-timer/main/install.sh | bash
C. Manual Installation via Git Clone
# Clone directly into the Antigravity plugins directory
git clone https://github.com/roedyrustam/dev-flow-timer.git ~/.gemini/config/plugins/dev-flow-timer
# Run the installer setup
node ~/.gemini/config/plugins/dev-flow-timer/bin/cli.mjs install
Once installed, restart Antigravity and open Overview > Plugins > DevFlow Timer!
📖 Overview
DevFlow is a comprehensive productivity and ergonomic pacing plugin for Antigravity AI. Grounded in neuroscience and ergonomic research, peak cognitive performance is achieved not through marathon non-stop sessions (burnout trap), but through an oscillating rhythm of high-intensity focus blocks (Deep Work) balanced by deliberate restorative breaks (Active Recovery).
✨ Core Features
- Scientific Multi-Mode Pacing:
- 🍅 Classic Pomodoro (25m Focus / 5m Rest): Ideal for daily feature implementation, refactoring, and focused task tickets.
- 🧠 Ultradian Rhythm (50m Deep Work / 10m Rest): Designed for complex architectural decisions, algorithmic debugging, and system specs.
- 👁️ 20-20-20 Rule (20s Eye Relief): Relaxes ciliary eye muscles every 20 minutes to prevent digital eye strain.
- ☕ Long Break (15m–30m): Complete cognitive reset every 4 completed Pomodoro cycles.
- Interactive Visual Cockpit Dashboard:
- Standalone HTML5 web application with real-time SVG circular progress ring.
- Ambient Focus Sound Generator: Pure Web Audio synthesis for Brown Noise (deep cognitive masking), Gentle Rain, and 40Hz Gamma Binaural Beats (flow state).
- Web Audio Synthesizer: 528Hz Solfeggio harmonic bell chime with zero external audio dependencies.
- Daily performance metrics: focus time, rest duration, work ratio, and rhythm score.
- Embedded Sidecar UI Panel:
- Integrated auxiliary pane inside Antigravity IDE (
sidecars/devflow-panel). - Built-in ambient sound player, daily Pomodoro goal progress bar, hydration logger, and 7-day trend sparklines.
- Live synchronization with CLI commands and AI agent tool calls.
- Integrated auxiliary pane inside Antigravity IDE (
- 15 Native MCP Tools (Model Context Protocol v1.x):
- Enables AI agents to autonomously manage timers, evaluate workload duration, log water intake, export history, and suggest pacing pauses.
- Interactive Live Terminal Watcher (
devflow watch):- In-place real-time countdown display in your terminal with hotkey controls (
ppause,rresume,sstop,qquit).
- In-place real-time countdown display in your terminal with hotkey controls (
- Comprehensive Automated Test Suite:
- Full native unit and integration test suite via
node:testcovering the timer engine, analytics reporter, Git integrator, and MCP server RPC.
- Full native unit and integration test suite via
🛠️ MCP Tools Reference
| Tool Name | Parameters | Description |
|---|---|---|
devflow_start_timer |
type, duration_minutes, task, tag |
Starts a focus coding sprint or restorative break session |
devflow_get_status |
(none) | Returns current session status, remaining time, and pacing advice |
devflow_pause_timer |
(none) | Temporarily pauses the running timer |
devflow_resume_timer |
(none) | Resumes the paused timer |
devflow_stop_timer |
completed, reason |
Completes/stops active session and logs to daily history |
devflow_get_stats |
(none) | Returns today's metrics: total coding time, break ratio, and score |
devflow_open_dashboard |
(none) | Generates and launches the visual HTML cockpit in your default browser |
devflow_get_ergonomic_tip |
category |
Provides quick actionable stretch/health exercises for developers |
devflow_configure |
pomodoro_minutes, etc. |
Customizes default timer intervals and durations |
devflow_generate_report |
save_to_file |
Exports comprehensive productivity and ergonomic report in Markdown |
devflow_git_context |
(none) | Inspects active Git branch and generates conventional commit suggestions |
devflow_get_weekly_stats |
(none) | Retrieves 7-day trend, active streak, and tag breakdown |
devflow_log_water |
(none) | Logs 1 glass of water intake to track cellular hydration |
devflow_set_goal |
goal_pomodoros |
Sets target number of daily Pomodoro cycles |
devflow_export_history |
format ('json' or 'csv') |
Exports full session history and duration records |
💻 CLI Usage (Terminal / PowerShell)
Run commands directly from any terminal or PowerShell prompt:
# Start a 25-minute Pomodoro focus sprint
devflow start 25 "Refactor Authentication Middleware"
# Launch real-time in-terminal countdown watcher
devflow watch
# Start a 5-minute short break
devflow break 5
# Trigger 20-20-20 eye relief (20 seconds)
devflow eye
# Check current status and remaining time
devflow status
# Open visual Cockpit Dashboard with Ambient Sounds in browser
devflow dashboard
# View recent session history log
devflow history 10
# Export session history to CSV or JSON file
devflow export csv ./my-focus-history.csv
# View daily productivity metrics
devflow stats
# View 7-day productivity trend and tag distribution
devflow week
# Set daily Pomodoro goal
devflow goal 8
# Log a glass of water
devflow water
# Generate full Markdown report
devflow report
# Get ergonomic stretching tips
devflow tip posture
# Run automated tests
npm test
📂 Plugin Directory Structure
~/.gemini/config/plugins/dev-flow-timer/
├── plugin.json # Plugin manifest & suggested prompts
├── README.md # Comprehensive documentation
├── mcp_config.json # Local MCP server registration
├── hooks.json # Lifecycle hooks (SessionStart & PostToolUse)
├── assets/
│ └── logo.svg # High-contrast vector icon (Dark/Light mode)
├── bin/
│ ├── mcp-server.mjs # Native stdio MCP v1.x server
│ └── cli.mjs # Interactive CLI tool for terminal
├── lib/
│ ├── timer-engine.mjs # Core timer state engine & metric calculations
│ ├── dashboard-generator.mjs # Visual HTML cockpit generator with Web Audio chime
│ ├── analytics-reporter.mjs # Markdown productivity & ergonomic reports
│ ├── git-integrator.mjs # Git branch context & commit generator
│ └── notifier.mjs # Cross-platform desktop notifications
├── sidecars/
│ └── devflow-panel/ # Sidecar UI server & embedded auxiliary pane
├── skills/
│ └── coding-break-timer/
│ └── SKILL.md # Agent skill guide for pacing & ergonomics
├── agents/
│ └── flow-coach.md # Flow Coach companion subagent
├── rules/
│ └── AGENTS.md # Universal pacing & anti-burnout guidelines
└── scripts/
├── hook-handler.mjs # Lifecycle event execution handler
└── notify.ps1 # Windows Toast notification script
🌿 Ergonomic & Health Guidelines
- 20-20-20 Rule: Every 20 minutes, focus on an object 20 feet (6 meters) away for 20 seconds.
- Cervical De-stress: Perform gentle chin tucks for 5 seconds to reduce cervical spine tension.
- Carpal Tunnel Defense: Flex and extend wrists during each 5-minute break.
- Hydration: Drink 1 glass of water per Pomodoro cycle to maintain neurotransmitter efficiency.
📄 License
MIT © Roedy Rustam
DevFlow MCP questions
What tools does DevFlow MCP provide?
It exposes 15 tools, including devflow_start_timer, devflow_get_status, devflow_pause_timer, devflow_resume_timer, devflow_stop_timer.
Can an AI agent use this tool autonomously?
Yes, it provides 15 native MCP tools that allow AI agents to manage timers, log water intake, and suggest pacing pauses.
How can I view my productivity data?
You can launch a visual HTML5 dashboard in your browser or generate a comprehensive Markdown report.