Wraps local shell commands, compresses terminal output, and records command history and context-saving metrics.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent ā or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag ā we're steadily working through the catalog.
š” Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Sage.
PsYcGoD/sage MCP server provides a local-first command wrapper for coding agents and ordinary terminal workflows. Commands run through sage run -- <command>; SAGE stores the complete terminal output locally and gives the agent a shorter result intended to preserve useful errors, summaries, and status information without placing every log line in the conversation.
The package also keeps local command history, retry context, and compression proof data. Its command-line interface includes shortcuts such as sage pytest, sage npm test, and sage git status, which are treated as wrapped commands. Additional commands expose context statistics, reports, recent history, failed-command explanations, suggested fixes, and an optional automatic fix attempt.
Install the Python package from PyPI or the npm package that launches the Python implementation. Installation does not activate the workflow automatically. Run sage install once to connect the machine, repair or add supported agent instructions, and verify activation. Existing agent sessions may need to be restarted before they load those instructions.
After activation, an agent can route noisy shell work through SAGE. The raw result stays on the user's machine while the returned output is compressed for agent consumption. The local database records command history and context-saving measurements. Local-only mode requires no login and sends nothing away from the machine.
Connected proof mode is optional. When enabled, it sends aggregate counters and proof metrics rather than raw logs. Debug telemetry is also optional and uses redacted diagnostic summaries when explicitly enabled. SAGE is not automatically enabled as MCP during package installation; MCP configuration is a separate, manual option.
The documented Python setup is:
The npm-based setup is:
Use sage doctor --activation to check activation. Host integrations can specify a working directory with sage run --cwd /project -- <command>. The documented SAGE_WORKSPACE_CWD setting can also address hosts that start shells in the wrong folder, though the provided material does not define additional configuration variables.
PsYcGoD/sage MCP server supports these documented CLI operations:
sage run --.--cwd.sage context stats.sage context report.sage history --limit 10.sage fix --apply.sage ml setup.sage mcp install.sage dashboard start.The README identifies compatibility with Claude Code, Codex, Cursor, Windsurf, OpenCode, Cline, custom agents, CI scripts, and normal terminal use. The supplied material does not describe a separate list of MCP tool names.
PsYcGoD/sage MCP server cannot enable shell tools that a host application has disabled. MCP may disconnect in some stdio agent sessions, so the project recommends using normal sage run -- <command> by default and enabling MCP manually only when needed. Package installation is intentionally passive, meaning activation always requires a separate sage install step.
Raw prompts, source code, credentials, raw command output, and project files are intended to remain local unless a user deliberately enables a feature that sends data. Connected proof mode requires machine authentication and transmits aggregate proof metrics. The project is licensed under MIT.
Factual signals from GitHub, npm, and our automated checks ā not a rating.
No reviews yet ā be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/psycgod-sage)<a href="https://allmcps.com/mcp/psycgod-sage"><img src="https://allmcps.com/api/badge/psycgod-sage?style=directory" alt="Sage on AllMCPs" /></a>