Back to Home
vicsante-aseniero icon

mcp-server-template-rust

Verified Safe

by vicsante-aseniero

Overview

This server provides weather alerts and forecasts via the Model Context Protocol (MCP) using HTTP transport, serving as a template for building MCP servers in Rust.

Installation

Run Command
cargo run

Environment Variables

  • RUST_LOG

Security Notes

The server uses `CorsLayer::permissive()` which allows requests from any origin, posing a significant security risk for production environments. There is no built-in authentication or rate limiting. These issues are explicitly noted in the project's `ANALYSIS.md` as areas for improvement. However, Rust's memory safety and type safety mitigate many common vulnerabilities, and there are no signs of 'eval', obfuscation, hardcoded secrets, or malicious patterns in the code.

Similar Servers

Stats

Interest Score0
Security Score6
Cost ClassLow
Avg Tokens350
Stars0
Forks0
Last Update2025-12-10

Tags

MCPWeatherRustHTTPAPI