Back to Home
mo-mostafa-123 icon

fastestmcp

by mo-mostafa-123

Overview

Framework and CLI tool for rapidly generating and developing modular MCP (Model Context Protocol) servers and clients, with capabilities for API integration, code generation, and component-based development.

Installation

Run Command
cd docs/demos/demo_server && python main.py

Environment Variables

  • MCP_TRANSPORT
  • API_KEY
  • PORT
  • DEBUG
  • MAX_CONNECTIONS
  • TIMEOUT

Security Notes

`eval()` is used in a demo script (src/fastestmcp/demo.py) with an explicit warning about its dangers. A critical vulnerability exists in the `clone_git_repository` tool (src/server/stdio/app/tools.py), which allows a client to specify an arbitrary `target_directory`. This enables cloning a repository into any writable location on the server's file system, potentially leading to arbitrary file writes, overwriting system files, or placing executable code, if the server is exposed to untrusted input. Hardcoded 'demo-token' for authentication is present in `src/server/stdio/app/auth.py` for demonstration purposes.

Similar Servers

Stats

Interest Score32
Security Score2
Cost ClassMedium
Avg Tokens500
Stars2
Forks0
Last Update2026-01-19

Tags

MCPserverclientgeneratorCLIboilerplatePythonframeworkmodulartoolsresourcespromptssubscriptionsnotificationsAPI integrationcode generationdevelopmentLLM integrationOpenAPI