flowpad-mcp-local 0.1.0

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.
Files changed (3) hide show
  1. package/README.md +30 -0
  2. package/dist/index.js +116 -0
  3. package/package.json +31 -0
package/README.md ADDED
@@ -0,0 +1,30 @@
1
+ # flowpad-mcp-local
2
+
3
+ The **local (stdio)** Flowpad MCP server — run it on your own machine to connect
4
+ Claude Desktop / Cursor / Claude Code to your Flowpad canvas.
5
+
6
+ ```jsonc
7
+ // Claude Desktop config
8
+ "flowpad": {
9
+ "command": "npx",
10
+ "args": ["-y", "flowpad-mcp-local"],
11
+ "env": { "FLOWPAD_API_KEY": "fp_live_…" }
12
+ }
13
+ ```
14
+
15
+ Want zero install? Use the **hosted** transport instead — just a URL, no Node needed.
16
+
17
+ ## How it's built
18
+
19
+ This package has **no logic of its own**. It imports `@flowpad/mcp`'s `createServer`
20
+ + `FlowpadClient`, attaches a stdio transport, and esbuild-bundles the whole tree
21
+ (`flowpad-mcp` + `flowpad-core`) into one self-contained, minified file. Single source
22
+ of truth — nothing to drift, and the private packages are inlined (never shipped as
23
+ resolvable dependencies).
24
+
25
+ ## Releasing
26
+
27
+ ```bash
28
+ yarn build # → dist/index.js (bundled + minified, self-contained)
29
+ npm publish # manual release (public; files:["dist"] ships only the bundle)
30
+ ```