ph_mcp_server
Verified Safeby WidgetA
Overview
Provides Product Hunt, GitHub Trending, and US tech stock data to AI assistants via an HTTP JSON-RPC server following the Model Context Protocol (MCP).
Installation
./run.shEnvironment Variables
- SUPABASE_URL
- SUPABASE_KEY
- GITHUB_SUPABASE_URL
- GITHUB_SUPABASE_KEY
- POSTGRES_HOST
- POSTGRES_PORT
- POSTGRES_DB
- POSTGRES_USER
- POSTGRES_PASSWORD
- PRODUCTS_TABLE
- REPORTS_TABLE
- GITHUB_REPORTS_TABLE
- STOCK_TABLE
- MCP_SERVER_PORT
- MCP_SERVER_HOST
Security Notes
The server uses environment variables for all sensitive configurations (database URLs, API keys, credentials), preventing hardcoded secrets. Database queries within `SupabaseService` leverage the `supabase-py` client's methods (e.g., `.eq()`, `.ilike()`) which are generally safe against SQL injection for input values. `StockService` uses `psycopg2` with parameter binding (`%s`) for user-controlled values, which is secure. Table and schema names are interpolated via f-strings from environment variables, which is acceptable as these are controlled server-side settings, not direct user input. No `eval` or suspicious dynamic code execution is observed. The deployment instructions suggest running on port 8080 and require external infrastructure (e.g., reverse proxy) for HTTPS in production, which is a standard and secure practice.
Similar Servers
firecrawl-mcp-server
Provides web scraping, crawling, search, and structured data extraction capabilities to AI models via the Model Context Protocol.
github-stars-contributions-mcp
An MCP server that allows AI assistants to manage GitHub Stars contributions and profile links through natural language interaction.
openwebui-tool-server
Provides a unified API endpoint for various tools (calculator, multiple web search engines, webpage content extraction) that can run in either OpenAPI or MCP (Multi-Modal Communicative Protocol) mode.
mcp_server_trending
Aggregates trending content and data from a multitude of online platforms (e.g., GitHub, Hacker News, Product Hunt, AI tools, academic papers, job boards) for AI assistants and indie developers.