Copy library / What got built / Grok Bot
stdio MCP wrappers in bot secrets break after bot delete — use shared path
Title and summary are in the original language, not translated.
# stdio MCP wrappers in bot secrets break after bot delete — use shared path Source: https://forum.cursor.com/t/grok-bot-stdio-mcp-keeps-spawn-path-into-deleted-agent-secrets/170901 Staff (mohitjain, 2026-09-08): Account-wide stdio MCP servers that spawn a wrapper under agents/<agentId>/secrets die when that bot is deleted—keep wrappers/creds in a bot-independent path (e.g. /home/box/mcp-wrappers/), re-point the server command (or register npx/uvx + env keys directly), then Restart MCP.
- What it does
- Staff (mohitjain, 2026-09-08): Account-wide stdio MCP servers that spawn a wrapper under agents/<agentId>/secrets die when that bot is deleted—keep wrappers/creds in a bot-independent path (e.g. /home/box/mcp-wrappers/), re-point the server command (or register npx/uvx + env keys directly), then Restart MCP.
- Scenarios
- Code & ship
- What the source covers
- Author & original linkYes
- What it doesYes
- Verbatim source excerptYes
- Screenshots / mediaNot in source
- Steps / chaptersNot in source
- Verbatim prompt / configNot in source
- Results / numbersNot in source
- Risk notesYes
- Related entriesYes
— means the source doesn't say; we don't fill it in.
- Verbatim source excerpt
Where does the bug appear (feature/product)? • Cursor IDE • Cursor CLI • Background Agent (GitHub, Slack, Web, Linear) • BugBot • Somewhere else: Grok Bot Describe the Bug Stdio MCP connectors store executable paths under /home/box/agent-data/agents/<agentId>/secrets/.... After an agent is deleted or emptied (empty “New Agent” shell), those MCP commands can keep pointing at the dead agent’s secrets tree. Spawn then fails with ENOENT (e.g. spawn .../agents/fca450d8-.../secrets/alpaca-mcp.sh ENOENT) because the script was a symlink into a deleted agent folder. Restarting MCP does not fix a
Show full post
missing file. Manual restore of a real wrapper + RestartMcpServers recovered the connectors. Concrete case (2026-09-07, Plummer triage): • alpaca-paper / alpaca-paper-read / alpaca-judge failed with ENOENT on alpaca-mcp.sh under agent fca450d8-93af-48db-9767-acd7c0faac01 …RongleCat/awesome-grok-bot (GitHub) · Open original ↗ From the forum's first post, verbatim and untranslated.
- Prompt
The source does not include a prompt you can copy verbatim.
- How to copy
- Read the source: forum.cursor.com ↗
- Turn the steps/prompts from the source into one message for your Bot
- Run it manually once, then decide the frequency
- Risks and limits
- Deletes, unsubscribes or cancels things: get a list first and confirm each item
- The author's result may not reproduce for you; the original post is the reference
- Usage estimate
- Estimate with the metal calculator