workbench-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| DB_HOST | Yes | PostgreSQL server hostname | |
| DB_NAME | Yes | Database name | |
| DB_PORT | No | Connection port | 5432 |
| DB_USER | Yes | Database username | |
| DB_SSLMODE | No | SSL mode | prefer |
| DB_MAX_ROWS | No | Maximum rows per result set | 100 |
| DB_PASSWORD | Yes | Database password | |
| API_VERIFY_SSL | No | true / false SSL verification (local dev certs) | |
| API_BEARER_TOKEN | No | Bearer token used for authenticated HTTP calls | |
| DB_MAX_RESULT_SETS | No | Maximum result sets per batch | 5 |
| API_TIMEOUT_SECONDS | No | HTTP request timeout | |
| DB_APPLICATION_NAME | No | Application identifier | |
| API_MAX_RESPONSE_BYTES | No | Max response bytes returned by HTTP tools | |
| DB_OBJECT_PREVIEW_CHARS | No | Max definition preview length | 4000 |
| DB_QUERY_TIMEOUT_SECONDS | No | Query timeout (seconds) | 30 |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| healthB | Provide system status and configuration details without exposing secrets. |
| describe_objectB | Retrieve structural details, parameters, and definition for a database object. |
| list_tables_and_columnsB | Discover tables and columns with optional filtering by schema or keyword search. |
| preview_queryA | Execute read-only SELECT statements and CTEs with safety validation and row limits. |
| execute_readonly_sqlC | Execute read-only SQL batches with support for temporary tables within the session. |
| exec_proc_previewB | Execute PostgreSQL functions or procedures with optional parameters and result limiting. |
| exec_function_previewA | Execute a PostgreSQL function with positional parameters and return preview rows. Use this tool for function calls such as
Pass arguments in positional order using JSON-compatible values:
PostgreSQL array parameters should be passed as normal lists; psycopg adapts them to PostgreSQL arrays automatically. |
| insert_rowA | Insert a single row into a PostgreSQL table. Use this tool when you need one explicit insert with structured values.
Example:
|
| insert_rowsA | Insert multiple rows into a PostgreSQL table in one batch. Use this tool for bulk inserts where every row has the same columns.
Notes:
|
| http_getA | Send an HTTP GET request. Use for read-only resource retrieval. Provide a full URL.
Pass |
| http_headA | Send an HTTP HEAD request. Use for metadata/status checks without retrieving a full body.
Pass |
| http_postA | Send an HTTP POST request. Use for create/actions. Provide a full URL.
|
| http_putA | Send an HTTP PUT request. Use for full updates/replacements.
|
| http_patchA | Send an HTTP PATCH request. Use for partial updates.
|
| http_deleteA | Send an HTTP DELETE request. Use for delete operations. Some APIs allow delete payloads; if needed,
provide |
| auth_start_sessionA | Acquire a session-scoped JWT for email from the backend broker. After a successful call every HTTP tool call in this session will
automatically use the returned token (unless the tool call provides
its own Parametersemail: The user whose identity the MCP session will impersonate. reason: Optional free-text description of why this session is needed. Stored in the JWT claims for audit purposes. Returnsdict
|
| auth_switch_userA | Switch the active session to a different user. Equivalent to calling Parametersemail: The new user to impersonate. reason: Optional free-text description of why the switch is needed. Returnsdict
Same shape as |
| auth_statusA | Return the current session status without exposing the raw token. Returnsdict
|
| auth_clear_sessionA | Clear the active session token from memory. After this call HTTP tools will fall back to Returnsdict
|
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/antonov2010/mcp-dev'
If you have feedback or need assistance with the MCP directory API, please join our Discord server