MCP-SQL

judyfang0108/MCP-SQL

3.1

If you are the rightful owner of MCP-SQL and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.

A Model Context Protocol (MCP) server that supports both PostgreSQL and MySQL databases, providing a unified interface for database exploration and querying.

Tools

Functions exposed to the LLM to take actions

server_info

Get server and database information.

db_identity

Get current database identity details.

query

Execute SQL queries (legacy).

run_query

Execute SQL queries with typed input.

list_schemas

List all schemas/databases.

list_tables

List tables in a schema.

describe_table

Get table structure information.

get_foreign_keys

Get foreign key relationships.

find_relationships

Find explicit and implied table relationships.

Prompts

Interactive templates invoked by user choice

No prompts

Resources

Contextual data attached and managed by the client

No resources