optiflow-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@optiflow-mcpoptimize my current session context and create a compact-continue checkpoint"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
optiflow-mcp
A single Claude Code plugin, one MCP server, one repository — not a wrapper around separately-installed tools. It genuinely merges the real source of two upstream projects into its own codebase:
token-optimizer-mcp's 76 real
smart_*/analytics/dashboard-monitoring MCP tools, plus itsPreToolUse/PreCompactenforcement hooks, ported directly intosrc/optimizer/— nonpxinstall, no separate process.headroom's actual Rust compression core (
SmartCrusher) forked intonative/headroom-core/, feature-stripped, and compiled to real WebAssembly (native/headroom-wasm/) loaded directly by the Node plugin — the genuine Rust algorithm, not a rewrite. headroom's CodeCompressor and Kompress ML model are reimplemented natively in TypeScript instead (src/native/).Five modules of its own that neither upstream tool covered: chop-style Bash/CLI-output interception, session-report transcript analytics, a statusline context meter,
/optiflow:compact-continuesession-handoff checkpoints, and TOON conversion for large JSON/CSV/YAML payloads.
Both upstream projects are still referenced as git submodules under
vendor/ for provenance/license text, but nothing under src/ or native/
imports from vendor/ — see
docs/ADR/0002-real-merge-not-orchestration.md
for why this replaced the original orchestration-wrapper design (v1), and
docs/architecture.md for the full authority map and
locked decisions.
Status
Both major merges are done and wired: the 76-tool + enforcement-hook merge from token-optimizer-mcp, and headroom's compression core (WASM SmartCrusher
TS CodeCompressor/Kompress) actually called from the shipped pipeline, not just built in isolation.
npm run build,npm test, andnpx tsc --noEmitall pass — seedocs/modules.mdfor per-module detail and current test count. Building from source needs a Rust toolchain (rustup, thewasm32-unknown-unknowntarget,wasm-pack) in addition to Node; a plugin install does not (the compiled.wasmis committed, same reasoning asplugin/dist/).
Related MCP server: claude-engineering-coach
Getting started
Published at github.com/kristijankopacevic/optiflow-mcp.
Verified end-to-end via a local-path marketplace (no gh auth needed for
that):
In a Claude Code session, add this repo as a marketplace and install the plugin:
/plugin marketplace add C:\path\to\optiflow-mcp /plugin install optiflow@optiflowCheck your environment:
optiflow doctorReports Node/npm versions, config resolution, and
ghpresence/auth.Activate the statusline (optional, opt-in — installing the plugin alone does not touch your settings.json):
optiflow install --statuslineBacks up your
~/.claude/settings.jsonbefore writing, writes atomically, and refuses to overwrite a different existing statusline without--force.optiflow uninstallreverses it. Seedocs/statusline-manual-setup.mdfor details (including doing it by hand) anddocs/modules.mdfor the rest of the modules.
See docs/ for architecture, configuration, and per-module
reference depth beyond this quick start.
License
MIT for optiflow-mcp's own code (see LICENSE). This repository
also copies in source from MIT-licensed (token-optimizer-mcp) and
Apache-2.0-licensed (headroom) upstream projects — see
THIRD_PARTY_LICENSES.md and
NOTICE.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceToken-optimized MCP server that reduces context window usage by 59.5% by grouping 12 tools into 5 semantic operations, preserving all original functionality for AI assistants.81MIT
- AlicenseNot gradedqualityCmaintenanceAn MCP server plugin for Claude Code that analyzes local AI session logs to provide coaching on coding patterns, tool usage, and productivity insights via tools and slash commands.1MIT
- FlicenseNot gradedqualityCmaintenanceToken-optimized persistent memory MCP server for Claude Pro users, providing 9 essential tools for memory management with 87% token reduction compared to full version.3
- FlicenseNot gradedqualityCmaintenanceSemantic compression MCP server that reduces document token usage by 60-80% using structured symbolic notation, enabling Claude to efficiently store, retrieve, diff, and summarise documents across PRD, CODE, PAPER, and MEETING domains.
Related MCP Connectors
Augments MCP Server - A comprehensive framework documentation provider for Claude Code
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
A paid remote MCP for OpenAI Codex context compressor, built to return verdicts, receipts, usage log
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/kristijankopacevic/optiflow-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server