URL Scheme
Thetablepro:// URL scheme drives the TablePro GUI from outside the app. Use it from the shell with open, from another app with NSWorkspace.shared.open(url:), or from a Raycast extension with open() from @raycast/api.
The scheme covers two kinds of actions:
- Navigate: open a connection, table, or query tab.
- Pair: bootstrap an MCP token for an extension.
Connection IDs are UUIDs
Connection paths use the connection’s UUID, not its display name.Open a connection
Open a table
Run a query
execute_query tool instead. The URL scheme is for handing SQL into the GUI, not for headless execution.
Start pairing
redirect URL.
The user can change scopes and connections in the approval sheet. The query parameters are a request, not a grant.
Example invocation from a Raycast extension:
Lazy-start the MCP server
tablepro-mcp CLI to bootstrap on cold launch.
The user does not need to enable MCP in Settings beforehand. The first call starts the server on a free port in the 51000-52000 range and writes a handshake file at ~/Library/Application Support/TablePro/mcp-handshake.json.
Import a connection
name, host, type.
type accepts any registered database type name (case-insensitive). Examples: MySQL, PostgreSQL, MongoDB, Redis, ClickHouse, Oracle, DuckDB, Cassandra.
Core parameters
SSH parameters
Setssh=1 to enable SSH tunneling.
SSL parameters
Plugin-specific fields
Use theaf_ prefix to pass driver-specific fields. For example, af_replicaSet=myrs passes replicaSet to the MongoDB plugin.
Errors
Invalid UUIDs, missing connections, or malformed query parameters surface as error alerts. The error message names the failing field. Examples:Connection not found: 9f1f0c3e-2e3d-4b14-9c3a-1d2f4ad1f6f1Invalid connection ID formatMissing required parameter: client
admin category with outcome error.