MCP.so
登录

Weather Bridge MCP

@mm-camelcase

关于 Weather Bridge MCP

A Spring Boot implementation of the Model Context Protocol (MCP) that enables AI agents like GitHub Copilot to access weather data. Demonstrates building a custom MCP server that connects AI models to weather APIs through standardised tools, complete with VS Code integration exam

基本信息

分类

开发工具

传输方式

stdio

发布者

mm-camelcase

配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Weather Bridge MCP?

A Spring Boot implementation of the Model Context Protocol (MCP) that enables AI agents like GitHub Copilot to access weather data. It connects AI models to weather APIs through standardized MCP tools, complete with VS Code integration examples.

How to use Weather Bridge MCP?

Obtain an API key from a weather service, add it to application.properties, build and run the Spring Boot application. Then configure VS Code with the provided mcp.json and use GitHub Copilot agent mode to ask weather-related questions.

Key features of Weather Bridge MCP

  • Spring Boot implementation of the Model Context Protocol
  • Exposes weather data through MCP tools
  • Integrates with GitHub Copilot agent mode
  • Supports current weather and forecast queries
  • Uses SSE transport on /mcp/sse
  • Includes VS Code configuration example

Use cases of Weather Bridge MCP

  • Ask an AI assistant for the current weather in a city
  • Request a multi-day weather forecast for a location
  • Incorporate real-time weather data into AI-driven workflows
  • Demonstrate building a custom MCP server with Spring Boot

FAQ from Weather Bridge MCP

What does Weather Bridge MCP do?

It acts as a bridge between AI agents (like GitHub Copilot) and weather APIs, exposing weather data through standard MCP tools.

What are the dependencies and runtime requirements?

The server requires Java, Spring Boot, Spring AI MCP dependencies, and an API key from a weather service (e.g., OpenWeatherMap). The README uses Maven and Lombok.

How does the server transport work?

The server uses SSE (Server-Sent Events) transport on the /mcp/sse endpoint, configured via HttpServletSseServerTransportProvider.

How can I test Weather Bridge MCP with GitHub Copilot?

Run the server, configure VS Code with the provided mcp.json, activate GitHub Copilot agent mode, and ask questions like "What's the current weather in New York?".

Where does the weather data come from?

The server calls an external weather API (e.g., OpenWeatherMap) whose base URL and API key are configured in application.properties.

评论

开发工具 分类下的更多 MCP 服务器