mcp-server-demo
Verified Safeby Alan-Chen-au
Overview
Demonstrates an MCP (Multi-Agent Communication Protocol) server using the FastMCP 2.0 framework, exposing tools, resources, and prompts via an HTTP API.
Installation
uv run fastmcp_quickstart.pyEnvironment Variables
- PORT
Security Notes
The server enables CORS for all origins (`allow_origins=["*"]`). While this is stated as being for an 'MCP Inspector' and for a 'Demo', it presents a security risk (e.g., CSRF/XSS) if deployed in a production environment without proper upstream security measures. No other critical vulnerabilities like `eval` or hardcoded secrets were found.
Similar Servers
my-mcp-server
This server exposes an AI-centric microservice API using the MCP protocol, providing tools, resources, and prompt templates.
MCP-Servers-using-Python
Demonstrates how to build Model Context Protocol (MCP) servers using `fastmcp` and `fastapi_mcp` libraries through various examples.
mcp_hello_server
Minimal MCP-style server implemented with FastAPI for demonstrating and extending Model Context Protocol interactions.
mcp-server
Integrates AI applications with Google Calendar by exposing calendar functionalities as MCP tools, resources, and prompts.