python-webapp-base
Verified Safeby ursweiss
Overview
An AI-powered development monitoring and debugging server for FastAPI applications, providing real-time insights into application health, logs, errors, and performance metrics to AI assistants like GitHub Copilot.
Installation
python -m mcp_server.serverEnvironment Variables
- SECRET_KEY
- DEBUG
- LOG_LEVEL
- ENABLE_MCP_DEV_MODE
Security Notes
The server is explicitly designed for development and includes features like `SECRET_KEY` validation for production. It uses file-based IPC (`.dev/` directory) and `os.kill` for application control, which are privileged operations. While these could be risks in a production context, the project clearly states it's for development only and is excluded from Docker builds. Potential risks include malicious regex patterns via AI-provided input to log search tools, or PID manipulation for `restart_app` if the `.dev/state.json` file could be tampered with. However, these are mitigated by its confined development-only scope.
Similar Servers
mcp-fastmcp-starter
Provides a minimal, production-minded MCP-shaped tool server for building agentic AI services with typed tool contracts and deterministic JSON I/O via FastAPI.
ai-mcp-server-base
Provides a base server for building AI Microservice Orchestration applications using FastMCP and FastAPI, featuring tools and resources for AI agents.
mcp-server-FastMCP-FastAPI-MCP
The server demonstrates Model Context Protocol (MCP) implementations, providing tools for arithmetic calculations and searching FreeCodeCamp news and YouTube feeds via STDIO and HTTP transports.
mcp-server-demo
Demonstrates an MCP (Multi-Agent Communication Protocol) server using the FastMCP 2.0 framework, exposing tools, resources, and prompts via an HTTP API.