parseChunk

MCP tool from Agent Rack by lakpriya1s

is called on every stdout/stderr chunk as it streams in; return zero or more

How to use it

parseChunk is exposed by the Agent Rack MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the parseChunk tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.

Install Agent Rack

$npx agent-rack setup
FULL AGENT RACK LISTING

Other tools in Agent Rack (31)

agent_list_available

No parameters. Lists every configured agent and whether its binary is on $PATH.

agent_run
agent_session_cancel
agent_session_create

Same execution parameters as agentrun (agent, prompt required; workspace, mode,

agent_session_delete
agent_session_logs
agent_session_send
agent_session_status
agent-rack-review-handling

An agentreview call returns

agent-rack-tool-selection

Delegating any task to a sub-agent through agent-rack

agents
claude

claude mcp add agent-rack -- node <resolved-bin-path> start. --scope maps directly to Claude Code's own -s local\

codex

codex mcp add agent-rack -- node <resolved-bin-path> start (global only — codex has no project-scope flag).

config-check
cursor

Merges an mcpServers.agent-rack entry into Cursor's mcp.json, plus copies agent-rack's two guidance skills into Cursor's skills/ directory. --scope user (default) writes to ~/.cursor/; --scope project writes to <project>/.cursor/ instead.

danger-full-access

--sandbox danger-full-access + escape hatch

desktop

Merges an mcpServers.agent-rack entry into Claude Desktop's config (macOS only).

followUpMode

Agents

formatResponse

runs once the process exits, reducing all accumulated events into a

getCLIArgs

builds the argv for a single run, given the prompt and an optional mode.

line_start

/lineend may be 0 for whole-file, deleted-file, or architectural findings.

live

opencode

opencode

Merges an mcp.agent-rack entry into opencode's config ($OPENCODECONFIGDIR, else $XDGCONFIGHOME/opencode, else ~/.config/opencode) — note this target uses a different config shape ({ type: "local", command: [...] }) than the others. Global only.

OpenCode

agent-rack install --target opencode

opencode_run

identical to agentrun but with agent pre-filled.

read-only

--sandbox read-only (enforced)

resume

claude, codex

snippet
start
uninstall
watch