Mantis developer CLI — spaces, maps, MCP tools for AI agents, and editor skill sync.
Naming: repo
KellisLab/mantis-cli, npm packagemantisai-cli, binarymantis.
Full docs (VitePress):
Source: Mantis/docs/mantis-cli/
- Node.js 18+
- Mantis API + Developer key from https://mantis.csail.mit.edu/developer/#keys
npm install -g mantisai-cli
mantis setup
mantis setup claude # optional: Claude Code skills
mantis use get_space_contextConfig: ~/.mantis/config.json
| Command | Description |
|---|---|
mantis setup [claude|opencode|codex] |
API + space/thread, or sync editor skills |
mantis status |
Current config |
mantis select [space|thread|both] |
Switch space/thread |
mantis spaces list|resolve|set |
Scriptable space ops (JSON) |
mantis threads list|new|set |
Scriptable thread ops (JSON) |
mantis tools |
List MCP tools |
mantis use <tool> |
Call an MCP tool (JSON output) |
mantis create map <file> |
Map from CSV/XLSX |
mantis create codebase [root] |
Index repo; optional --create-map |
https://www.npmjs.com/package/mantisai-cli
MIT — see LICENSE.