agentgrasp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
agentgrasp
agentgrasp keeps long command output out of a Claude Code agent's context. Claude Code still
runs every Bash command. When the output is long, agentgrasp saves it to a file and the agent
sees a short summary with the file path. The agent can then read the file, or ask yes/no
questions about it with the ask tool. The search tool finds the files and line ranges that
are relevant to a question, without returning source text.
ask and search use Jev, TypeSafe's yes/no model.
Install
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/damejeras/agentgrasp/releases/latest/download/agentgrasp-installer.sh | sh
claude plugin marketplace add damejeras/agentgrasp
claude plugin install agentgrasp@agentgraspInstead of the installer, npm install -g agentgrasp installs the same binary, and
npx agentgrasp mcp runs the MCP server without a global install.
The plugin calls agentgrasp from PATH. Set TYPESAFE_API_KEY in the environment that
starts Claude Code; without it, ask and search return provider_unavailable.
Related MCP server: distil
Settings
agentgrasp runs each Bash command inside a { ... } group that sends its output to files.
Claude Code asks for approval of every command that holds such a group, also when your allow
rules allow the command, and no allow rule changes that. So in Claude Code's default and
acceptEdits permission modes, every Bash call asks for approval. In bypassPermissions mode
the calls run without a prompt. Your deny rules still block a command in every mode.
When the Claude Code sandbox is on, let Bash write the agentgrasp state directory. Without this, the output cannot go to its files, the shell prints the error, and the command does not run:
{
"sandbox": {
"filesystem": {
"allowWrite": ["~/.local/state/agentgrasp"]
}
}
}Use $XDG_STATE_HOME/agentgrasp instead when XDG_STATE_HOME is set.
Costs and risks
askandsearchsend file content to TypeSafe. TypeSafe lists Jev at $42 per billion input tokens. Each call writes the tokens it used to its record under~/.local/state/agentgrasp/asks/orsearches/.askandsearchcan read any file inside the MCP roots, which are the project directory and the directories you add. This includes files that yourReaddeny rules block. When you allow these tools, you allow that.The state directory grows until you delete files from it. agentgrasp never deletes them.
A runaway command can fill the disk until Claude Code's timeout stops it.
Links
MCP Registry name:
mcp-name: io.github.damejeras/agentgrasp
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Same functionality, consuming only 1/20 of the context window tokens.
Persistent file storage for AI agents. Save files over MCP, get a link a human can open.
Use your Mac, Windows or Linux computer from ChatGPT, Claude or Codex: files, commands, documents.
Temporary file relay for AI agents: upload a generated file, get an expiring download link.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceCompresses file reads, command output, search hits, and fetched web pages before entering agent context to reduce token usage, using deterministic transforms and a safety verifier.30 npm8MIT
- AlicenseAqualityAmaintenanceReversibly compress a large tool output to a recoverable 8-hex handle over stdio, expand it back to the exact original bytes on demand, and report a local token/dollar savings ledger. Zero runtime dependencies; content never leaves the machine.3192 PyPI21Apache 2.0
- FlicenseNot gradedqualityCmaintenanceEnables efficient SEC EDGAR filing access by saving filings to disk, returning file paths to avoid context overflow, and providing Bloomberg Terminal-style formatted output for selective reading and search.4-
- AlicenseAqualityBmaintenanceLets AI coding agents read an outline of a large file or a digest of noisy command output instead of the full text, while every hidden line stays retrievable on disk through a run handle. Agents can request only the line ranges, slices, or grep matches they need and list recent runs, cutting token spend without losing information.5MIT