v2.1.0 — Built-in MCP, Security Hardening, 12 Bug Fixes
Built-in @blockrun/mcp
RunCode now ships with BlockRun MCP server pre-configured — zero setup needed:
blockrun_search— web searchblockrun_exa— neural researchblockrun_dex— DEX pricesblockrun_markets— prediction marketsblockrun_chat— second opinion from other models
Just run runcode start — tools are automatically available.
Security Hardening
- Project MCP trust:
.mcp.jsonfiles in project directories now require explicit trust before loading. Prevents malicious repos from executing arbitrary commands. - Write symlink check: Target file symlinks are now resolved before writing. Prevents writing to
/etc/passwdthrough a symlink.
12 Bug Fixes
- MCP: 5s connect timeout, 30s tool call timeout, transport leak cleanup
- Session: JSONL corruption recovery, prune protects active session
- Tokens: anchor sanity check on history mutation
- LLM: malformed tool JSON logged instead of silent {}
- Tools: truncation at line boundaries, imagegen download 30s timeout
- Compact: threshold capped at 8-20 messages (was unbounded %)