Commit Graph

8 Commits

Author SHA1 Message Date
David Soria Parra
2dc1a34b75 update 2025-05-29 12:04:52 +01:00
cliffhall
3894d236c0 * In src/everything/sse.ts and streamableHttp.ts
- Replace console.log with console.error throughout
* In src/everything/sse.ts
  - remove the process.exit() in the server.onclose handler so reconnections are possible
2025-05-15 14:13:15 -04:00
cliffhall
e30f30868f Update server-everything to use the latest version of the SDK
* In sse.ts & streamableHttp.ts
  - change console.log to console.error
2025-05-06 10:27:49 -04:00
cliffhall
f93911607b Update server-everything to allow choosing the transport on the command line.
# Run the default (stdio) server
```npx @modelcontextprotocol/server-everything```

# Or specify stdio explicitly
```npx @modelcontextprotocol/server-everything stdio```

# Run the SSE server
```npx @modelcontextprotocol/server-everything sse```

# Run the streamable HTTP server
```npx @modelcontextprotocol/server-everything streamableHttp```

* In src/everything/index.ts
  - refactor/extracted contents to stdio.ts
  - replaced with code that
    - Gets the single argument from the commandline as scriptName
    - switches on scriptName
    - imports the appropriate server script or outputs usage options
  - scripts run on import

* In src/everything/stdio.ts
  - added console log "Starting default (STDIO) server..."

* In src/everything/sse.ts
  - added console log "Starting SSE server..."

* In src/everything/streamableHttp.ts
  - added console log "Starting Streamable HTTP server..."

* This fixes #1594
2025-05-05 13:09:38 -04:00
Shiv Deepak Muddada
e70bcd317b remove json middleware from everything streamable http server 2025-04-22 19:51:16 -07:00
Shiv Deepak Muddada
d1d79444f7 fix: passing body to handleRequest, and optionally adding a response id if it exists 2025-04-22 19:32:07 -07:00
Shiv Deepak Muddada
03e9a7be0d ref: cleanup 2025-04-22 19:32:03 -07:00
Shiv Deepak Muddada
07af15945d add streamableHttp server support for everything server 2025-04-22 19:27:00 -07:00