quorum

v4.0.0
ai.quorumdb/quorum Checked 7 hours ago Published 1 month ago

Database tools for AI clients through the Quorum app: reads, masking, approved writes.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

quorum_list_connections List Quorum Connections

List all database connections configured in Quorum that are enabled for MCP access. Returns connection metadata (id, name, type, environment). Never touches passwords. Each connection says how a write is handled ("writes"), as the person set it in Quorum: - "with approval in Quorum": propose it with quorum_propose_write; it runs only after the person approves it in Quorum (on PROD they also type a confirmation). - "allowed writes run directly": allowed changes run through quorum_execute_query. - "refused (PROD)": writes on this PROD connection are refused; it can be read. - "none": the con…

quorum_get_schema Get Schema for Quorum Connection

Get the full schema tree for a database connection — tables, views, columns, types, and keys. Use quorum_list_connections first to get valid connection IDs. Args: - connection_id: UUID of the connection (from quorum_list_connections) Returns the schema tree as JSON.

ParameterTypeDescription
connection_id *stringConnection UUID from quorum_list_connections

quorum_execute_query Execute SQL via Quorum

Execute a SQL query against a Quorum database connection. Reads run in a read-only session; masked columns stay masked. For changes, use quorum_propose_write: a person approves them in Quorum. (Only when Quorum is set to run allowed writes directly does a write run here, and then UPDATE or DELETE without WHERE, PROD and CRITICAL writes, DDL and TRUNCATE off LOCAL, and writes on connections that need review, a ticket or a cool-down are refused.) Results are limited by the connection's row limit (configurable in Quorum). Args: - connection_id: UUID from quorum_list_connections - sql: SQL q…

ParameterTypeDescription
connection_id *stringConnection UUID from quorum_list_connections
sql *stringSQL query to execute
row_limitintegerMaximum rows to return (default: connection row limit)

quorum_list_saved_queries List Saved Queries

List saved queries from Quorum's query library. Useful for discovering pre-built queries that are known to work against a connection. Args: - connection_id: Optional — filter to queries saved for a specific connection

ParameterTypeDescription
connection_idstringFilter to a specific connection UUID

quorum_describe_table Describe a table

Columns, types, keys, row count and the team's descriptions for one table or view.

ParameterTypeDescription
connection_id *stringConnection UUID from quorum_list_connections
table *string
schemastringSchema or dataset; searched across all when left out

quorum_search_schema Search tables and columns

Find tables and columns whose name contains the text, across all MCP-enabled connections or one.

ParameterTypeDescription
text *string
connection_idstringConnection UUID from quorum_list_connections

quorum_sample_rows Sample rows from a table

Up to 100 rows from one table, read in a read-only session. Masked columns come back masked.

ParameterTypeDescription
connection_id *stringConnection UUID from quorum_list_connections
table *string
limitinteger
schemastring

quorum_explain_query Show a query plan

The database's plan for one read (EXPLAIN, never ANALYZE, so nothing runs). PostgreSQL, MySQL, SQLite, DuckDB, Snowflake, ClickHouse and H2.

ParameterTypeDescription
connection_id *stringConnection UUID from quorum_list_connections
sql *string

quorum_run_saved_query Run a saved query

Run one of the team's saved queries by name (reads only). Uses its own connection unless one is given.

ParameterTypeDescription
name *string
connection_idstringConnection UUID from quorum_list_connections
row_limitinteger

quorum_get_query_history Recent queries

Queries run in Quorum recently on MCP-enabled connections, newest first, with status, rows and timing.

ParameterTypeDescription
connection_idstringConnection UUID from quorum_list_connections
limitinteger

quorum_get_audit_log Write audit log

Recorded writes and refused writes on MCP-enabled connections: who, what, risk and rows affected.

ParameterTypeDescription
connection_idstringConnection UUID from quorum_list_connections
limitinteger

quorum_get_data_dictionary Data dictionary

The team's descriptions of tables and columns for one connection.

ParameterTypeDescription
connection_id *stringConnection UUID from quorum_list_connections

quorum_get_service_health Service health

Services from the observability provider set up in Quorum (Last9 or Datadog): health, p95 latency, error rate and traffic against last week.

ParameterTypeDescription
windowstring

quorum_propose_write Propose a write for approval

Ask a person to approve a data or schema change in the Quorum app. Nothing runs until they approve it there; it then runs exactly as proposed, once. The person sees the statement, your reason, the connection and its risk. PROD and CRITICAL changes need them to type a confirmation; some connections need a ticket. Refused outright: read-only connections and statements the safety policy blocks (for example DELETE without WHERE). Args: - connection_id: from quorum_list_connections - sql: the exact statement(s) to run - rationale: one line on why the change is needed - wait_seconds: wait…

ParameterTypeDescription
connection_id *string
rationale *string
sql *string
wait_secondsinteger

quorum_get_proposal Check a write request

The status of a request made with quorum_propose_write. wait_seconds (max 110) waits for a decision.

ParameterTypeDescription
id *string
wait_secondsinteger

quorum_list_proposals List write requests

Recent write requests and their status, newest first.