openpencil/packages/mcp/package.json
Danila Poyarkov 4ad90d4819 Add MCP server package with stdio and HTTP transports
29 tools: open_file, save_file, new_document + all 26 from @open-pencil/core.
Stdio for MCP clients (Claude Code, Cursor), HTTP (Hono + Streamable HTTP
with sessions) for scripts, browser extensions, CI.
Runs on both Bun and Node.js (via tsx).
2026-03-02 14:20:49 +03:00

34 lines
706 B
JSON

{
"name": "@open-pencil/mcp",
"version": "0.3.2",
"license": "MIT",
"type": "module",
"main": "./src/server.ts",
"bin": {
"openpencil-mcp": "./src/index.ts",
"openpencil-mcp-http": "./src/http.ts"
},
"files": [
"src"
],
"repository": {
"type": "git",
"url": "git+https://github.com/open-pencil/open-pencil.git",
"directory": "packages/mcp"
},
"publishConfig": {
"access": "public",
"provenance": true
},
"dependencies": {
"@modelcontextprotocol/sdk": "^1.25.2",
"@open-pencil/core": "workspace:*",
"canvaskit-wasm": "^0.40.0",
"hono": "^4.11.4",
"zod": "^3.25.0"
},
"devDependencies": {
"@types/node": "^22.0.0"
}
}