Quarkus based MCP to get weather info
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"mcp-server-quarkus": {
"command": "<see-readme>",
"args": []
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
No automated test available for this server. Check the GitHub README for setup instructions.
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
No package registry to scan.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in developer-tools
Manage Supabase projects — databases, auth, storage, and edge functions
XcodeBuildMCP provides tools for Xcode project management, simulator management, and app utilities.
A Model Context Protocol (MCP) server and CLI that provides tools for agent use when working on iOS and macOS projects.
Asynchronous coordination layer for AI coding agents: identities, inboxes, searchable threads, and advisory file leases over FastMCP + Git + SQLite
MCP Security Weekly
Get CVE alerts and security updates for Mcp Server Quarkus and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
A Quarkus-based Model Context Protocol (MCP) server that provides weather information using the National Weather Service API.
Model Context Protocol (MCP) is a standardized protocol that allows AI models to discover and use external tools. This project implements an MCP server that provides weather forecast and alert tools that can be called by AI models or other MCP clients. The server uses the Quarkiverse MCP Server extension to expose tools as a standard MCP API, making it easier for AI systems to access real-time weather data.
This server provides two main tools:
{
"name": "getAlerts",
"arguments": {
"state": "CA" // Two-letter US state code
}
}
{
"name": "getForecast",
"arguments": {
"latitude": 37.7749, // Latitude coordinate
"longitude": -122.4194 // Longitude coordinate
}
}
Weather.java``@ToolWeatherClient.javaWeatherFormatter.java# Build and package as uber-jar
./mvnw package
java -jar target/mcp-server-1.0.0-SNAPSHOT-runner.jar
This project is configured to work with JBang for easy execution. The application.properties includes configuration to build an uber-jar that can be run with JBang:
# Build the uber-jar
./mvnw package
# Run with JBang
jbang org.devgurupk:mcp-server:1.0.0-SNAPSHOT:runner
This MCP server is secured using OAuth 2.1 with Keycloak as the identity provider. It supports both static clients (like Postman) and Dynamic Client Registration (for tools like JetBrains AI Assistant).
Start Keycloak:
docker compose up -d
Start the MCP Server:
mvn quarkus:dev
Keycloak Admin: http://localhost:8180 (admin/admin)
testuserpasswordThis server supports OAuth 2.0 Dynamic Client Registration, enabling MCP clients like JetBrains AI Assistant and Claude Desktop to automatically register themselves with Keycloak.
Tested with:
/.well-known/oauth-protected-resourceConfigure Postman's Authorization tab with these settings:
| Setting | Value |
|---|---|
| Type | OAuth 2.0 |
| Grant Type | Authorization Code (With PKCE) |
| Auth URL | http://localhost:8180/realms/mcp-realm/protocol/openid-connect/auth |
| Token URL | http://localhost:8180/realms/mcp-realm/protocol/openid-connect/token |
| Client ID | mcp-server |
| Code Challenge Method | SHA-256 |
| Scope | openid |

Steps:
testuser / passwordhttp://localhost:8080/mcp/sseYou can use the Model Context Protocol Inspector to test and interact with the MCP server: `