{"$schema":"https://wellknown.network/schemas/agent-record-v1.json","schemaVersion":"1","id":"ag_xq687nz4cphm","handle":"posit-mcp-repl","url":"https://wellknown.network/agents/posit-mcp-repl","links":{"self":"https://wellknown.network/agents/posit-mcp-repl/record.json","html":"https://wellknown.network/agents/posit-mcp-repl","markdown":"https://wellknown.network/agents/posit-mcp-repl/record.md","api":"https://wellknown.network/api/v1/agents/posit-mcp-repl","status":"https://wellknown.network/api/v1/agents/posit-mcp-repl/status","claim":"https://wellknown.network/agents/posit-mcp-repl/claim","claimApi":"https://wellknown.network/api/v1/claims","claimDescriptor":"https://wellknown.network/agents/posit-mcp-repl/claim.json","badge":"https://wellknown.network/agents/posit-mcp-repl/badge.svg","openapi":"https://wellknown.network/openapi.json","history":"https://wellknown.network/api/v1/agents/posit-mcp-repl/history","tools":"https://wellknown.network/api/v1/agents/posit-mcp-repl/tools"},"ard":{"identifier":"urn:air::server:posit-mcp-repl","type":"application/mcp-server-card+json"},"kind":"mcp_server","declared":{"name":"posit-mcp-repl","summary":"MCP server exposing a long-lived interactive REPL runtime (R or Python backend) over stdio.","description":"# mcp-repl\n\n`mcp-repl` is an MCP server that gives an agent a persistent Python or R\nsession, kept alive across tool calls. The agent can load data once,\ninspect objects, try ideas, read help, make plots, and keep iterating —\nthe way a person would in a REPL.\n\nA shell tool running `Rscript -e` or `python -c` keeps forcing the agent\nto rebuild context. `mcp-repl` keeps the session open instead:\nvariables, loaded packages, plots, and other state stay available until\nyou or the model reset.\n\n## Features\n\n- **Sandboxed by default.** The backend runs in a sandbox enforced by OS\n  primitives at the process level — not command-specific runtime rules.\n  Network is disabled; writes are constrained to workspace roots and the\n  temp paths the active session needs. On Unix, a memory guardrail kills\n  the worker if it exceeds threshold.\n- **Curated output.** Smart echo (omitted when safe, elided for large\n  multi-expression blocks) and in-band help pages. Plots are returned as\n  inline images through MCP for vision-capable models, so the agent sees\n  the plot directly; non-vision models still get the saved file path.\n  When replies get too large, the tool response stays short and the full\n  output is saved as a structured bundle (transcript + plot files) the\n  model can explore on demand.\n- **No polling.** R and Python run embedded in the worker, not behind a\n  stdio pipe driven by prompt-string heuristics. The server knows\n  precisely when the interpreter is idle and has settled, so each `repl`\n  call returns the moment the work is done — no fixed waits, no guessing\n  whether more output is on the way.\n- **Explicit session control.** Interrupts and resets are first-class.\n\n## Quickstart\n\n### 1. Install\n\nInstall from PyPI. The package is named `posit-mcp-repl` and exposes the\n`mcp-repl` executable, plus a `posit-mcp-repl` alias for `uvx`:\n\n```sh\npipx install posit-mcp-repl\n# or\nuv tool install posit-mcp-repl\n# one-off\nuvx posit-mcp-repl --help\n```\n\nOr install via `cargo` (needs…","publisher":null,"homepage":"https://github.com/posit-dev/mcp-repl","repository":"https://github.com/posit-dev/mcp-repl","version":"0.3.0","license":null,"protocols":["mcp"],"tags":["mcp","repl","r","python"],"pricing":null,"endpoints":[{"url":"pypi:posit-mcp-repl","type":"package_pypi","auth":null,"probeable":false}],"skills":null,"tools":null,"extra":null,"attribution":{"kind":"pypi","name":"pypi","repoUrl":"pypi","summary":"pypi","version":"pypi","description":"pypi","homepageUrl":"pypi"}},"derived":{"capabilities":[{"slug":"code.execution","name":"Code Execution","confidence":1,"provenance":"declared"},{"slug":"dev.package-management","name":"Packages & Dependencies","confidence":0.768,"provenance":"derived"}],"categories":["code","dev"],"language":"en"},"observed":{"status":"unknown","statusReason":"Distributed as a package to run locally; no network endpoint to check.","lastOkAt":null,"lastProbedAt":null,"statusComputedAt":null,"reliability30d":null,"latestObservations":[],"tools":null,"package":{"name":"posit-mcp-repl","registry":"pypi","observedAt":"2026-10-28T20:22:53.277Z","publishedAt":"2026-06-30T12:38:50.288132Z","latestVersion":"0.3.0"},"toolSurface":null,"endpointFacts":[]},"verification":{"claimed":false,"claimedAt":null,"proofs":[]},"provenance":{"sources":[{"source":"pypi","key":"posit-mcp-repl","url":"https://pypi.org/project/posit-mcp-repl/","firstSeenAt":"2026-09-10T10:23:35.328Z","fetchedAt":"2026-10-28T20:20:53.108Z","normalizedAt":"2026-10-28T20:20:53.108Z"}]},"firstSeenAt":"2026-09-10T10:23:35.328Z","updatedAt":"2026-10-28T20:22:53.277Z"}