An MCP server for SQL database connectivity
Wellknown found it in public sources; nobody has proven control of it yet. Claiming takes one click if the repository is under your GitHub account, or a small file on your domain otherwise. Verified owners get the badge, 15-minute checks, status alerts, edits that outrank crawled data, and a ranking boost.
Agents can do it too: POST https://wellknown.network/api/v1/claims with {"agent":"sql-connector-mcp","method":"well_known_file"} — machine-readable steps at claim.json, guide at /docs/claim.
Everything here was measured by our prober or read from a registry. Nothing is self-reported.
Attributed to the source that supplied each field. Treated as claims, not facts.
# SQL Connector MCP An MCP (Model Context Protocol) server that provides SQL database connectivity for AI assistants like Claude. ## Features - **Database Exploration**: List all table names or filter tables by substring - **Schema Inspection**: Get detailed schema definitions including columns, types, primary keys, and foreign key relationships - **Query Execution**: Execute SQL queries with parameterized inputs and formatted results - **Form Fetching**: Retrieve form schemas from database based on trigger keywords ## Installation ```bash pip install sql-connector-mcp ``` ## Configuration Set the following environment variables: ```bash # Required: Database connection URL DB_URL=mysql://user:password@host:port/database # Optional: Maximum characters for query results (default: 4000) EXECUTE_QUERY_MAX_CHARS=4000 # Optional: Path for saving full result sets CLAUDE_LOCAL_FILES_PATH=/path/to/files ``` ## Usage Run the MCP server: ```bash python -m sql_connector_mcp.server ``` Opens the caldue code or cursor or any ai ide and add this json "my_database": { "command": "python", "args": ["-m", "sql_connector_mcp.server"], "env": { "DB_URL": "your dbatabase url" } ## Available Tools | Tool | Description | |------|-------------| | `all_table_names()` | Returns all table names in the database | | `filter_table_names(q)` | Returns table names containing the substring `q` | | `schema_definitions(table_names)` | Returns schema and relationship info for specified tables | | `execute_query(query, params)` | Executes a SQL query and returns formatted results | | `fetch_form(query_text, db_name)` | Fetches form schema based on trigger keywords | ## Requirements - Python >= 3.7 - SQLAlchemy - PyMySQL - FastMCP ## License MIT License ## Author Battula Anil Kumar (anilkumarbaatula@gmail.com)
Mapped onto the structured taxonomy from declared text and observed tool names. Confidence shown for derived entries.
Every source is kept verbatim. Field changes are logged as events.