Back to Home
mokcontoro icon

simple_mcp_server

Verified Safe

by mokcontoro

Overview

A minimal MCP (Model Context Protocol) server providing echo and ping tools, designed for integration with ChatGPT using a custom OAuth 2.1 authorization server with Supabase for user authentication.

Installation

Run Command
uvicorn main:app --reload

Environment Variables

  • SUPABASE_URL
  • SUPABASE_ANON_KEY
  • SUPABASE_JWT_SECRET
  • SERVER_URL
  • JWT_SECRET

Security Notes

The server implements its own OAuth 2.1 authorization server with PKCE, which is a good security practice. User authentication is delegated to Supabase, enhancing security. However, access tokens and authorization codes are stored in-memory, making them non-persistent across server restarts, which is a functional limitation (not a direct security vulnerability, but impacts session management). The CORS policy is highly permissive ('*'), which is common for AI integrations but broad. There are no obvious 'eval' or similar dangerous functions, nor hardcoded secrets beyond environment variable defaults.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassLow
Avg Tokens20
Stars0
Forks0
Last Update2025-12-12

Tags

MCPFastAPIOAuthSupabaseChatGPTAPIEcho