|
Some checks failed
Build native contracts CI image / Publish native contracts image (push) Has been cancelled
Bring the fork up to upstream v0.15.1 (637 commits). Conflicts resolved by re-targeting the W4C delta onto upstream's restructured code and dropping superseded changes: - i18n: upstream split dialogs.json per feature; re-added webFontLoadFailed to the new fonts.json in all locales. - automation: upstream moved the bridge into the MCP runtime and deleted EditorView.vue; re-added the served-build opt-in (?automation=1 / VITE_OPENPENCIL_AUTOMATION) with ?automationWs= and ?automationToken= via connectServedAutomation(), wired in WorkspaceView. - fonts: kept the /__font-proxy fetch wrapper on top of upstream's browserWebFontFetch and re-enabled the Google provider in the web build. - recovery/embed: kept auto-recover mode discarding snapshots (no dialog, no close prompt) and openFileReusingMatchingTab() for host pushes. - io/capability: folded the cross-origin subframe guard into supportsFileSystemAccess()/pickBrowserSaveFile(). - embed bridge installed from boot.ts; MCP browserToken/tcpHost re-applied. |
||
|---|---|---|
| .. | ||
| bin | ||
| src | ||
| tests | ||
| AGENTS.md | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
| tsdown.config.ts | ||
@open-pencil/mcp
Model Context Protocol server for OpenPencil. It lets MCP clients such as Claude Code, Cursor, and Windsurf inspect and edit designs through the running app, reusing the same tool definitions as the built-in AI chat.
npm install -g @open-pencil/mcp
openpencil-mcp # stdio transport for MCP clients
openpencil-mcp-http # Streamable HTTP transport for browser extensions and scripts
On macOS and Linux, local clients prefer a private Unix domain socket; Windows and unavailable sockets fall back to localhost TCP. File access is limited to the effective MCP root.
- Setup and client configuration: https://openpencil.dev/programmable/mcp-server
- Source and issues: https://github.com/open-pencil/open-pencil
MIT License.