mapeg-oracle-mcp

v2.0.0
mapeg-oracle-mcp Checked 9 hours ago Published 2 months ago

Oracle 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.

ParameterTypeDescription
sql *stringOracle SQL query or PL/SQL block.
limitintegerRow 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.

ParameterTypeDescription
table_name *stringTable 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.

ParameterTypeDescription
object_name *stringObject name (case-insensitive).
object_typestringFUNCTION, 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.

ParameterTypeDescription
view_name *stringView name (case-insensitive).

search_tables Tablo ara

Search tables by name pattern (% wildcard) in USER_TABLES.

ParameterTypeDescription
pattern *stringName pattern, % as wildcard.
limitintegerMaximum results.

search_columns Kolon ara

Search for columns across every table in USER_TAB_COLUMNS.

ParameterTypeDescription
pattern *stringColumn name pattern, % as wildcard.
data_typestringOnly columns of this type, e.g. NUMBER, VARCHAR2.
limitintegerMaximum results.

get_table_indexes Tablo indeksleri

Get every index on a table, with its columns in order.

ParameterTypeDescription
table_name *stringTable name (case-insensitive).

get_table_constraints Tablo kısıtları

Get a table's constraints: primary keys, foreign keys, checks and uniques.

ParameterTypeDescription
table_name *stringTable name (case-insensitive).
constraint_typeP 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.

ParameterTypeDescription
table_name *stringTable name (case-insensitive).

get_table_relationships Tablo ilişkileri

Get a table's foreign key relationships, in either or both directions.

ParameterTypeDescription
table_name *stringTable name (case-insensitive).
directionstringoutgoing: 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.

ParameterTypeDescription
object_type *stringWhich kind of object to list.
limitintegerMaximum results.
patternstringName 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.

ParameterTypeDescription
sql *stringSQL query to explain.
formatstringLevel 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.

ParameterTypeDescription
limitintegerHow many entries to return.
statusOnly successes, or only failures.
tool_namestringOnly entries from this tool, e.g. 'execute_sql'.