flashport-mcp 0.0.0-stage → 0.1.3

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.
@@ -0,0 +1,36 @@
1
+ #!/usr/bin/env node
2
+ const { spawn } = require("child_process");
3
+ const path = require("path");
4
+ const fs = require("fs");
5
+
6
+ function findBinary() {
7
+ if (process.env.FLASHPORT_MCP_BIN && fs.existsSync(process.env.FLASHPORT_MCP_BIN)) {
8
+ return process.env.FLASHPORT_MCP_BIN;
9
+ }
10
+ const candidates = [
11
+ path.join(__dirname, "..", "flashport-mcp"),
12
+ path.join(__dirname, "flashport-mcp"),
13
+ path.join(__dirname, "..", "..", "flashport-mcp"),
14
+ ];
15
+ for (const c of candidates) {
16
+ if (fs.existsSync(c)) return c;
17
+ }
18
+ return "flashport-mcp";
19
+ }
20
+
21
+ const bin = findBinary();
22
+ const child = spawn(bin, [], { stdio: "inherit", env: process.env });
23
+ child.on("exit", (code, signal) => {
24
+ if (signal) process.exit(1);
25
+ process.exit(code ?? 0);
26
+ });
27
+ child.on("error", (err) => {
28
+ console.error("flashport-mcp: failed to start binary:", err.message);
29
+ console.error("");
30
+ console.error("Tried to run:", bin);
31
+ console.error("Fixes:");
32
+ console.error(" - Install: go install github.com/bigwalkdoe/flashport-mcp/cmd/flashport-mcp@latest");
33
+ console.error(" - Or set FLASHPORT_MCP_BIN to the full path of the flashport-mcp executable.");
34
+ console.error(" - Or download a release from: https://github.com/bigwalkdoe/flashport-mcp/releases");
35
+ process.exit(1);
36
+ });
package/package.json CHANGED
@@ -1,6 +1,30 @@
1
1
  {
2
2
  "name": "flashport-mcp",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.1.3",
4
+ "description": "Ephemeral MCP tunneling server for AI coding agents",
5
+ "bin": {
6
+ "flashport-mcp": "bin/flashport-mcp.js"
7
+ },
8
+ "files": [
9
+ "bin"
10
+ ],
11
+ "license": "MIT",
12
+ "repository": {
13
+ "type": "git",
14
+ "url": "https://github.com/bigwalkdoe/flashport-mcp"
15
+ },
16
+ "engines": {
17
+ "node": ">=20"
18
+ },
19
+ "keywords": [
20
+ "mcp",
21
+ "model-context-protocol",
22
+ "tunnel",
23
+ "tunneling",
24
+ "http",
25
+ "inspector",
26
+ "cloudflared",
27
+ "tailscale",
28
+ "ai-agents"
29
+ ]
30
+ }
package/README.md DELETED
@@ -1,3 +0,0 @@
1
- # Temporary Holding Version
2
-
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.