Fix MCP bridge script

Restore bridge.mjs build artifacts and update build script to include bridge.ts. Switch bridge to use StreamableHTTPClientTransport for better auth support.
This commit is contained in:
jjbrunton committed 2026-01-10 19:42:39 +00:00
1 parent b2925daf4f
commit 23a449fcca
2 files changed
+107 -4

No files matched your search

+5 -4
View File
@@ -4,7 +4,7 @@
"private": true,
"scripts": {
"dev": "tsx watch src/index.ts",
"build": "tsup src/index.ts --format esm --clean",
"build": "tsup src/index.ts src/bridge.ts --format esm --clean",
"start": "node dist/index.mjs",
"typecheck": "tsc --noEmit"
},
@@ -12,14 +12,15 @@
"@hono/mcp": "^0.1.1",
"@modelcontextprotocol/sdk": "^1.0.1",
"@supabase/supabase-js": "^2.45.0",
"dotenv": "^16.4.5",
"eventsource": "^4.1.0",
"hono": "^4.6.0",
"zod": "^3.23.0",
"dotenv": "^16.4.5"
"zod": "^3.23.0"
},
"devDependencies": {
"@types/node": "^22.0.0",
"tsx": "^4.19.0",
"tsup": "^8.2.4",
"tsx": "^4.19.0",
"typescript": "^5.5.0"
}
}