mcp-db-python

191341025/mcp-db-python

3.3

If you are the rightful owner of mcp-db-python 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.

MCP DB Python is a Python-based server for safe database inspection and read-only querying using the Model Context Protocol (MCP) over JSON-RPC.

Tools

Functions exposed to the LLM to take actions

listTables

List every table in the configured database.

getTableSchema

Fetch column metadata for a given table.

runQuery

Execute read-only SQL and return columns with rows.

getProcedureDefinition

Retrieve the CREATE statement of a stored procedure.

listDatabases

List accessible databases to navigate across schemas.

listViews

Enumerate views with definition snippets.

Prompts

Interactive templates invoked by user choice

No prompts

Resources

Contextual data attached and managed by the client

No resources