@cheeseai/cli
v0.2.4
Published
Official Cheese AI CLI for connecting AI coding assistants to Cheese AI services.
Maintainers
Readme
@cheeseai/cli
Official Cheese AI command-line interface for connecting AI agents to Cheese Fortune MCP tools.
Detect and configure installed agents
npx @cheeseai/cli mcp installThe no-argument installer scans existing configuration files for:
- Codex:
~/.codex/config.toml - Cursor:
~/.cursor/mcp.json - Claude Code:
~/.claude.json - WorkBuddy current:
~/.workbuddy/.mcp.json - WorkBuddy legacy:
~/.workbuddy/mcp.json - DuMate, experimental and only when present:
~/.dumate/mcp.json
It preserves unrelated MCP servers, creates a .cheeseai.bak backup, and adds a direct Authorization: Bearer ... configuration. During this compatibility test release, web login is skipped and the defaults are:
For WorkBuddy, every existing current or legacy file is updated. If WorkBuddy is detected from its configuration directory or macOS application but neither file exists, the CLI creates the current ~/.workbuddy/.mcp.json file.
Token name: CHEESEAI_TOKEN
Token value: cheese_test_token_replace_mePreview without changing files:
npx @cheeseai/cli mcp install --dry-runFor a real token, prefer an environment variable so it does not enter shell history:
CHEESEAI_TOKEN='replace-with-real-token' npx @cheeseai/cli mcp installFor compatibility testing, the token can also be passed directly. The value is never printed by the CLI:
npx @cheeseai/cli mcp install --token 'replace-with-test-token'
npx @cheeseai/cli mcp install --token='replace-with-test-token'Direct arguments may remain in shell history, so use the environment-variable form for production credentials.
Connect Codex with OAuth
npx @cheeseai/cli mcp install --client codexThe explicit Codex mode configures the default Streamable HTTP MCP endpoint:
https://zsmcp.zsxg.cn/mcpCodex owns the native OAuth flow and credential storage in this mode.
Commands
cheese mcp install
cheese mcp install --client codex
cheese mcp login
cheese mcp doctor
cheese mcp uninstall --yesCodex performs OAuth automatically after adding an OAuth-enabled server. If the sign-in page does not open, run cheese mcp login.
For a staging or local server, override the endpoint:
cheese mcp install --client codex --url https://zsmcp-staging.zsxg.cn/mcp --force