floyd-mcp-server
Floyd is an MCP server designed to provide up-to-date weather information and decide the safety of application deployment based on weather conditions. It integrates seamlessly with VS Code and supports interactions through natural language queries for user convenience.
Floyd Weather & Deployment MCP Server
Floyd is a Model Context Protocol (MCP) server that provides weather information and deployment safety decisions. The server allows you to interact with it through natural language and ask about weather conditions in any city around the world.
Features
- Weather Information: Get current weather conditions for any city in the world.
- Deployment Safety: Check if it's safe to deploy your application to a server in a specific city.
- Deployment Execution: Deploy your application to a server in a specific city if conditions are safe.
Safety Rules
Floyd follows these rules to determine if it's safe to deploy:
- Deployment is only considered safe between 9 AM and 5 PM local time at the target location.
- Weather conditions must be clear and/or sunny for deployment to be considered safe.
Usage
You can interact with Floyd using natural language queries like:
- "What's the weather like in Paris, France?"
- "Is it safe to deploy to Tokyo, Japan?"
- "Deploy to San Francisco, USA"
Temperature Units
Floyd automatically uses the appropriate temperature unit based on location:
- Fahrenheit (°F) for cities in the USA
- Celsius (°C) for cities in all other countries
Development
This project is built with TypeScript and uses the Model Context Protocol SDK.
Setup
# Install dependencies
npm install
# Build the project
npm run build
# Start the server
npm start
VS Code Integration
The server is configured to work as a VS Code MCP server. Once you've built the project, you can use it within VS Code.