Codex CLI
codex mcp add dbterm -- dbterm mcp serveLocal MCP · no hosted database proxy
Point an MCP-capable agent at the dbterm already on your computer. It can inspect structure, answer focused data questions, and follow a person or record across declared relationships without receiving your saved credentials.
Install dbterm, then register one local command in your agent client.
codex mcp add dbterm -- dbterm mcp serveIn a graphical MCP client, choose STDIO, use dbterm as the command, and add mcp and serve as arguments. dbterm opens no network port and needs no API key in the client configuration.
list_connectionsList allowed saved profiles with every password and token omitted.
inspect_databaseDiscover schemas and tables before an agent writes SQL.
inspect_tableRead columns, primary keys, and declared foreign keys.
query_read_onlyRun one bounded read-only statement with a timeout and row cap.
explain_queryInspect a query plan without ANALYZE or data mutation.
follow_recordFollow one record through declared parent and child relationships.
save_connection_profileCreate or update a profile only after explicit opt-in in Settings.
An agent can draft write SQL for you to review in dbterm, but the MCP server will not execute it.
Agents can discover the public skill index, install Use dbterm, or read the compact LLM index and product overview. These files describe a local tool; they do not advertise a hosted API or remote access to your databases.