mcp-server-with-authentication
Verified Safeby Gnanesh09
Overview
This server provides authenticated API endpoints for a 'Notes app' using the FastMCP framework, leveraging Stytch for bearer token authentication.
Installation
python backend/main.pyEnvironment Variables
- STYTCH_DOMAIN
- STYTCH_PROJECT_ID
Security Notes
CORS is configured with `allow_origins=["*"]`, `allow_credentials=True`, `allow_methods=["*"]`, and `allow_headers=["*"]`. While this might be convenient for local development, it is highly insecure for production environments and creates a critical vulnerability if deployed as-is, as it allows any origin to make credentialed requests. The use of environment variables for Stytch credentials is a good practice.
Similar Servers
pymcp
A template MCP server for demonstrating various tools, resources, and prompts using the FastMCP framework in Python.
pulse-tm
Pulse is a terminal-based task manager designed for developers to manage projects and tasks, offering CLI, TUI, and seamless integration with AI agents via the Model Context Protocol (MCP).
MCPTesting
A Python project designed for testing or developing components related to an MCP (likely Minecraft Coder Pack) server.
mcp_server
This repository appears to be a placeholder or initial setup for a server application, specifically named 'mcp server', but no functional code is provided.