Back to Home
egg-breads icon

lookFor

Verified Safe

by egg-breads

Overview

This application functions as a Model Context Protocol (MCP) server, exposing tools for fetching weather forecasts and parking zone information, primarily intended for use by an AI agent.

Installation

Run Command
java -jar target/LookForApplication-0.0.1-SNAPSHOT.jar

Environment Variables

  • GOV_SHARE_API_HOST
  • GOV_SHARE_API_KEY
  • SERVER_PORT
  • SPRING_AI_MCP_SERVER_ENABLED
  • SPRING_AI_MCP_SERVER_SSE_MESSAGE_ENDPOINT
  • SPRING_AI_MCP_SERVER_NAME
  • SPRING_AI_MCP_SERVER_TYPE
  • SPRING_AI_MCP_SERVER_VERSION
  • SPRING_AI_MCP_SERVER_SSE_ENDPOINT

Security Notes

The `gov.share.api.key` is hardcoded directly in `application.yml` and also within the `findParkingZoneByCityName` method in `ParkingZoneServiceImp.java`. This is a significant security risk as secrets should never be hardcoded and instead loaded securely at runtime. The `SecureConfig` disables CSRF, form login, and basic auth, and permits all requests (`anyRequest().permitAll()`). While common for API-only servers expecting external authentication, it means the application itself provides no authentication layer for its endpoints. There's no explicit input validation on tool parameters (e.g., latitude/longitude, city names), which could lead to malformed requests to external APIs.

Similar Servers

Stats

Interest Score0
Security Score5
Cost ClassLow
Avg Tokens300
Stars0
Forks0
Last Update2026-01-04

Tags

MCP ServerSpring BootAI ToolingWeather APIPublic Data