Commit e8e54a1
committed
Make MCP server browser-portable with a Web-standard handler
Replace the Hono-only Node handler with a Fetch-API handler that runs on
Node, Bun, Deno, Cloudflare Workers, and in-page Web Workers. Restructure
@eclipse-glsp/server-mcp into a browser/common/node split mirroring
@eclipse-glsp/server.
- New browser entry point with a Web Worker integration helper.
- VS Code web-extension bundle no longer transitively pulls Node-only deps.
- Mutating tools report dispatched-command counts for cross-call
undo / redo.
- Port-agnostic Host-header validation — matches the SDK's older
Express middleware that the Fetch transport regressed.
- Workflow example ships an end-to-end browser demo of the portable
handler.
- Non-loopback auth and shared session state remain adopter responsibility.
- ARCHITECTURE.md refreshed for the portable handler and for the IDE
integrations that now register the GLSP MCP server with the host IDE.
Part of eclipse-glsp/glsp#15461 parent bed0bb0 commit e8e54a1
110 files changed
Lines changed: 4238 additions & 1561 deletions
File tree
- examples
- workflow-server-bundled-web
- src
- workflow-server
- src
- browser
- common
- mcp
- node
- mcp
- packages/server-mcp
- src
- browser
- modules
- server
- common
- modules
- prompts/handlers
- resources
- handlers
- services
- server
- tools
- handlers
- util
- node
- modules
- server
- server
- static
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
22 | 25 | | |
23 | 26 | | |
24 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
17 | 43 | | |
18 | 44 | | |
19 | 45 | | |
| |||
0 commit comments