Back to Home
MacHu-GWU icon

mcp_ohmy_sql-project

Verified Safe

by MacHu-GWU

Overview

A Model Context Protocol (MCP) server that connects AI assistants to various SQL databases, providing intelligent query optimization, schema introspection, and secure, token-efficient data interaction.

Installation

Run Command
uvx --with mcp-ohmy-sql[sqlite,postgres,aws_redshift] mcp-ohmy-sql

Environment Variables

  • MCP_OHMY_SQL_CONFIG
  • AWS_ACCESS_KEY_ID
  • AWS_SECRET_ACCESS_KEY
  • AWS_SESSION_TOKEN
  • AWS_REGION
  • AWS_PROFILE

Security Notes

The server uses parameterized queries to prevent SQL injection. It implements configurable table filtering for access control. Sensitive database connection details (e.g., passwords, AWS credentials) are intended to be loaded from an external JSON configuration file via an environment variable (`MCP_OHMY_SQL_CONFIG`), not hardcoded in the application logic itself. Test configuration files contain example credentials, but these are for development environments.

Similar Servers

Stats

Interest Score32
Security Score9
Cost ClassLow
Avg Tokens200
Stars3
Forks1
Last Update2025-11-22

Tags

SQLDatabaseAILLMMCPSQLAlchemyRedshiftSchemaQuery Optimization