SAGE Wrapper
Command wrapper MCP server for coding agents, compression, workflows, and local automation.
Connector by PsYcGoD · GitHub account verified by the MCP Registry
Install
Works with Claude Code, Codex, VS Code, Cursor, Windsurf, Claude Desktop. Read the repository before you give any tool access to your data.
npx agentmarket install connector/psycgod-sage
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this server can do and what it asks for, from its tool list, install config and code. Checked Oct 25, 2026.
- Tools
- 9 read · 6 write · 1 delete · 1 not yet classified
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Node.js package
Tools by what they do 17
Read from the source code; the running server may list different tools.
Read 9 · Look things up without changing anything.
sage_agentic_fixsage_agentic_sessionsage_explain_errorsage_get_historysage_globsage_grepsage_read_filesage_show_rawsage_suggest_fix
Write 6 · Create, change, send or run things.
sage_agentic_runsage_callsage_edit_filesage_run_workflowsage_spawn_agentsage_write_file
Delete 1 · Delete, drop, revoke or wipe things.
sage_run_command
Not yet classified 1 · We could not tell from the name and description.
sage_tree
Network hosts it talks to 3
21st.dev· found in codegithub.com· found in codeglama.ai· found in code
Files it touches
/etc/etc/machine-id/home/user/opt/Users/user/usr/local/var/var/lib/dbus/machine-id- Your home directory (~)
- Any path the agent passes to its tools
Tools (17)
Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].
sage_agentic_fixReturn the single best fix candidate for a failed SAGE command. Use when you need one actionable repair plan, not a list of alternatives. Input is an optional SAGE run id; when omitted, the most recent failed run is analyzed. Returns fix_command, strategy, confidence, and explanation, or null when no safe fix is known. Read-only: does not execute the fix and does not edit files.
sage_agentic_runRun one local command with SAGE's failure-recovery loop. Use for development commands where automatic diagnosis and retry may help, such as tests or builds. Autonomy controls behavior: suggest reports fixes only, ask requires confirmation, auto may apply safe fixes and retry. Returns command result, recovery attempts, and verification status. Do not use for destructive commands, credential entry, production deploys, or external account changes.
sage_agentic_sessionGet the current agentic session state — failure streak, recent errors, intent chain. Useful for understanding context before deciding next action.
sage_callRun one local shell command through SAGE with a purpose label. Use when you need command execution and want the result categorized as read, search, test, build, deploy, audit, or unknown. Returns exit_code, compact output, run_id, purpose, and agent metadata. Side effects are exactly the side effects of the command itself. Do not use for secrets, credential prompts, or deployment unless explicitly requested.
sage_edit_fileExact string replacement in a file. Returns a compact change preview instead of the whole file, and snapshots the pre-edit content for undo. old must match exactly and be unique unless replace_all=true.
sage_explain_errorExplain why a previous SAGE command failed. Use after a non-zero command exit before editing code or retrying. Input is an optional SAGE run id; when omitted, the most recent failed run is analyzed. Returns a structured object with error_type, summary, root_cause, affected_files, and suggestions. Read-only: does not run commands, edit files, or contact external services.
sage_get_historyList recent local SAGE command runs. Use to find a run_id for sage_show_raw, sage_explain_error, or sage_suggest_fix. Returns compact metadata such as run_id, command summary, exit_code, duration, timestamp, and compression ratio. Read-only: reads the local SAGE database only and does not execute commands.
sage_globFind files by pattern, newest first, junk directories ignored, capped output. Prefer over recursive directory listings.
sage_grepSearch files with compressed, grouped results (exact paths and line numbers kept). Prefer this over rg/grep when output may be large.
sage_read_fileRead a file with SAGE compression: small files exact, large files as outline + head with line references. Prefer this over cat/type/Get-Content to save context.
sage_run_commandRun command through SAGE with smart output filtering and storage
sage_run_workflowRun a named local workflow through SAGE, such as test, lint, build, or ci. Use when the project has a repeatable workflow and you want one structured result instead of several separate shell calls. The workflow must be local/project-defined. Returns success, per-step status, duration, and compact output. Side effects: runs the workflow's local commands and may change files if the workflow commands do. Do not use for deployment unless the user explicitly requested deployment.
sage_show_rawRecover the exact stored output of a previous run by ID (compression never destroys the original).
sage_spawn_agentRun one focused local SAGE specialist for a bounded development task. Use only when a task clearly matches one specialization: code, test, debug, security, or performance. Returns agent_type, task, status, and a compact result. Side effects depend on the task: the specialist may inspect files, run local commands through SAGE, or propose edits. Do not use for open-ended chat, secrets, credentials, or tasks requiring external account access.
sage_suggest_fixSuggest safe next steps for a failed SAGE command. Use after sage_explain_error when you want possible fixes but do not want them executed automatically. Returns a list of fix suggestions with explanation, confidence, and candidate command when available. Read-only: it never applies patches and never runs the suggested command.
Show 2 more tools
sage_treeCompact depth-limited directory overview instead of ls -R noise.
sage_write_fileCreate or update a file. Returns bytes/lines/sha256 confirmation instead of echoing the content back — saves the whole file's tokens. Existing files require overwrite=true (a snapshot is taken first so it is reversible).
Signals
- Stars
- 11
- Forks
- 7
- Open issues
- 0
- Weekly downloads
- 52
- Last commit
- Oct 21, 2026 (9 days ago)
- Last release
- Sep 13, 2026 (1 month ago)
- Last package publish
- Sep 13, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026) and the package registry.
Details
- Registry name
io.github.PsYcGoD/sage- Version
- 2.6.2
- Auth
- No auth
- Packages
- pypi psycgod-sagenpm psycgod-sage
- License
- MIT
- Repository
- github.com/PsYcGoD/sage
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
Cite this page
SAGE Wrapper MCP server. Agent Mart. https://agentmart.dev/connectors/psycgod-sage (last updated 2026-10-24)