Skip to content

Commit 084dd14

Browse files
maxandersengeoand
andcommitted
Update 2025-01-13-mcp-server.adoc
Co-authored-by: Georgios Andrianakis <[email protected]>
1 parent 46c0677 commit 084dd14

File tree

2 files changed

+8
-22
lines changed

2 files changed

+8
-22
lines changed

_posts/2024-01-29-ngrok.adoc

Lines changed: 0 additions & 20 deletions
This file was deleted.

_posts/2025-01-13-mcp-server.adoc

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,11 +164,17 @@ The forecast API requires a two-step process where we first get point metadata a
164164

165165
== Running the Server
166166

167-
To simplify deployment and development, we'll package the server as an uber-jar and enable file logging (since stdio is reserved for the MCP protocol):
167+
To simplify deployment and development, we'll package the server as an uber-jar. This makes it possible to `mvn install` and publish as a jar to a Maven repository which makes it easiier to share and run for us and others.
168168

169169
[source,properties]
170170
----
171171
quarkus.package.uber-jar=true
172+
----
173+
174+
Finally, we can optionally enable file logging as without it we would not be able to see any logs from the server as standard input/output is reserved for the MCP protocol.
175+
176+
[source,properties]
177+
----
172178
quarkus.log.file.enable=true
173179
quarkus.log.file.path=weather-quarkus.log
174180
----
@@ -199,7 +205,7 @@ image::claude-tools.png[Claude Tools Integration]
199205

200206
[NOTE]
201207
====
202-
You can also run the server directly withou using java - then it would be something like `java -jar <FULL PATH>/weather-1.0.0-SNAPSHOT-runner.jar`. We use JBang here because simpler if you want to share with someone who does not want to build the MCP server locally.
208+
You can also run the server directly without using java - then it would be something like `java -jar <FULL PATH>/weather-1.0.0-SNAPSHOT-runner.jar`. We use JBang here because simpler if you want to share with someone who does not want to build the MCP server locally.
203209
====
204210

205211
== Development Tools

0 commit comments

Comments
 (0)