flipper-mcp AGENTS.md

flipper-mcp AGENTS.md is an instructions file for Codex, OpenCode from roostercoopllc/flipper-mcp. It costs 4,729 tokens per session, scanned C, original, MIT.

Project instructions for flipper-mcp, a Rust server that runs on a Flipper Zero Wi-Fi board and lets AI agents control the device over a network.

In plain words
What is it for?
Use them when working on the device-resident server, its HTTP tools, Flipper Zero application control, or ESP32-S2 hardware integration.
Why use it?
They give an agent the hardware and network context needed to continue development safely across machines.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions AGENTS.md.

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/roostercoopllc/flipper-mcp/agents-md
Clone the repo
git clone --depth 1 https://github.com/roostercoopllc/flipper-mcp

Made for: Codex, OpenCode.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for flipper-mcp AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/roostercoopllc/flipper-mcp/agents-md.svg)](https://agentmods.dev/instructions/roostercoopllc/flipper-mcp/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/roostercoopllc/flipper-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/roostercoopllc/flipper-mcp/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 4,729 This file is loaded in full into every session.
When invoked 4,729 The same file — it is already loaded in full.
Security scan C 2 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.04729 $0.04729
Opus 5 $0.02364 $0.02364
Sonnet 5 $0.00946 $0.00946
Haiku 4.5 $0.00473 $0.00473

Measured 6d ago against content hash 087829203685, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade C, and why

flipper-mcp AGENTS.md scanned grade C with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
AGENTS.md · 449 lines

How it starts

The opening of the file, as written. The whole thing — 449 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AGENTS.md — Flipper MCP Server

This file provides all context an AI agent (or human developer) needs to pick up this project and continue implementation from any machine.


1. Project Overview

flipper-mcp is a Rust-based MCP (Model Context Protocol) server that runs directly on the Flipper Zero's WiFi Dev Board v1 (ESP32-S2). It exposes all default Flipper Zero applications as MCP tools over HTTP, allowing AI agents (Claude, etc.) to programmatically control a Flipper Zero over the network.

This is distinct from existing projects (e.g., busse/flipperzero-mcp) which run on a host computer. This server runs on the hardware itself.

Repo: https://github.com/roostercoopllc/flipper-mcp


2. Architecture

LOCAL ACCESS:
┌─ Local Network ─────────────────────────────────────────┐
│                                                         │
│  Claude/MCP Client ──HTTP──► flipper-mcp.local:8080     │
│                              (ESP32-S2 WiFi Board)      │
│                                    │                    │
│                                  UART                   │
│                                    │                    │
│                              Flipper Zero               │
│                              (STM32WB55)                │
└─────────────────────────────────────────────────────────┘

REMOTE ACCESS:
Claude/MCP Client ──HTTP──► Relay Server ◄──WebSocket── ESP32-S2 ──UART──► Flipper Zero
                            (any machine)   (outbound)   (WiFi Board)     (main MCU)

Data flow: MCP JSON-RPC requests arrive over HTTP at the ESP32-S2. The firmware translates them into Flipper Zero CLI commands sent over UART at 115200 baud. Responses are parsed and returned as structured JSON.

Remote access: The ESP32-S2 initiates an outbound WebSocket connection to a relay server. The relay accepts MCP HTTP requests from clients and forwards them through the WebSocket tunnel. This solves NAT traversal and unknown-IP scenarios.

Read the full file on GitHub · 449 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 449 lines · 4,729 tokens per session scan C 087829203685

Subscribe to this mod's changes

flipper-mcp AGENTS.md is an instructions file published in the GitHub repository roostercoopllc/flipper-mcp (16 stars, last pushed 6mo ago), licensed MIT. It adds 4,729 tokens to every session, about $0.0236 per session on Opus 5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.