shinyprobe
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@shinyprobe launch my Shiny app, set n to 10, and read the table output"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
shinyprobe
An MCP server that gives coding agents hands and eyes on a running Shiny app, R or Python.
Why
Coding agents write Shiny code blind. Once the app runs, they cannot set an input, see the plot, or tell which output broke and why. shinyprobe gives them a real browser on the running app, and it understands Shiny rather than just the page.
It knows when Shiny has finished. Every action waits for the app to settle, then reports which outputs changed and what went wrong. No sleeping, polling or guessing from screenshots. A generic browser tool cannot tell "still computing" from "nothing happened"; shinyprobe can, including on slow hosted apps.
Errors come with an address. A failing output returns the R or Python traceback, with
file and line (app.R#14), attached to the output it broke. validate() is a warning,
req() is silent, and only real errors are errors. A crash says so, with the exit code and
the last console lines.
It catches mistakes you would not see. It warns when a widget rejects a value (a select given a choice it doesn't have) and when an output never renders, usually a typo'd id. Both otherwise look fine and are quietly wrong.
It handles real app structure. Tabs, accordions, sidebars, renderUI and modules all
work. Clicking something on another tab opens that tab first, as a user would. If a
conditionalPanel hides it, the error names the condition to meet.
It shortens the fix-and-check loop. get_console shows what the app printed.
launch_app(replay=True) restarts the app after a code change and replays the same inputs
and clicks, so "fix it, then get back to where it broke" is one call.
It returns data, not just pictures. Tables come back as columns and rows, plots with their axis ranges and mapped variables, htmlwidgets with their data payload.
It stays out of your app. No R packages to install, no changes to your code. It works on local apps and on public deployments.
The difference: an agent can check its work instead of assuming it. "I've written the
change" becomes "I've written the change, set n to 5, the table has five rows, and nothing
errored".
Related MCP server: medula
Quickstart
uvx shinyprobe install-browser
claude mcp add shinyprobe -- uvx shinyprobeThen ask your agent to launch your app, change inputs and read outputs.
You need R with shiny for R apps, or a Python with shiny for Python apps. shinyprobe finds
Rscript and python on your PATH (and R's default install folder on Windows); set
SHINYPROBE_RSCRIPT or SHINYPROBE_PYTHON to use others. Set SHINYPROBE_HEADED=1 to
watch the browser.
Tools
Tool | What it does |
| Start the app in a folder or file and open it. Relaunching the same path keeps the |
| Open an app that is already running, locally or deployed. |
| Close the page and stop a launched app. |
| Every input (id, type, label, value, choices) and output (id, type, status), with visibility. |
| Set inputs through their widgets and wait for the app to settle. |
| Click a button, opening any tab or panel around it first. |
| Open the tab, accordion panel, sidebar or |
| Upload a local file into a file input. |
| Text, tables as rows, plots and widgets as images plus their data. |
| Every error so far: server traces, output errors, browser errors, crashes. |
| The app's own console output, for launched apps. |
| The whole page or one element. |
Every action returns the same envelope: status (settled, no_change, timeout or
disconnected), changed_outputs, errors and warnings.
Hosted apps
attach works on public deployments such as shinyapps.io. You lose what lives in the host's
process: no server tracebacks, no console, and hosts usually hide error messages ("An error
has occurred…"), though you still learn which output failed. Each attach is a real session
on that server and counts towards its usage. Apps behind a login are not supported yet.
Available Tools
12 toolsattachB
Open an app that is already running (local or deployed) at url and wait for it to settle.
Inputs: url (required).
clickA
Click the element with this id (usually an action button), then wait for the app to settle. If it is on another tab or in a closed panel, those are opened first, as a user would.
Inputs: id (required), app_id (required), timeout_s.
get_consoleA
The app's console output (print, message, cat, logging), newest last: the last lines
lines, or with since_last=True everything since the previous since_last call. Long output keeps
the newest lines and says how many older ones were cut. Only for apps started with launch_app.
Inputs: app_id (required), lines, since_last.
get_errorsA
Every error seen so far: server errors with traces (and the output they broke), Shiny output errors, browser console errors, and the app exiting. With since_last=True, only errors since the previous since_last call.
Inputs: app_id (required), since_last.
launch_appA
Start the Shiny app at path and open it in a browser, then wait for the first load to settle.
path is a folder with app.R, ui.R + server.R, or app.py, or the app.R / app.py file itself.
interpreter overrides the Rscript or Python executable. Launching the same path again stops
the old copy and relaunches it under the same app_id (use this after a crash or a code change).
With replay=True, the set_inputs, click, upload_file and show actions from the previous run
of this path are run again in order, to get back to the same state; replay says how many
ran and which one failed, if any, and the envelope covers the load and every replayed action.
Inputs: path (required), replay, interpreter.
list_controlsA
List every input (id, type, label, current value, choices, visible) and output (id, type, status, visible). Call again after dynamic UI changes: the page is re-scanned every time.
Inputs: app_id (required).
read_outputsA
Read outputs (all of them when ids is empty). Text and HTML come back as text, tables as
columns plus data rows (first 50, with the total), plots, images and htmlwidgets as images
after the JSON summary. Plots also give each panel's axis ranges (and the mapped variables for
ggplot2) in data; htmlwidgets give the data payload they were sent.
Inputs: app_id (required), ids.
screenshotA
Take a PNG screenshot of the whole page, or of one element when id is given.
Inputs: app_id (required), id.
set_inputsA
Set one or more inputs, e.g. {"n": 5, "species": ["setosa"]}, through their widgets, then wait for the app to settle. Warns if an input ends up with a different value than asked for. Use click for buttons and upload_file for file inputs.
Inputs: app_id (required), values (required), timeout_s.
showA
Bring an element into view: target is an element id, or a tab, accordion panel or
Inputs: app_id (required), target (required), timeout_s.
stop_appB
Close the browser page and, for launched apps, stop the app process.
Inputs: app_id (required).
upload_fileB
Upload the local file at path into the file input id, then wait for the app to settle.
Inputs: id (required), path (required), app_id (required), timeout_s.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 12 tools
Every tool targets a distinct action: lifecycle (attach, launch_app, stop_app), UI inspection (list_controls), interaction (set_inputs, click, show, upload_file), output reading (read_outputs), and diagnostics (get_errors, screenshot, get_console). No two tools overlap in purpose, making misselection highly unlikely.
All names follow a consistent verb_noun pattern in snake_case (e.g., launch_app, set_inputs, read_outputs). Single verbs like attach and click are still clear and fit the pattern, with no mixed conventions or vague terms.
12 tools is well-scoped for a Shiny app interaction server. Each tool covers a necessary capability for starting, controlling, inspecting, and debugging apps, without redundancy or bloat.
The surface covers the full lifecycle from launch to stop, all common input interactions, output reading, and error/console diagnostics. No obvious gaps exist for typical Shiny testing workflows, making the set self-sufficient.
Maintenance
Related MCP Connectors
Control a real browser from AI agents: navigate, click, type, screenshot, read the page.
Provides cloud browser automation capabilities using Stagehand and Browserbase, enabling LLMs to i…
A real browser for your agent: screenshots, page checks, Markdown and PDFs.
Give AI agents a real cloud Chrome: open sessions, navigate, read pages, click, type and screenshot.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI coding agents to visually interact with frontend apps by taking screenshots, clicking elements, reading console logs, and performing visual diffs.3MIT
- AlicenseNot gradedqualityBmaintenanceEnables coding agents to read and modify the state of web apps (Vue, React, Svelte, Pinia, router) through MCP, acting as headless devtools.936 npm128MIT
- AlicenseNot gradedqualityCmaintenanceEnables MCP agents to drive a running web application by registering schema-validated actions and using a WebSocket relay, with ten ui_* MCP tools for invoking actions, reading state, screenshots, and tab management.MIT
- AlicenseAqualityCmaintenanceEnables AI coding agents to open and exercise web applications in an isolated Chromium browser, capture screenshots and runtime/network diagnostics, and run deterministic page checks with linked evidence.121MIT