Back to Home
mosteligible icon

mcp-starter

Verified Safe

by mosteligible

Overview

A starter template for building Model Context Protocol (MCP) servers with FastMCP and FastAPI, providing configurable tools and resources.

Installation

Run Command
uvicorn mcp_starter.fastapi_fastmcp_server.main:app --host 0.0.0.0 --port 8000

Environment Variables

  • SERVER_NAME
  • AUTH_TOKEN
  • HOST
  • PORT
  • ENVIRONMENT
  • DEBUG
  • MCP_TRANSPORT

Security Notes

The default AuthMiddleware is a pass-through implementation with a 'TODO' for adding actual authentication logic. While an AUTH_TOKEN environment variable exists, it is not utilized in the provided default middleware. This means that, by default, the server does NOT enforce authentication, making it critically insecure for any sensitive use case without custom implementation of the AuthMiddleware.

Similar Servers

Stats

Interest Score0
Security Score2
Cost ClassLow
Stars0
Forks0
Last Update2025-12-21

Tags

mcpfastmcpfastapiapi-serverpython-sdk