Persephone Boards for VS Code
Run Persephone boards in VS Code, and let AI agents drive VS Code through
one discoverable tool.
Boards are small HTML/JS apps, usually written by an AI agent in minutes: file viewers, report boards, a custom editor
for a file type, a dev-tool panel that runs your scripts. The same board folder runs in Persephone unchanged.

Features
- A Boards view in the Activity Bar lists the boards of your workspace (
.boards/<name>/ and the folders in
persephoneBoards.workspaceBoards) and of any folder in persephoneBoards.boardFolders. Open a not-yet-listed
board-manifest.json and VS Code offers to add its board to This Workspace or All Workspaces (nothing is copied).
- Open a board as an editor tab, or dock it in the sidebar or the bottom panel.
- A board with file masks (
*.todo, *.jsonl, ...) becomes the default editor of those files automatically (you can change
it with VS Code's own "Configure default editor"): for boards that edit the document text (editorKind: "content-host") VS Code keeps the file as a normal text document, so save, undo and hot exit work as usual; a plain board reads its file itself and opens binary files (.xlsx, .exe, .ttf, ...) in a read-only editor.
- Boards ask before they get anything privileged: files, running programs, network, VS Code control. You allow it
once per board, and Restricted Mode keeps workspace boards limited.
- Boards can declare their own settings, which you edit on a Board Settings page.
- AI agents get one tool, as the VS Code chat tool
persephone_call and as the MCP server persephone-vscode, that
covers commands, settings, editors, terminals, diagnostics and boards (create, open, debug, screenshot).
Your first board
A board is a folder with a manifest and an index.html:
.boards/hello-board/
board-manifest.json { "schemaVersion": 1, "name": "Hello Board", "author": "me", "minBridgeVersion": "1.30.0", "permissions": {} }
index.html your page; inline <style> and <script> are fine
board-base.css Persephone's shared base styles
The page talks to the host through window.persephone:
const count = (await persephone.storage.get('count')) ?? 0; // saved per board, survives reloads
persephone.notify(`Opened ${count + 1} times`);
await persephone.storage.set('count', count + 1);
Or ask your agent: "make a board that counts the TODO lines in the open file". It creates the folder, opens the board
and fixes it until it works.
Agents
- VS Code chat (Copilot): reference the tool with
#persephone. Turn on chat.extensionTools.enabled if models
don't see it.
- Claude Code, Codex and other MCP clients: run Persephone Boards: Set up MCP for Agents from the Command Palette,
then restart the agent session. The server is off until you run the command. It listens on
127.0.0.1 only, needs a
token, and each window serves its own workspace.
Calls run without a per-call confirmation: enabling the server is your grant, so enable it only for agents you trust. They are refused in Restricted Mode.
The gear in the Boards view header opens Persephone Boards: Settings. There you turn the MCP server on or off,
connect an agent, and manage board folders and editor associations.
Documentation
| Guide |
What it covers |
| Writing boards |
The folder, styling, the window.persephone API, boards as file editors, sidebar and panel views, moving a board to Persephone |
| Permissions |
What a board can ask for, the trust prompt, Restricted Mode, resetting grants |
| Board settings |
Declaring settings in the manifest and the Board Settings page |
| Files |
Reading, writing, listing and watching files; dialogs and scope |
| Running programs |
execute and executeNode, limits, and dev-tool boards |
| Network |
persephone.fetch, the internet and full modes, limits |
| Agent control |
The call tree, the MCP server, building boards with an agent, the isolated test instance |
| Development |
Building and testing the extension from source |
Agents read the same material from the tool itself (guides["boards"], guides["boards-api"]), so you rarely need to
paste docs into a chat. Working examples are in samples/workspace/.boards.
Requirements
VS Code 1.106 or newer. The MCP bridge uses node if it is on your PATH, and VS Code's own runtime otherwise. Local
windows only: remote, WSL and container windows are not supported by the MCP server.
About Persephone
Persephone is a developer notepad where boards started: tabbed pages,
specialized editors, scripting, a built-in browser and full agent control over MCP. Its boards can do more than VS Code
allows an extension to do. The board catalog has ready-made ones.
License
MIT