← Files FlambéARCHIVED FILE
README.md
1.99 KB · Nov 3, 2026 · 19:03 UTC
# Flambe plugin This folder packages Flambe as an Agent Plugin for ChatGPT and Codex. It combines: - `skills/flambe/SKILL.md`: the call-stack workflow from the repo's `flambe-cli` skill, adapted to call MCP tools directly. - `mcp.json`: the portable Agent Plugins MCP connection to `https://flambe.fly.dev/mcp`. - `.codex-plugin/plugin.json` and `.mcp.json`: compatibility files for Codex/local plugin loading. The MCP server is implemented by the main Flambe Phoenix backend. It exposes: - `flambe_traces` - `flambe_start` - `flambe_end` - `flambe_suspend` - `flambe_resume` - `flambe_status` - `flambe_plan` - `flambe_message` ## ChatGPT The hosted MCP endpoint uses OAuth 2.1 authorization-code + PKCE for ChatGPT. The authorization flow signs into the normal Flambe account and mints a revocable Flambe API token after approval. For repo-local testing: 1. Deploy the branch so `https://flambe.fly.dev/mcp` and the OAuth metadata endpoints are current. 2. Open this repository in the ChatGPT desktop app. 3. Restart the app after pulling the repo marketplace at `.agents/plugins/marketplace.json`. 4. Open the Plugins Directory, choose the **Flambé** local source, and install **flambe**. 5. Complete the Flambe sign-in/consent flow when prompted. You can also register the MCP endpoint directly in ChatGPT Developer mode at `https://flambe.fly.dev/mcp`, but that tests the tools without the bundled skill. The repo marketplace tests the complete plugin. For a public plugin, upload this folder as the plugin package and use the same remote MCP endpoint during submission. ## Codex / hosted agent environments The compatibility `.mcp.json` reads the bearer token from `FLAMBE_API_TOKEN`; keep that secret out of the plugin files: ```sh export FLAMBE_API_TOKEN=flb_... ``` The portable package itself contains no credentials. ## Design rule The skill owns *when and why* to log work. The MCP server owns live state, authentication, reducer decisions, and mutations. Do not duplicate reducer placement logic in the skill.
SHA-256: 282c008bb5cf2221c91be3e62faaf5b14cfb565032c6999de2504ad1b1064909