Code mode with a stateful REPL
Summary
The author introduces ptc_runner_mcp, an MCP server that provides a stateful, sandboxed REPL using a Clojure-like language, allowing AI agents to perform exploratory computations without overwhelming the context window.
Similar Articles
Code execution with MCP: Building more efficient agents
This article from Anthropic explores how integrating code execution with the Model Context Protocol (MCP) can improve the efficiency of AI agents. It addresses challenges like token overload from tool definitions and intermediate results, proposing code execution as a solution to reduce latency and costs.
MCP that lets you run and manage Claude Code sessions from Claude.ai chat (Work where you brainstorm)
An open-source MCP tool that allows Claude.ai to run and manage Claude Code sessions, enabling a loop where Claude.ai triggers Claude Code and receives responses back in the browser, eliminating copy-pasting.
I open-sourced the "harness" layer for AI agents: run Claude Code/Codex/Gemini with governed MCP tools (browser, editor, secrets)
Open-sourced a desktop workspace that provides a governed runtime for AI coding agents, offering 100+ MCP tools, RBAC, and a self-evolving toolbox.
@akshay_pachaar: The MCP vs CLI debate. For most of 2025, AI Engineers argued about it. The skeptics had real numbers: - Playwright MCP …
Anthropic's 'Code Mode' reframes the MCP vs CLI debate by having AI agents write code to call tools via a runtime rather than loading full schemas into context, drastically reducing token usage. This approach combines MCP's typed contracts with lazy loading, proving the protocol is evolving rather than dying.
I rebuilt the Claude Code-style terminal workflow as a hackable multi-provider coding agent
A developer releases a hackable, multi-provider coding agent that replicates the Claude Code terminal workflow, allowing users to integrate various AI models.