openpencil/packages/mcp
Danila Poyarkov 7a5f6b3707 Add MCP server integration tests (closes #19)
13 tests using InMemoryTransport from @modelcontextprotocol/sdk:
- Tool registration (all 76 tools listed with descriptions)
- new_document, open_file, save_file lifecycle
- Tool execution through MCP protocol (create, fill, delete, query)
- Error paths: no document loaded, nonexistent node, invalid file path
- Full workflow: new → create → nest → query → delete

Fix @open-pencil/core dep in MCP package: workspace:* for local dev
(pnpm publish resolves this to the actual version at publish time).
2026-03-02 21:07:25 +03:00
..
src Build MCP package to JS for Node.js bin compatibility 2026-03-02 14:42:15 +03:00
package.json Add MCP server integration tests (closes #19) 2026-03-02 21:07:25 +03:00
tsconfig.json Build MCP package to JS for Node.js bin compatibility 2026-03-02 14:42:15 +03:00