ff-mcp CLAUDE.md

ff-mcp CLAUDE.md is an instructions file for coding agents from mohn93/ff-mcp. It costs 1,841 tokens per session, scanned A, original, MIT.

Project instructions for an MCP server, a program that lets AI tools use FlutterFlow's project API. FlutterFlow is a visual tool for building mobile and web apps.

In plain words
What is it for?
Use it to build, run, test, and understand an MCP server that connects AI coding tools to FlutterFlow projects.
Why use it?
It gives developers the commands, required environment setting, architecture, and verification steps needed to work on the server.

Instructions file

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/mohn93/ff-mcp/claude-md
Clone the repo
git clone --depth 1 https://github.com/mohn93/ff-mcp

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 ff-mcp CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/mohn93/ff-mcp/claude-md.svg)](https://agentmods.dev/instructions/mohn93/ff-mcp/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/mohn93/ff-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/mohn93/ff-mcp/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,841 This file is loaded in full into every session.
When invoked 1,841 The same file — it is already loaded in full.
Security scan A 0 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 $0.01841 $0.01841
Opus 5 $0.00920 $0.00920
Sonnet 5 $0.00368 $0.00368
Haiku 4.5 $0.00184 $0.00184

Measured 3d ago against content hash 2b0e82060e93, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

ff-mcp CLAUDE.md scanned grade A with 0 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 3d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

CLAUDE.md · 108 lines

How it starts

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

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

What This Is

An MCP (Model Context Protocol) server that wraps the FlutterFlow Project API, enabling AI-assisted FlutterFlow development. Published to npm as community-ff-mcp. It exposes tools, resources, and prompts over stdio transport.

Build & Run

npm run build          # TypeScript compile + chmod executable
npm run dev            # Watch mode (tsc --watch)
npm start              # Run the server (node build/index.js)

Tests use vitest. Run npm test to execute all tests. No linter is configured. Verify changes by running npm run build and npm test.

Environment

Requires FLUTTERFLOW_API_TOKEN env var (Bearer token from FlutterFlow > Account Settings > API Token).

Architecture

Entry point: src/index.ts — creates one FlutterFlowClient instance, registers all tools/resources/prompts on an MCP StdioServerTransport.

API client: src/api/flutterflow.ts — thin wrapper around https://api.flutterflow.io/v2/. All endpoints return Promise<unknown> — the tools handle response parsing.

Critical encoding detail: The projectYamls endpoint returns YAML as base64-encoded ZIP, not plain text. src/utils/decode-yaml.ts handles decoding. The listPartitionedFileNames endpoint returns file keys under value.file_names (snake_case, not camelCase).

Registration Pattern

Every tool/resource/prompt follows the same pattern: a register* function that takes (server, client?) and calls server.tool(), server.resource(), or server.prompt(). New tools go in src/tools/, new prompts in src/prompts/, new resources in src/resources/. Register them in src/index.ts.

Tools (25)

Tool File Purpose
list_projects tools/list-projects.ts List all FF projects
list_project_files tools/list-files.ts List YAML file keys (supports prefix filter)
get_project_yaml tools/get-yaml.ts Fetch + decode YAML by file key
validate_yaml tools/validate-yaml.ts Validate before pushing
update_project_yaml tools/update-yaml.ts Push YAML changes
list_pages tools/list-pages.ts Page index with names/folders (batched, 5 at a time)
get_page_by_name tools/get-page-by-name.ts Fetch page by human-readable name
sync_project tools/sync-project.ts Bulk download all YAML to local cache
get_page_summary tools/get-page-summary.ts Cache-based page summary (widget tree, actions, params)
get_component_summary tools/get-component-summary.ts Cache-based component summary
find_component_usages tools/find-component-usages.ts Find all pages/components using a component
find_page_navigations tools/find-page-navigations.ts Find all navigation actions targeting a page
get_yaml_docs tools/get-yaml-docs.ts Search/retrieve FF YAML reference docs by topic or file
get_app_state tools/get-app-state.ts Cache-based app state, constants, and environment settings
get_api_endpoints tools/get-api-endpoints.ts Cache-based API endpoint definitions (method, URL, variables, headers, response)
get_data_models tools/get-data-models.ts Cache-based data structs, enums, Firestore collections, Supabase tables
get_custom_code tools/get-custom-code.ts Custom actions, functions, widgets, agents, app-actions, custom-files
get_general_settings tools/get-general-settings.ts General: App Details, App Assets, Nav Bar & App Bar
get_project_setup tools/get-project-setup.ts Project Setup: Firebase, Languages, Platforms, Permissions, Dependencies, Dev Environments
get_app_settings tools/get-app-settings.ts App Settings: Authentication, Push Notifications, Mobile/Web Deployment
get_in_app_purchases tools/get-in-app-purchases.ts In-App Purchases: Stripe, Braintree, RevenueCat, Razorpay
get_integrations tools/get-integrations.ts Integrations: Supabase, SQLite, GitHub, Algolia, Google Maps, AdMob, etc.
get_theme tools/get-theme.ts Cache-based theme colors, typography, breakpoints, widget defaults
get_editing_guide tools/get-editing-guide.ts Workflow + doc guide for editing tasks (call before modifying YAML)
search_project_files tools/search-project-files.ts Search file keys by keyword/prefix/regex

Read the full file on GitHub · 108 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. 3d ago First seen · 108 lines · 1,841 tokens per session scan A 2b0e82060e93

Subscribe to this mod's changes

ff-mcp CLAUDE.md is an instructions file published in the GitHub repository mohn93/ff-mcp (9 stars, last pushed 2mo ago), licensed MIT. It adds 1,841 tokens to every session, about $0.0092 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.