Skip to content

Commit

Permalink
Revert the //Q:CONFIG change and update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mkouba committed Feb 26, 2025
1 parent 35e15ca commit 4a8e7ae
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
12 changes: 4 additions & 8 deletions devtools/stdio-sse-proxy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,15 @@ The application can be packaged using:
This builds a Quarkus uber-jar that can be run directly:

```shell script
java -jar target/quarkus-mcp-stdio-sse-proxy-1.0.0-SNAPSHOT-runner.jar --help
java -jar target/quarkus-mcp-stdio-sse-proxy-1.0.0-SNAPSHOT.jar --help
```

Shows the following help message:

```shell script
Usage: stdio-sse-proxy [-hV] [--[no-]reconnect] -e=<sseEndpoint> [-s=<sleep>]
[-t=<timeout>]
-e, --endpoint=<sseEndpoint>
The URI of the target SSE endpoint
Usage: stdio-sse-proxy [-hV] [--[no-]reconnect] [-s=<sleep>] [-t=<timeout>]
<sseEndpoint>
<sseEndpoint> The URI of the target SSE endpoint
-h, --help Show this help message and exit.
--[no-]reconnect If set to true then the proxy attempts to reconnect
if a message endpoint returns http status 400
Expand All @@ -49,9 +48,6 @@ or if you need a custom endpoint:
java -jar target/quarkus-mcp-stdio-sse-proxy-1.0.0-SNAPSHOT-runner.jar http://my.app/mcp
```
> [!IMPORTANT]
> The target SSE endpoint is mandatory.
## JBang
You can also run the proxy as a JBang script:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//usr/bin/env jbang "$0" "$@" ; exit $?
//DEPS io.quarkus.platform:quarkus-bom:3.18.3@pom
//DEPS io.quarkus:quarkus-picocli
//FILES application.properties=../../../../../../resources/application.properties
//Q:CONFIG quarkus.log.console.stderr=true
package io.quarkiverse.mcp.server.proxy;

import java.io.BufferedReader;
Expand Down

0 comments on commit 4a8e7ae

Please sign in to comment.