SSyncDev

dbboard MCP Server

A desktop database client whose separate MCP server lets agents read your saved connections under engine-enforced read-only mode.

Local server

What is the dbboard MCP Server?

Letting an agent look at production data is easy. Being sure it cannot change anything is the hard part. dbboard, a desktop database client for Windows and macOS, ships a separate binary, dbboard-mcp, aimed squarely at that second problem. The dbboard MCP server hands the connections you already saved in the app to Claude Code or Claude Desktop over stdio, using the same connection file and OS keychain, so there is no second place to store credentials.

Read-only that the database enforces

The safety model does not rely on spotting dangerous keywords. Postgres-wire databases run each statement inside a read-only transaction, libSQL and Turso run under PRAGMA query_only, and Cloudflare D1 statements are classified on the syntax tree. An UPDATE, DDL, multi-statement batches and SELECT ... FOR UPDATE all fail at the source. MongoDB and Redis-compatible stores use allowlists of commands and their options instead, and Firestore is read-only by construction.

Writing is off until you enable it for one connection. Even then run_write accepts only inserts, updates, deletes, merges and a short list of create and alter statements. DROP, TRUNCATE, grants and password changes are always refused. Query results are capped at 1,000 rows (200 by default) and flagged when truncated. Only a connection's id, name and kind ever reach the agent.

What the tools cover

  • Schema and data: list_connections, list_tables, describe_table, search_schema, list_relationships, run_read_query, get_annotations, plus run_write and dump_database
  • The desktop window: capture_window, get_ui_locale, set_ui_locale, set_editor_sql, run_query, open_ai_panel, open_ai_settings and screen; most of these need the app to be running
  • The connection list: add_connection (local SQLite/libSQL files and the Firestore emulator only), set_connection_mark, move_connection, and export_connections, which is refused until a person names an export directory
  • Self-description: get_server_info and about

Setup

Download the server for Windows x64, Windows on ARM or macOS (universal). It is one executable with no runtime dependencies, unsigned, so Gatekeeper and SmartScreen will warn. From v0.22.2 the Windows desktop installer places it in %LOCALAPPDATA%\dbboard for you. Register it with claude mcp add, or add its absolute path to Claude Desktop's config, then restart the agent. To give an agent a smaller set of connections than the app has, point --config or DBBOARD_CONFIG at a curated file.

Caveats

The project is pre-1.0, and so is the dbboard MCP server. There are no Linux binaries; build from source there. MongoDB connections cannot be tunnelled over SSH.

Prefer a single-engine server? See the PostgreSQL or SQLite entries, or browse all database servers.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
list_connectionsLists saved connections by id, name and kind only.
list_tablesLists tables in a connection.
describe_tableDescribes a table's structure.
search_schemaSearches the schema of a connection.
list_relationshipsLists foreign-key relationships.
run_read_queryRuns a query under the engine's read-only mode; max_rows defaults to 200, capped at 1000.
get_annotationsReturns dbboard's local notes on tables.
run_writeRuns an allowlisted write statement on a connection where writing has been enabled; DROP, TRUNCATE and privilege changes are always refused.
dump_databaseDumps a database.
capture_windowReturns a PNG of the running dbboard window.
get_ui_localeReads the app's display language.
set_ui_localeChanges the app's display language.
set_editor_sqlPuts SQL into the app's editor.
run_queryRuns the query in the app's editor window.
open_ai_panelOpens the app's AI panel.
open_ai_settingsOpens the app's AI settings.
screenOperates the app window with the agent's own visible cursor without moving the user's mouse.
get_server_infoNames the build of dbboard-mcp that is answering.
aboutDescribes the product, supported engines and release changes.
add_connectionRegisters a local SQLite/libSQL file or Firestore emulator connection; anything needing a credential is refused.
set_connection_markSets a connection's colour mark.
move_connectionReorders the connection list.
export_connectionsSeals connections into an encrypted bundle; refused until a person configures an export directory.

How to install the dbboard MCP Server

claude mcp add dbboard --scope user -- "$HOME/.local/bin/dbboard-mcp"

macOS path shown. On Windows (PowerShell): claude mcp add dbboard --scope user -- "$env:LOCALAPPDATA/dbboard/dbboard-mcp.exe". Restart the agent after registering.

Configuration

VariableDescriptionRequired
DBBOARD_CONFIGPath to an alternative connections.toml, for example a least-privilege subset of the app's connections. Same as --config.Optional
RUST_LOGLog level for stderr output; defaults to info.Optional

Frequently asked questions

Not by default. Reads run in the database's own read-only mode. Writing must be switched on per connection, and even then DROP, TRUNCATE and privilege changes are refused.