diff --git a/_posts/2024-01-29-ngrok.adoc b/_posts/2024-01-29-ngrok.adoc deleted file mode 100644 index d3149c53bf0..00000000000 --- a/_posts/2024-01-29-ngrok.adoc +++ /dev/null @@ -1,20 +0,0 @@ ---- -layout: post -title: 'ngrok: Expose your local services to the Internet' -date: 2024-01-29 -tags: development-tips -synopsis: 'ngrok is a tool that allows you to expose your local services and the Quarkus integration have some recent updates.' -author: maxandersen ---- -:imagesdir: /assets/images/posts/ngrok - -Imagine you are working on a Zulip chatbot or GitHub integration or some other Quarkus application that uses webhooks to call into your application. How do you test that locally? - -You need to somehow expose your local service to the internet so that the webhook can be (pun intended) hooked in. There are various options out there like ultrahook, localtunnel, and ngrok. - -In this post, we will look at ngrok and how you can use it with Quarkus. - -https://ngrok.com[ngrok] is a local running agent that via a cloud service allows you to expose your local services to the internet. - - - diff --git a/_posts/2025-01-13-mcp-server.adoc b/_posts/2025-01-13-mcp-server.adoc index 923ed025dd1..a1eed811e34 100644 --- a/_posts/2025-01-13-mcp-server.adoc +++ b/_posts/2025-01-13-mcp-server.adoc @@ -164,11 +164,17 @@ The forecast API requires a two-step process where we first get point metadata a == Running the Server -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): +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. [source,properties] ---- quarkus.package.uber-jar=true +---- + +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. + +[source,properties] +---- quarkus.log.file.enable=true quarkus.log.file.path=weather-quarkus.log ---- @@ -199,7 +205,7 @@ image::claude-tools.png[Claude Tools Integration] [NOTE] ==== -You can also run the server directly withou using java - then it would be something like `java -jar /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. +You can also run the server directly without using java - then it would be something like `java -jar /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. ==== == Development Tools