Claude Code plugin for Mantis — connect your terminal agent to Mantis MCP, pick a space and thread, and work with maps, clusters, and notebooks in context.
- Claude Code (
claudeon your PATH) - Node.js 18+
- A running Mantis API (e.g.
http://localhost:8000for local dev) - A Mantis Developer API key (
live_…from the developer portal)
npm install -g mantis-claude-code
mantis-setupmantis-setup walks through API URL, API key, space, and thread selection, and registers the mantis@mantis-plugins Claude Code plugin.
- Open Claude Code (restart if it was already running).
/plugin→ enable mantis @ mantis-plugins (user scope) if needed./reload-plugins- Confirm with
/mantis:status
| Command | Description |
|---|---|
/mantis:connect |
Run setup / reconnect |
/mantis:space |
Change space (search or paste a /space/{uuid} link) |
/mantis:thread |
Change thread (space state) |
/mantis:status |
Show current space, thread, and MCP URL |
/mantis:select |
Quick space/thread selection |
After changing thread, run /reload-plugins so MCP picks up the new X-Space-State-ID header.
In mantis-setup or /mantis:space, paste a URL such as:
https://mantis.csail.mit.edu/space/1e1ed055-c869-4b78-b41f-4216a44049d4/
Use the same Mantis API base URL as the space you are targeting (local vs production).
Plugin (slash commands, MCP, skills) — in Claude Code:
/plugin marketplace update mantis-plugins
Then update mantis@mantis-plugins and /reload-plugins.
CLI (mantis-setup, terminal pickers):
npm install -g mantis-claude-code@latestclaude plugin marketplace add KellisLab/mantis-claude-code
claude plugin install mantis@mantis-plugins --scope userEnable in /plugin, then /reload-plugins.
https://www.npmjs.com/package/mantis-claude-code
MIT — see LICENSE.