From 8aab0125e031356302a4167fa7cf614d09bf68fc Mon Sep 17 00:00:00 2001 From: Resham Joshi <65915470+iamtoruk@users.noreply.github.com> Date: Tue, 20 Oct 2026 09:47:06 -0700 Subject: [PATCH] feat: Claude Code plugin and MCP Registry listing --- .claude-plugin/marketplace.json | 15 +++++++++++ README.md | 8 ++++++ RELEASING.md | 11 ++++---- package.json | 1 + plugins/codeburn/.claude-plugin/plugin.json | 13 +++++++++ plugins/codeburn/.mcp.json | 9 +++++++ plugins/codeburn/skills/cost/SKILL.md | 11 ++++++++ server.json | 29 +++++++++++++++++++++ 8 files changed, 92 insertions(+), 5 deletions(-) create mode 100644 .claude-plugin/marketplace.json create mode 100644 plugins/codeburn/.claude-plugin/plugin.json create mode 100644 plugins/codeburn/.mcp.json create mode 100644 plugins/codeburn/skills/cost/SKILL.md create mode 100644 server.json diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json new file mode 100644 index 000000000..cb70ba7b3 --- /dev/null +++ b/.claude-plugin/marketplace.json @@ -0,0 +1,15 @@ +{ + "name": "codeburn", + "owner": { + "name": "CodeBurn", + "url": "https://codeburn.app" + }, + "description": "The CodeBurn plugin for Claude Code", + "plugins": [ + { + "name": "codeburn", + "source": "./plugins/codeburn", + "description": "See what your AI coding tools cost, from inside Claude Code" + } + ] +} diff --git a/README.md b/README.md index e27055c54..b7fc8018e 100644 --- a/README.md +++ b/README.md @@ -148,6 +148,14 @@ Setup for all three platforms, including WSL, is in [Menu bar and tray](docs/men ## Inside your agent +In Claude Code, install the plugin. It sets up the MCP server below and adds `/codeburn:cost`, which summarizes today's spend: + +``` +/plugin install codeburn --marketplace getagentseal/codeburn +``` + +Or register only the MCP server: + ```bash claude mcp add codeburn -- npx -y codeburn mcp ``` diff --git a/RELEASING.md b/RELEASING.md index 1db6d1090..2421d59d7 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -43,11 +43,12 @@ Every surface's updater reads its own channel, and the menubar and `codeburn upd 1. `npm publish`. 2. Wait until the tarball downloads: run `npm pack codeburn@` in a temp directory until it writes `codeburn-.tgz`. -3. Homebrew: `brew bump-formula-pr` (see "Homebrew Core") and bump the tap (CLI step 5b). -4. GitHub `v` release. -5. Push `mac-v` (writes `menubar-latest.json`). -6. Push `windows-v` (writes `windows-latest.json`). -7. Publish the `desktop-v` release (writes `latest*.yml`). +3. MCP Registry: set both `version` fields in `server.json` to the new version, then run `mcp-publisher publish` (log in once with `mcp-publisher login github` as an owner of the getagentseal org). +4. Homebrew: `brew bump-formula-pr` (see "Homebrew Core") and bump the tap (CLI step 5b). +5. GitHub `v` release. +6. Push `mac-v` (writes `menubar-latest.json`). +7. Push `windows-v` (writes `windows-latest.json`). +8. Publish the `desktop-v` release (writes `latest*.yml`). Push tags one at a time and wait for each workflow to start. GitHub drops the push events when more than three tags arrive in one push, so `git push --tags` can leave a release with no workflow run. diff --git a/package.json b/package.json index 488d343cb..60fb12c4f 100644 --- a/package.json +++ b/package.json @@ -2,6 +2,7 @@ "name": "codeburn", "version": "0.9.27", "description": "See where your AI spend goes - by task, tool, model, and project", + "mcpName": "io.github.getagentseal/codeburn", "type": "module", "main": "./dist/cli.js", "bin": { diff --git a/plugins/codeburn/.claude-plugin/plugin.json b/plugins/codeburn/.claude-plugin/plugin.json new file mode 100644 index 000000000..9b0a81910 --- /dev/null +++ b/plugins/codeburn/.claude-plugin/plugin.json @@ -0,0 +1,13 @@ +{ + "name": "codeburn", + "version": "1.0.0", + "description": "See what your AI coding tools cost: a /codeburn:cost summary and CodeBurn's usage tools inside Claude Code", + "author": { + "name": "CodeBurn", + "url": "https://codeburn.app" + }, + "homepage": "https://codeburn.app", + "repository": "https://github.com/getagentseal/codeburn", + "license": "MIT", + "keywords": ["cost", "tokens", "usage", "claude-code", "codex", "cursor"] +} diff --git a/plugins/codeburn/.mcp.json b/plugins/codeburn/.mcp.json new file mode 100644 index 000000000..6df3c28d7 --- /dev/null +++ b/plugins/codeburn/.mcp.json @@ -0,0 +1,9 @@ +{ + "mcpServers": { + "codeburn": { + "type": "stdio", + "command": "npx", + "args": ["-y", "codeburn", "mcp"] + } + } +} diff --git a/plugins/codeburn/skills/cost/SKILL.md b/plugins/codeburn/skills/cost/SKILL.md new file mode 100644 index 000000000..85385eab7 --- /dev/null +++ b/plugins/codeburn/skills/cost/SKILL.md @@ -0,0 +1,11 @@ +--- +name: cost +description: Show what AI coding tools cost today, from CodeBurn. Use when the user asks about today's AI spend or token use, or which model or project cost the most. +allowed-tools: Bash(npx -y codeburn today) +--- + +Today's AI coding usage, from CodeBurn. It reads the session logs that Claude Code, Codex, Cursor and other tools keep on this machine: + +!`npx -y codeburn today` + +Summarize this in at most five short bullets: the total cost, the models and projects that cost the most, anything unusual, and one concrete way to spend less. Use only the numbers above. diff --git a/server.json b/server.json new file mode 100644 index 000000000..4935738a7 --- /dev/null +++ b/server.json @@ -0,0 +1,29 @@ +{ + "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json", + "name": "io.github.getagentseal/codeburn", + "title": "CodeBurn", + "description": "AI coding spend, tokens and plan quotas across Claude Code, Codex, Cursor and 40+ more tools", + "websiteUrl": "https://codeburn.app", + "repository": { + "url": "https://github.com/getagentseal/codeburn", + "source": "github" + }, + "version": "0.9.27", + "packages": [ + { + "registryType": "npm", + "identifier": "codeburn", + "version": "0.9.27", + "runtimeHint": "npx", + "transport": { + "type": "stdio" + }, + "packageArguments": [ + { + "type": "positional", + "value": "mcp" + } + ] + } + ] +}