my-mcp-stdio-server
0
This project demonstrates building a Model Context Protocol (MCP) server using Spring Boot to provide weather-related tools. It highlights auto-configuration, STDIO transport, and flexible tool registration.
Spring AI MCP Weather STDIO Server
A Spring Boot starter project demonstrating a Model Context Protocol (MCP) server providing weather tools via the National Weather Service API. Features include:
- Automatic MCP server component configuration
- Support for synchronous/asynchronous operations
- STDIO transport layer implementation
- Tool registration via Spring beans
Building and Running
- Use STDIO transport mode
- Follow standard Maven build steps
Available Tools
- Weather Forecast Tool: Provides detailed weather forecasts for specific coordinates.
- Weather Alerts Tool: Fetches weather alerts for US states.