DiagramPilot v0.2.9
DiagramPilot v0.2.9
Issue: MCP package, launch, resources, read tools, and prompts
Issue Version: 0.2.9
Tag: v0.2.9
npm: https://www.npmjs.com/package/diagrampilot/v/0.2.9
Public Website: https://diagrampilot.com
Summary
Add @diagrampilot/mcp as a public package and ship the alpha MCP server
foundation. The documented user launch path is diagrampilot mcp, with a
dedicated package-level executable for MCP clients that expect direct commands.
The server should expose resources for schema, docs, examples, discovered
sources, and check results; read tools for validation, repo workflow checks,
export, and render; and a small public prompt set for common DiagramPilot agent
workflows. The issue should also document maintainer setup for package
publishing, MCP client configuration, smoke validation, and release workflow
package lists.
Implementation Notes
- Added the public
@diagrampilot/mcpworkspace package with
diagrampilot-mcpas its package executable and wireddiagrampilot mcp
through the CLI package. - Implemented the alpha stdio MCP server with resource templates for schema,
docs, examples, discovered sources, and repo workflow check results. - Implemented read-only MCP tools for source validation, repo workflow checks,
text export, and SVG rendering. Render returns SVG text through MCP and does
not write files. - Added public MCP prompts for creating or updating sources, repairing
validation errors, and refreshing derived artifacts. - Added public docs,
llms.txt, README, website copy, release workflow docs,
package readiness coverage, and documentation-contract coverage for the MCP
package and launch paths. - Synced release metadata to
0.2.9. - Resolved the 30 listed Fallow duplicate fingerprints. Final duplicate report
check:active targets 0, with current duplicate percentage reduced to
8.425233644859812. - Added a narrow
.fallowrc.jsoncdependency exception for the intentional
published CLI dependency on@diagrampilot/mcp; the CLI imports it for
diagrampilot mcp, but Fallow does not connect that workspace package edge.
Validation Results
npm test
# pass: 226 tests
npm run check:package-readiness
# pass: 8 public packages
node packages/cli/dist/index.js mcp --help
# pass: prints DiagramPilot MCP server usage
git diff --check
# pass
npm run audit:fallow
# pass
npm run audit:fallow:changed
# pass