mapeg-oracle-mcp
v2.0.0Oracle Database MCP server for Model Context Protocol
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
execute_sql SQL / PL/SQL çalıştır
Execute Oracle SQL or a PL/SQL block. Use Oracle dictionary views (USER_TABLES, ALL_TABLES, USER_TAB_COLUMNS), not information_schema. SELECTs get a FETCH FIRST if they have none; DBMS_OUTPUT from a PL/SQL block is returned alongside the result. Writes are confirmed with the user first.
| Parameter | Type | Description |
|---|---|---|
sql * | string | Oracle SQL query or PL/SQL block. |
limit | integer | Row limit added to a SELECT that has no ROWNUM/FETCH. |
describe_table Tabloyu tanımla
Get a table's columns and row count from USER_TAB_COLUMNS.
| Parameter | Type | Description |
|---|---|---|
table_name * | string | Table name (case-insensitive). |
get_source_code Kaynak kodu getir
Get the source of a PL/SQL object (FUNCTION, PROCEDURE, TRIGGER, PACKAGE, PACKAGE BODY, TYPE) from USER_SOURCE.
| Parameter | Type | Description |
|---|---|---|
object_name * | string | Object name (case-insensitive). |
object_type | string | FUNCTION, PROCEDURE, TRIGGER, PACKAGE, PACKAGE BODY, TYPE. Empty searches every type and picks the first match. |
get_view_definition View tanımını getir
Get a view's SQL definition from USER_VIEWS.
| Parameter | Type | Description |
|---|---|---|
view_name * | string | View name (case-insensitive). |
search_tables Tablo ara
Search tables by name pattern (% wildcard) in USER_TABLES.
| Parameter | Type | Description |
|---|---|---|
pattern * | string | Name pattern, % as wildcard. |
limit | integer | Maximum results. |
search_columns Kolon ara
Search for columns across every table in USER_TAB_COLUMNS.
| Parameter | Type | Description |
|---|---|---|
pattern * | string | Column name pattern, % as wildcard. |
data_type | string | Only columns of this type, e.g. NUMBER, VARCHAR2. |
limit | integer | Maximum results. |
get_table_indexes Tablo indeksleri
Get every index on a table, with its columns in order.
| Parameter | Type | Description |
|---|---|---|
table_name * | string | Table name (case-insensitive). |
get_table_constraints Tablo kısıtları
Get a table's constraints: primary keys, foreign keys, checks and uniques.
| Parameter | Type | Description |
|---|---|---|
table_name * | string | Table name (case-insensitive). |
constraint_type | P primary, R foreign, C check, U unique. Omit for all of them. |
analyze_table_size Tablo boyutu
Analyze a table's size, row count and optimizer statistics.
| Parameter | Type | Description |
|---|---|---|
table_name * | string | Table name (case-insensitive). |
get_table_relationships Tablo ilişkileri
Get a table's foreign key relationships, in either or both directions.
| Parameter | Type | Description |
|---|---|---|
table_name * | string | Table name (case-insensitive). |
direction | string | outgoing: keys this table declares. incoming: keys pointing at it. both: all of them. |
list_database_objects Nesneleri listele
List database objects of one type from USER_OBJECTS.
| Parameter | Type | Description |
|---|---|---|
object_type * | string | Which kind of object to list. |
limit | integer | Maximum results. |
pattern | string | Name filter, % as wildcard. Empty means all of them. |
explain_plan Sorgu planı
Show a query's execution plan with EXPLAIN PLAN and DBMS_XPLAN. The query itself is not run.
| Parameter | Type | Description |
|---|---|---|
sql * | string | SQL query to explain. |
format | string | Level of detail in the plan. |
get_query_history Sorgu geçmişi
Recent queries run against this database from this workspace, with timings, statuses and errors.
| Parameter | Type | Description |
|---|---|---|
limit | integer | How many entries to return. |
status | Only successes, or only failures. | |
tool_name | string | Only entries from this tool, e.g. 'execute_sql'. |