inkbridge 0.1.0-beta.25 → 0.1.0-beta.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/inkbridge.mjs +7 -0
- package/code.js +11 -11
- package/mcp/README.md +95 -0
- package/mcp/server.mjs +21313 -0
- package/package.json +3 -2
- package/src/main.ts +7 -71
- package/src/render-engine-version.ts +1 -1
- package/ui.html +2 -16
package/bin/inkbridge.mjs
CHANGED
|
@@ -459,6 +459,12 @@ switch (command) {
|
|
|
459
459
|
}
|
|
460
460
|
break;
|
|
461
461
|
}
|
|
462
|
+
case "mcp":
|
|
463
|
+
// The MCP server speaks JSON-RPC over stdio — stdout is the protocol
|
|
464
|
+
// channel, so this case must never write to stdout. Hand off to the
|
|
465
|
+
// prebuilt server bundle (built by build.mjs; SDK + zod inlined).
|
|
466
|
+
await import("../mcp/server.mjs");
|
|
467
|
+
break;
|
|
462
468
|
default:
|
|
463
469
|
console.log("Usage:");
|
|
464
470
|
console.log(" inkbridge setup Wire up scanner/token-patch routes (run once after install)");
|
|
@@ -467,5 +473,6 @@ switch (command) {
|
|
|
467
473
|
console.log(" --dry-run Print the plan without writing files");
|
|
468
474
|
console.log(" inkbridge path Print the manifest.json path for Figma Desktop");
|
|
469
475
|
console.log(" inkbridge skill install Install the AI development skill (maintainers only)");
|
|
476
|
+
console.log(" inkbridge mcp Start the design-system MCP server over stdio (for AI agents)");
|
|
470
477
|
break;
|
|
471
478
|
}
|