Back to Home
YashMakan icon

fastmcp

Verified Safe

by YashMakan

Overview

Build fast, declarative, and type-safe servers implementing the Model Context Protocol (MCP) in Dart.

Installation

Run Command
dart run lib/main.dart

Security Notes

The framework leverages build-time code generation (`fastmcp_generator`) to create type-safe argument parsing, handler wrappers, and robust error handling with `try-catch` blocks. This design inherently reduces common runtime vulnerabilities associated with dynamic input processing. No use of 'eval' or similar dangerous dynamic code execution patterns are present in the provided source. Network transports (e.g., HTTP) would still require standard security practices (e.g., authentication, authorization, rate-limiting) for the deployed application, but the framework itself promotes a secure foundation. Recent updates mention support for OAuth and security schemes, indicating active security considerations.

Similar Servers

Stats

Interest Score35
Security Score9
Cost ClassLow
Stars3
Forks0
Last Update2025-11-26

Tags

MCPDartServer FrameworkCode GenerationBackend