mcp-server-play
0
This project is a Model Context Protocol (MCP) server designed to provide weather data and local time information for specified locations using Rust programming. It features async Rust with tokio for a microservice architecture and uses the RMCP SDK.
MCP Server: Weather and Time Information Service
Project Overview
This project is a Model Context Protocol (MCP) server using the RMCP library, focusing on async programming in Rust with tokio and building extensible microservices.
Features
- Retrieve weather information for a specific city and country
- Get local time for any city and country
- Use of stdio-based communication and structured logging
Tools and Endpoints
Weather Information
- Endpoint:
get_weather
- Parameters:
city
,country
,unit
(optional,C
orF
)
Local Time
- Endpoint:
get_local_time
- Parameters:
city
,country
Prerequisites
- Rust and Cargo
- Just command runner
- API keys for WeatherAPI and IP Geolocation API