Loading connector details…
Loading connector details…
Choose a unique username to continue using AgentHotspot
by phisanti • Uncategorized
An MCP server enabling persistent, stateful R sessions for AI-assisted programming.
Execute R code within a persistent session preserving state.
Generate and retrieve plots from R with optimized output.
Manage and inspect multiple R sessions interactively.
MCPR provides a practical framework for AI agents to interact with live R sessions, preserving workspace state and enabling complex, multi-step analytical workflows. It uses JSON-RPC 2.0 over nanonext sockets for asynchronous communication and exposes a modular set of tools for code execution, plotting, session management, and environment inspection. This approach overcomes the limitations of stateless AI agents by supporting iterative, state-dependent data analysis in R.