v2.0.0 — MCP Support + Token Management
MCP Support (Model Context Protocol)
RunCode now connects to MCP servers, giving the agent access to external tools:
// ~/.blockrun/mcp.json
{
"mcpServers": {
"blockrun": {
"transport": "stdio",
"command": "npx",
"args": ["@blockrun/mcp"]
}
}
}The agent automatically discovers and uses MCP tools:
blockrun_search— web searchblockrun_exa— neural researchblockrun_markets— prediction marketsblockrun_dex— DEX prices- Any third-party MCP server
Use /mcp to see connected servers and tools.
Token Management
- API-anchored tracking (actual counts from API, estimates for new messages)
/contextnow shows:Tokens: ~45,200 / 200k (22.6%) ✓- Anchor resets on compaction for accuracy