DB MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| ORACLE_DSN | No | Oracle DSN (host:port/service_name) | |
| ORACLE_USER | No | Oracle username | |
| POSTGRES_HOST | No | PostgreSQL host | |
| POSTGRES_PORT | No | PostgreSQL port | |
| POSTGRES_USER | No | PostgreSQL username | |
| ORACLE_LIB_DIR | No | Path to Oracle instant client directory for thick mode | |
| ORACLE_PASSWORD | No | Oracle password | |
| ORACLE_THICK_MODE | No | Set to "1" to enable Oracle thick mode | |
| POSTGRES_DATABASE | No | PostgreSQL database name | |
| POSTGRES_PASSWORD | No | PostgreSQL password |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_tablesB | List all tables in a schema. Defaults to the configured default database. |
| describe_tableA | Describe a table: show columns, data types, and constraints. |
| execute_queryB | Execute a read-only SELECT query. |
| execute_dmlB | Execute INSERT, UPDATE, DELETE, or DDL statements. |
| add_data_sourceA | Connect to an additional database at runtime — no server restart needed. The new source can then be used via the dataSource parameter of all other tools. Note: credentials passed here are visible in session logs; prefer environment variables for permanent sources. |
| list_data_sourcesB | List all connected data sources and their types. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 6 tools
Each tool targets a distinct action-resource pair: enumeration (list_tables, list_data_sources), introspection (describe_table), read execution (execute_query), write/DDL execution (execute_dml), and connection management (add_data_source). The read-only vs. mutating split between execute_query and execute_dml is explicitly stated, leaving no realistic misselection risk.
All six names follow a uniform snake_case verb_noun pattern (list_, describe_, execute_, add_), and the verbs accurately signal the operation type. The two execute_* tools share a verb but are differentiated by a meaningful suffix (query vs. dml), which reinforces rather than breaks the convention.
Six tools is well-scoped for a database access server: discovery, introspection, two execution modes, and data-source registration/listing. Every tool earns its place with no redundant or filler entries.
The surface covers the core lifecycle: discover tables, inspect schema, run SELECTs, run DML/DDL, and manage connections. Gaps exist around transaction control (begin/commit/rollback), query cancellation, and schema/database enumeration, though these can be partially worked around via information_schema queries through execute_query.