Back to Home
Gnanesh09 icon

mcp-server-with-authentication

Verified Safe

by Gnanesh09

Overview

This server provides authenticated API endpoints for a 'Notes app' using the FastMCP framework, leveraging Stytch for bearer token authentication.

Installation

Run Command
python backend/main.py

Environment 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

Stats

Interest Score0
Security Score4
Cost ClassLow
Stars0
Forks0
Last Update2025-11-30

Tags

APIAuthenticationMicroservicePythonFastMCP