You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Paste the copied GitHub access token to the `Bearer Token` field and connect to the Quarkus MCP SSE server:
318
+
[NOTE]
319
+
====
320
+
Ensure that you have https://github.com/modelcontextprotocol/inspector/releases/tag/0.6.0[modelcontextprotocol/inspector] version 0.6.0 or later installed as it adds support for specifying bearer token authentication.
321
+
====
322
+
323
+
Navigate to the URL provided into a browser.
324
+
325
+
Change the _Transport Type_ dropdown to `SSE` and the _URL_ to `http://localhost:8080/mcp/sse` so that it targets the running Quarkus MCP Server:
326
+
327
+
Select the _Authorization_ button and paste the copied GitHub access token from the browser to the `Bearer Token` field and connect to the Quarkus MCP SSE server:
The SSE connection is created. Note the unique path in the received `data`, we need this path to invoke the tools.
358
367
We cannot invoke the tool directly, we first need to follow the MCP handshake protocol.
359
368
360
-
Open another window and use the same access token to initialize the curl as MCP client, and access the tool, using the value of the `data` property to build the target URL.
369
+
Open another terminal window and use the same GitHub access token to initialize the curl as MCP client, and access the tool, using the value of the `data` property to build the target URL.
361
370
362
371
Send the client initialization request:
363
372
@@ -429,7 +438,7 @@ where the `call.json` file has a content like this:
429
438
}
430
439
----
431
440
432
-
Now look at the SSE connection window and you will see the name from your GitHub account returned.
441
+
Now look at the terminal window containing the SSE connection and you will see the name from your GitHub account returned.
0 commit comments