Skip to content

Add plugin manifests for Claude Code, Cursor, and Codex CLI#31

Merged
agent-smith-k merged 1 commit into
mainfrom
plugin-manifests
Apr 20, 2026
Merged

Add plugin manifests for Claude Code, Cursor, and Codex CLI#31
agent-smith-k merged 1 commit into
mainfrom
plugin-manifests

Conversation

@agent-smith-k

Copy link
Copy Markdown
Contributor

Summary

Prepares the CLI for listing as a plugin in the Claude Code, Cursor, and OpenAI Codex CLI marketplaces, alongside the existing Gemini CLI extension.

  • Adds .claude-plugin, .cursor-plugin, and .codex-plugin manifests, plus a shared .mcp.json for clients that follow the standard MCP config shape.
  • Adds brand assets under assets/ and a new kraken-setup skill covering installation and API-key scoping recommendations.
  • Defaults every marketplace to kraken mcp -s market,paper so a fresh install is read-only + paper. Live trading is an explicit opt-in via the client's MCP config.
  • Treats blank credential env vars as unset so empty plugin prompts fall through to the CLI's config file with a friendly "not configured" message instead of a cryptic API error.
  • Hardens auth show and Debug output to mask API keys (last-4 only) and redact secrets.

Version bumped to 0.3.2 and two clippy suggestions applied.

Test plan

  • cargo check --all-targets
  • cargo test --all-targets (new integration coverage for empty-env fall-through, key masking format, JSON redaction shape)
  • claude plugin validate . passes for the Claude manifest
  • claude mcp list spawns the server via .mcp.json (✓ Connected)
  • cursor-agent mcp list picks up the inlined mcpServers block from a workspace-scoped .cursor/mcp.json
  • Raw stdio MCP handshake with blank credential env vars completes initialize and advertises the expected 20 tools in guarded mode

- Add .claude-plugin, .cursor-plugin, and .codex-plugin manifests so the
  CLI can be installed as a plugin from each marketplace, alongside the
  existing Gemini CLI extension.
- Default every marketplace to `kraken mcp -s market,paper`; live trading
  requires the user to widen the service list in their client's MCP
  config.
- Add a shared .mcp.json for clients that follow the standard MCP config
  shape, and brand assets under assets/.
- Add a `kraken-setup` skill covering installation and API-key scoping
  recommendations, and extend `kraken-mcp-integration` for the new
  clients.
- Treat empty credential env vars as unset so blank plugin prompts fall
  through to the config tier with a friendly message instead of a
  cryptic API error.
- Mask API keys (last-4 only) and redact secrets in `auth show` and
  `Debug` output.
- Bump to 0.3.2 and apply two CI clippy fixes.
@agent-smith-k agent-smith-k merged commit aa32814 into main Apr 20, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant