mcp-generator
Verified Safeby fvanlanduyt
Overview
A web application that enables users to connect to various databases, analyze schemas with AI assistance (Claude), and generate Model Context Protocol (MCP) capabilities for use by MCP-compatible AI clients.
Installation
export ANTHROPIC_API_KEY=sk-ant-... && cd mcp-server && docker-compose up -dEnvironment Variables
- ANTHROPIC_API_KEY
- DATABASE_URL
- MCP_SERVER_BASE_URL
Security Notes
The application employs parameterized queries to mitigate SQL injection risks and uses environment variables or an internal settings store for the Anthropic API key. AI prompts are designed to encourage safe SQL generation (e.g., using WHERE clauses for UPDATE/DELETE). However, database connection strings, which can contain sensitive credentials, are stored in the application's local SQLite database without explicit encryption in the SQLAlchemy model (though the README states 'Encrypted'). If the application's database itself is compromised, these connection strings could be exposed. There are no obvious `eval` or malicious patterns found in the truncated source.
Similar Servers
consult-llm-mcp
An MCP server that allows AI agents like Claude Code to consult stronger, more capable AI models (e.g., GPT-5.2, Gemini 3.0 Pro) for complex code analysis, debugging, and architectural advice.
SageMCP
A scalable platform for hosting MCP servers with multi-tenant support, OAuth integration, and connector plugins for various services, deployed on Kubernetes.
claude-faf-mcp
Optimizes AI understanding of software projects by providing persistent context, fixing context-drift, and enabling bi-directional synchronization between project metadata and AI documentation.
mcp-mysql-server
Provides an MCP-compliant interface for AI models to securely interact with a MySQL database for CRUD operations, schema inspection, and performance analysis.