A Model Context Protocol (MCP) server for CUBRID database — enabling LLMs to inspect schemas and execute read-only queries via pycubrid.
README
A Model Context Protocol server for CUBRID, enabling LLMs to safely inspect schemas and execute read-only queries via pycubrid.
<!-- mcp-name: io.github.cubrid-lab/cubrid-mcp-server --> <img src="docs/demo.gif" alt="cubrid-mcp-server demo" width="100%"/>| Tool | Description |
|------|-------------|
| all_table_names | List every user table in the database |
| filter_table_names | Substring search over table names |
| schema_definitions | Column types, nullability, defaults, and primary key info |
| describe_table | Full metadata: columns, primary key, and indexes in one call |
| list_indexes | Indexes for a table with key columns and flags |
| explain_query | Execution plan/trace for a SELECT/WITH (via CUBRID SHOW TRACE) |
| table_row_counts | COUNT(*) for one or many tables |
| list_serials | CUBRID SERIAL sequences with current value and bounds |
| list_class_hierarchy | CUBRID CLASS inheritance relationships |
| execute_query | Run read-only SQL with automatic output truncation |
| health_check | Verify database connectivity on demand |
| execute_write | Run a single INSERT/UPDATE/DELETE in an atomic transaction (only registered when opt-in write mode is enabled) |
Schema metadata is also exposed as read-only MCP Resources, so clients can discover and read schema context without a tool call. Resources reuse the same read-only catalog queries as the tools — no additional data access or write surface.
| Resource URI | Description | |--------------|------------