Playwright-style MCP to inspect, control, and debug PySide6 desktop GUIs.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Playwright-style MCP server for PySide6 apps β lets AI assistants see, control, and debug your Python desktop GUI without modifying your app's source code.
Zero changes to your app's source code required.
The MCP server (stdio) and the in-app bridge are separate:
| Component | Where it runs | Needs PySide6? |
|---|---|---|
MCP server (pyside6-mcp) | MCP client's process | No |
Bridge (python -m pyside6_mcp β¦) | Inside your PySide6 app | Yes |
No changes to the target project. launch_app(cwd=β¦) injects only the
bridge modules via an isolated PYTHONPATH β nothing is added to pyproject.toml,
and the MCP server's dependencies (fastmcp, httpx, β¦) never enter the app environment.
Requires uv on PATH. MCP Registry name:
io.github.com55/pyside6-mcp.
Unlike qt-mcp, you do not add this
package to the target app or set a probe env var. launch_app injects the bridge.
Plugin (MCP + skill). install only searches marketplaces you have added β
there is no github: install shorthand:
MCP server only:
Install the Agent Plugin from this repository (or from the Cursor Marketplace once listed). Manual stdio config:
After saving, reload MCP servers in Cursor Settings β MCP.
See examples/cursor-mcp-config.json.
Place it wherever that client expects MCP config (user-level or project-level).
See examples/mcp-config.json.
Same stdio block as Any stdio MCP client.
Note:
uvxdownloads and runs the MCP server in an isolated env β PySide6 is not required there. PySide6 is only needed in the target app's venv (already a project dependency).To run from a git checkout instead of PyPI:
uvx --from git+https://github.com/com55/pyside6-mcp pyside6-mcp
cwd is the project root (pyproject.toml). script is the entry .py relative to cwd.
launch_app returns {pid} (the Qt app process, not the uv wrapper). Other tools omit pid to target the last launched app; pass pid= when several are running. Do not pass port=.
Prefer launch_app above. Use these only when the app is already running, or
you want to start it outside the MCP server.
Without editing app source β run the entry script through the bridge launcher
(pulls pyside6-mcp into a temporary env; does not add it to the project):
Bridge listens on http://127.0.0.1:7890 by default. Override with
PYSIDE6_MCP_PORT. Then from the agent call wait_until_ready() (and pass
pid= only if you use several apps).
launch_app is different: it picks an ephemeral port and injects only the
bridge modules via an isolated PYTHONPATH β you never set the port yourself.
Embed in the app (always-on; requires adding the package to that project):
Once the app is running with the bridge active, ask your assistant:
"Screenshot the app and click the Apply button" "Why is the checkbox disabled? Inspect its state." "Fill in the form and submit it" "Show me the last 20 log lines from the app"
Your assistant uses the launch_app, screenshot, get_widget_tree, find_widget, click, type_text, get_logs, and other tools automatically.
launch_app returns only when the UI is ready (a visible top-level window that has been quiet for at least 500 ms), not merely when the bridge HTTP server is up. Default timeout is 45 seconds.
| Tool | Description |
|---|---|
launch_app(cwd, script?, app_args?, timeout) | Launch app (no target-project install) and wait for UI readiness. Returns {pid} |
list_apps() | Pids of apps launched by this server |
get_launch_help() | How to set cwd, script, app_args before launch |
wait_until_ready(timeout, quiet_ms, pid?) | Wait for UI readiness on an already-running app |
wait_for_idle(timeout, quiet_ms, pid?) | Wait until UI has been quiet after an action |
get_app_status(pid?) | Process + bridge health; detects likely modal blocks |
stop_app(pid?) | Stop a launched app |
screenshot(widget_id?, pid?) | Capture window or specific widget (modal/active-window aware) |
get_widget_tree(pid?) | Full widget hierarchy with IDs |
get_widget_info(widget_id, pid?) | Detailed properties of one widget |
get_app_state(pid?) | Active window, focus, screen info |
find_widget(class_name?, object_name?, text?, visible?, pid?) | Search widgets |
click(widget_id?, x?, y?, button?, pid?) | Mouse click |
double_click(widget_id, x?, y?, pid?) | Double click |
type_text(text, widget_id?, pid?) | Keyboard input |
press_key(key, pid?) | Named key: enter, escape, tab, up/down, f5, β¦ |
scroll(dy, widget_id?, dx?, pid?) | Scroll wheel |
list_actions(pid?) | List QAction menu/toolbar items |
trigger_action(name?, text?, pid?) | Trigger a QAction without clicking menus |
get_logs(n?, pid?) | Recent Python log records |
get_app_output(n?, pid?) | Raw stdout/stderr from launched app |
eval_python(code, pid?) | Execute Python inside the app process |
A companion skill ships at skills/pyside6-mcp/SKILL.md
and is installed automatically with the plugin. It tells the agent when and how
to use these tools β no need to explain the workflow every time.
Thread safety: all Qt operations are marshaled to the main thread via QApplication.postEvent with a custom event type β the same mechanism Qt uses internally for cross-thread signals.
examples/test_app.py β minimal PySide6 app to verify the bridgeexamples/mcp-config.json β generic MCP config (Cursor, VS Code, Windsurf, β¦)examples/cursor-mcp-config.json β Cursor-specific templateexamples/claude-mcp-config.json β same format, kept for referenceMIT
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/pyside6-mcp)<a href="https://allmcps.com/mcp/pyside6-mcp"><img src="https://allmcps.com/api/badge/pyside6-mcp?style=directory" alt="PySide6 MCP on AllMCPs" /></a>