Persephone
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Persephone is a developer notepad with tabbed pages, specialized editors, and JavaScript/TypeScript scripting. GitHub: https://github.com/andriy-viyatyk/persephone
Use Persephone to display rich content to the user: code, diagrams, tables/grids, images, and web pages.
Start with call and no path to see the overview; follow its hints and node $help.
Use pages.logView.push(...) for output, rich results, and questions, e.g. push([{ type: "output.markdown", text: "# Done" }]); entry types are listed in guides["formats/ui-push"].
Create pages with pages.addEditorPage(...); assign pages[i].content to update text.
page and pages.activePage are the active work page even while a right-pinned page is open in a popover over it; pages.popoverPage identifies that popover page.
Open a web URL with pages.openUrlInBrowserTab(...), then use pages[i].editor.*.
Use window.screen.* for Persephone's own window and pages[i].editor.* for browser or board pages.
Run renderer code with script.execute(code); use main.script.execute(code) only when enabled.
For editor choices, start with guides.editors.index or guides.editors.<editor>; reading returns text for your use, while showing a guide means opening it — not copying its text into a new page — with pages.openUrl("persephone-guide://editors/<editor>") for an ordinary Markdown tab or pages["about-page"].editor.open("editors/<editor>") for the About guide browser next to the version card; for links JSON use guides.formats.<page> (the matching resources remain available as an alternative).
For boards, use boards.* and guides.agents.boards.index (a hub; its table lists the other pages); the persephone://guides/boards resource is the same hub.
For capability calls and provider/consumer guidance, use capabilities.$help and guides.agents.capabilities.index or persephone://guides/capabilities.
To add a language or fix a translation, follow guides.agents.languages; use guides.agents["languages-glossary"] when choosing terminology.
For Agent Tools, find registered tools with tools.search() and run one with tools.execute(id, args).
Clipboard history is unavailable: Not available on Linux. The clipboard node is unavailable.
For Persephone controls, start with guides.screens or guides.screens.index; for browser automation use guides.agents.browser. For a reusable model on a page without .app, read guides.agents["site-extensions"] or persephone://guides/site-extensions. The persephone://guides/* resources are the same files as guides.*.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| resources | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| callA | Persephone (developer notepad: tabbed pages, editors, scripting) — read or act on its live object model by PATH. Start with no path to see the overview; every result comes with a hint listing what is under it, so you can discover everything from here without any guide. Examples: (no path) → the overview: every top-level area, what it is for, and an example path path: "pages" → open pages (tabs), each with an index and id path: "page.content" → text of the active page path: "pages[0].content", value: "..." → replace a page's text path: "pages.showPage", args: [""] → activate a page path: "pages[0].editor.rowCount" → rows in a grid page path: "helpSearch", args: ["add rows"] → find where something lives path: "pages[0].$help" → long-form help for a node; safe on ANY path (a plain value returns its value, a method its signature) path: "windows" → all windows; prefix any path with windows[i]. to target one (default: the main window) path: "main" -> main-process diagnostics and gated scripting path: "main.script.execute" -> settings-gated main-process code execution windows[i].main is invalid: main is process-wide; use root path "main". Paths use the same names as the scripting API. Put method arguments in Optional tips may appear as separate non-blocking suggestions; they are not commands. A kind's member list is sent once per session, so a long session stops repeating it. Calling with NO path RESETS that memory as well as returning the overview — do it whenever you have lost the earlier hints (after a context compaction, for instance) and the member lists will be sent again. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| overview-guide | Persephone's mental model: windows, pages, editors, boards, and the call-based object model. Start here when the application is unfamiliar. |
| ui-push-guide | Log View reference: messages, dialogs, entry types, and examples for pages.logView.push and the script ui object. |
| pages-guide | Pages and windows reference: page properties, editor types, creating pages, and multi-window object-model paths. |
| scripting-guide | Scripting API reference: app objects, editor facades, TypeScript, and Node.js access for script.execute. |
| links-guide | Links editor reference: LinkItem JSON format, categories, and tags. |
| boards-guide | Boards authoring reference: board lifecycle, the execute channel, theme contract, local vendoring, and automation. |
| capabilities-guide | Capability registry reference: agent calls, provider and consumer APIs, resolution, and authorization. |
| agent-session-guide | Normative provider and consumer contract for streaming, resumable agent sessions over board service channels. |
| speech-transcribe-guide | Normative provider and consumer contract for speech transcription over board service channels. |
| speech-synthesize-guide | Normative provider and consumer contract for streamed speech synthesis over board service channels. |
| speech-wake-guide | Normative provider and consumer contract for enrolled wake and stop phrases over board service channels. |
| text-translate-guide | Normative provider and consumer contract for language detection, text/HTML translation, and explicit model downloads over board service channels. |
| languages-guide | Guide to adding a language pack, fixing a translation, updating a pack, and validating a board language. |
| languages-glossary-guide | Language pack glossary for approved terms and product or protocol names that stay English. |
| ai-vision-guide | AI Vision authoring reference: publish a board's or web page's own object model at pages[i].editor.app — descriptors, elements, highlight, refresh, and notify. |
| board-review-guide | Security review checklist for a board the user did not write: what trust grants, what to read and grep for, supply chain, and why runtime-downloaded code defeats the review. |
| tools-guide | Agent Tools registry reference: discovery and execution paths, the stdin JSON/result-marker contract, environment secrets, and self-repair. |
| ui-guide | Persephone screen catalogue and layout entry point: application chrome, stable selector guidance, and highlighting an element for the user. |
| ui-editors-guide | Editor catalog: what each Persephone editor is for, how to open it, and what it can do. |
| browser-guide | Browser automation reference: page targeting, snapshots, ref lifecycle, waiting, profiles, boards, and the app window. |
| site-extensions-guide | Site extension authoring workflow: study page structure, scaffold and write a model, follow the user-owned Trust step, reload, and verify. |
| full-api-guide | Complete API guide — all resources combined. Only read this if you need the full reference; prefer the focused guides above for specific tasks. |
TDQS
Scored across 1 tool
There is only one tool, so there is no tool-to-tool ambiguity. The path-based interface centralizes all actions under a single entry point, eliminating misselection between tools.
With a single tool named 'call', there is no possibility of inconsistent naming conventions across the set. The name is a simple verb and is used consistently by definition.
One tool is borderline thin by conventional MCP standards, but it is a deliberate universal path-based dispatcher covering an entire application. The count feels sparse, though the design is intentional and discoverable.
The path-based API exposes the full live object model, including pages, editors, scripting, and help. It supports reading, acting, method calls, and assignments, with built-in discovery hints, so no obvious domain gaps remain.