Database-MCP

fenil210/Database-MCP

3.2

If you are the rightful owner of Database-MCP 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.

DB-MCP is a Python-based MCP server that enables AI agents to interact with SQL databases using natural language.

Tools

Functions exposed to the LLM to take actions

list_databases

Lists all configured databases.

get_schema

Retrieves database schema information.

execute_query

Executes SQL queries, limited to SELECT in read-only mode.

explain_query

Provides query execution plan without running the query.

get_table_sample

Returns a sample of table data.

Prompts

Interactive templates invoked by user choice

No prompts

Resources

Contextual data attached and managed by the client

No resources