Skip to main content
Glama
qd313
by qd313

Decky Plugin Studio

VS Code / Cursor extension for Decky Loader plugin development: live in-IDE QAM preview, MCP tools for build/deploy/debug on a real Steam Deck, composited screenshots and screen recordings, and an agent pack for your plugin repo.

Live preview is very much beta. It is great for fast UI and RPC iteration, but focus, layout, Steam Input, and gamescope compositing still need on-device QA. See Preview limitations.

What you get

Feature

What it does

Live preview

QAM-sized webview with HMR, virtual gamepad, hardware simulator, Python sidecar for real main.py RPC

MCP tools

Agents and commands for deck.deploy, deck.captureScreenshot, deck.record, preview suite, tunnel/ingest

Composited capture

Screenshots and recordings that include QAM + your plugin UI (not raw game-only kmsgrab)

Init Pack

Drops AGENTS.md, Cursor/VS Code MCP config, skills, and optional scripts/ into your plugin repo

Create New Plugin

Clones decky-plugin-template, renames boilerplate, runs Init Pack

Related MCP server: DiscordMCP

Install

  1. Download the latest .vsix from GitHub Releases

  2. ExtensionsInstall from VSIX…

  3. Reload the editor

The status bar (bottom-right) shows the installed version, preview/tunnel state, and ingest count.

Quick start

1. Open a plugin workspace

Any folder with plugin.json and main.py. This repo includes example-plugin/ for smoke testing.

2. Configure your Deck (remote dev)

Use MCP deck.configure or create .env in your plugin repo:

DECK_IP=192.168.x.x
DECK_USER=deck

Deck credentials are also stored under ~/.config/decky-plugin-studio/deck.env when using MCP configure.

3. Init Pack

Command Palette → Decky: Init Pack

Copies agent guidance, MCP config, skills, and optional scripts (record-deck, screenshot-deck, preview suite).

4. Open preview (beta)

Command Palette → Decky: Open Preview

  • Edit src/ → Vite HMR in the QAM frame

  • Edit main.py → Python sidecar restarts with preserved state

Do not ship based on preview alone — deploy to a Deck for focus and layout bugs.

5. Day-to-day loop

preview (fast UI) → plugin.build → deck.deploy → on-device QA

Task

How

Build plugin zip

MCP plugin.build or your pnpm run build

Deploy to Deck

MCP deck.deploy or Decky: Deploy to Deck

Screenshot (QAM + plugin)

MCP deck.captureScreenshot — open QAM + plugin first

Screen recording

MCP deck.record — open QAM + plugin before/during capture

Debug logs from Deck

deck.startTunneldeck.probeIngest / deck.tailIngest

Agent automation

See MCP tools

Artifacts land in your plugin workspace: screenshots/, recordings/.

6. MCP in Cursor / VS Code

After Init Pack, your plugin repo’s mcp.json points at the extension’s MCP server. Tools are documented in docs/MCP_TOOLS.md.

Example agent flows:

  • deck.configureplugin.builddeck.deploydeck.captureScreenshot

  • preview.startpreview.runSequence for smoke tests

  • deck.record with { seconds: 15, mode: "game", quality: "compressed" }

Capture prerequisites

For game mode screenshots and recordings:

  1. Deploy your plugin (deck.deploy)

  2. Open QAM on the Deck

  3. Open your plugin panel and keep it visible during capture

Recordings use composited pipewire-gamescope (game) or wf-recorder (desktop). They fail closed if only game-plane capture would succeed — unless you pass allowNonPluginUi: true.

Optional: deck.installCaptureHelper installs studio-record / studio-capture to ~/.local/bin on the Deck.

Developing this extension

  • Branch model: feature work on develop → merge to main with a version bump in extension/package.json → CI publishes a GitHub Release + VSIX

  • Build locally: docs/DEVELOPMENT.md

More documentation

License

Apache-2.0 — see LICENSE and NOTICE.

F
license - not found
-
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
1Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/qd313/decky-plugin-studio'

If you have feedback or need assistance with the MCP directory API, please join our Discord server