PS5 Agent Remote
Provides PlayStation Network lookups, including searching the user's game library and the PlayStation Store with prices and ownership status, plus checking what the account is currently playing.
Connects to a PS5 over Remote Play on the local network, allowing the web remote and AI agents to view the console screen, press buttons, use sticks and triggers, type text, go Home, and turn the console on or off. It also supports timed gameplay input with captured frames so agents can act and observe results.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
PS5 Agent Remote
Control your PlayStation 5 from your computer, and let AI agents control it too.
PS5 Agent Remote runs a small server on your PC. It connects to your PS5 over Sony's Remote Play protocol on your home network and gives you:
A remote in your browser. Every controller button, both sticks, a live view of the PS5 screen, and typing from your keyboard into the PS5 keyboard.
Agent tools (MCP). Claude Code, Claude Desktop, Cursor, DeepSeek Harness and any other MCP client can see the screen, press buttons, type, go Home, and turn the console on or off.
Agents that play games.
ps5_playruns timed stick, button and trigger input on the server clock and returns frames captured during the move, so an agent can walk, jump, aim and fight, and see what happened.PlayStation Network lookups. Search your game library and the PlayStation Store (with prices and whether you already own a game), and see what your account is playing.
Ask your agent "put on some lo-fi on YouTube", "is Hades on sale?" or "start downloading Astro Bot from my library" while you keep working.
Not affiliated with or endorsed by Sony Interactive Entertainment. "PlayStation" and "PS5" are trademarks of Sony Interactive Entertainment Inc.
Requirements
Computer | Windows 10 or 11, 64-bit |
Python | 3.11 or newer |
Console | PS5 on the same home network as the computer |
Account | A PlayStation Network account signed in on that PS5 |
macOS and Linux are not supported yet. The Python code is portable, but the native library is only built for Windows today.
Related MCP server: OBS Control MCP
Quick start
Install Python, download this project, and install its packages. docs/01-install.md
Prepare the PS5. Turn on Remote Play and network wake. docs/02-ps5-setup.md
Start it. Double-click
start.cmd. Your browser opens http://127.0.0.1:8765.Sign in and link. Paste your PSN sign-in token, then type the 8-digit PIN from the PS5. docs/02-ps5-setup.md
Connect your agent (optional). docs/03-agents.md
Documentation
Guide | What it covers |
Python, download, packages, the native library | |
Console settings, sign-in, linking, purchase safety | |
Claude Code, Claude Desktop, Cursor, DeepSeek Harness, the tools | |
The web page, keyboard shortcuts, live view, typing | |
Black screen, can't find PS5, linking errors | |
Endpoints for your own scripts | |
Compile |
How it works
Browser page ─┐
├─ HTTP / WebSocket ─> server.py ─> ps5bridge.dll ─ Remote Play (LAN) ─> PS5
Agent (MCP) ──┘ 127.0.0.1:8765 │ (libchiaki)
mcp_server.py ├─ ddp.py find / wake the PS5 (UDP 9302)
└─ psn.py library, store, presence (psnawp)server.pyowns the single Remote Play session. The page and the agent share it, so they never fight over the console.native/ps5bridge.dllis chiaki-ng's protocol library (libchiaki) plus a small C API (native/bridge.c). chiaki-ng tracks PS5 firmware changes, so this keeps working as Sony updates the console.ps5native.pydrives the DLL from Python and decodes the H.264 video with PyAV, keeping only the newest frame for screenshots.mcp_server.pyis the agent side. It is a thin client of the server.
Everything stays on your computer and your home network. The server listens on 127.0.0.1 only. The only internet calls are PSN lookups to Sony.
Safety
Agents can't buy things on their own. The agent instructions forbid completing any purchase, pre-order or subscription without asking you. For a hard stop, turn on Require password at checkout on the PS5 (how). The agent never has your password.
Agents are also told not to change settings, delete games or saves, or accept new terms without asking.
~/.ps5-remote/consoles.jsonand.env.localhold the keys that let this computer control your PS5 and read your PSN account. Treat them like passwords and don't share them.
Known limits
Video apps hide the picture. While YouTube, Netflix, Tubi and similar apps are on screen, the PS5 sends Remote Play a black picture on purpose (protected content). Buttons still work. The page and the agent tools tell you when this happens, and Home brings the picture back.
Download progress and system updates have no network API. Agents read them from the console screen (Control Center, Downloads).
One Remote Play session at a time. Opening the official PS Remote Play app or chiaki-ng disconnects this one.
No consoles with a login passcode yet. If your PS5 user has a passcode, connecting fails for now.
Linking a new console (the PIN step) with the native library has not been tested end to end on a second PS5 yet. Please open an issue if it fails for you.
License and credits
The server, web remote, agent tools, PSN code and docs are MIT. Use them however you like.
The native Remote Play engine (native/ sources, tools/build_native.py
and the released ps5bridge.dll) is AGPL-3.0, because it is built from
chiaki-ng's libchiaki, which is
AGPL-3.0. If you distribute a changed version of the engine, its source has
to stay open. See LICENSE, native/LICENSE-AGPL-3.0
and THIRD_PARTY.md.
Built on chiaki-ng's libchiaki, Mbed TLS, nanopb, Jerasure and gf-complete (native), and on psnawp, PyAV, aiohttp and the MCP Python SDK.
This server cannot be deployed
Maintenance
Related MCP Connectors
Generate AI video, images and audio, and browse your history, from any MCP client.
Drive WhatsApp from any MCP client: pair devices, send text and media, manage contacts and groups.
Remote MCP for Living Stack offer discovery and buyer-authorized checkout preparation.
Control Ration inventory, meals, meal plans, shopping lists, and credits from an MCP client.
Related MCP Servers
- FlicenseAqualityCmaintenanceEnables MCP clients to control Sony Bravia TVs over the local network, including power, HDMI inputs, apps, volume, and mute through the TV's JSON-RPC API.8-
- AlicenseAqualityBmaintenanceEnables control of OBS Studio via MCP, including media source playback, scene management, audio mixer adjustments, and screenshot capture, using OBS's WebSocket v5 protocol.32MIT
- AlicenseBqualityCmaintenanceLets MCP agents view and control a jailbroken PS5 over a locally running capture app, taking snapshots of live HDMI video and sending virtual DualSense input such as button presses, holds, stick and trigger moves, and timed sequences. It also supports launching, closing, installing, and uninstalling console titles, waiting on on-screen templates, and recording or replaying input sessions.2417MIT
- AlicenseBqualityBmaintenanceConnects MCP agents to a jailbroken console so they can watch live HDMI video and audio, press buttons through a virtual DualSense, launch or close games, install packages, transfer files, and run visual automation with snapshots and recordings. Multiple agents can share one console through a claim-and-queue system.28MIT