mapeg-postgres-mcp
v2.0.0PostgreSQL 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 çalıştır
Execute a SQL statement. SELECTs get a LIMIT if they have none; writes are confirmed with the user first, and refused outright in read-only mode.
| Parameter | Type | Description |
|---|---|---|
sql * | string | SQL statement to execute. |
limit | integer | Row limit added to a SELECT that has no LIMIT. |
natural_language_query Doğal dil sorgusu
Answer a handful of fixed questions about the database (tables, users, schemas, database info) without writing SQL. Anything else: use execute_sql.
| Parameter | Type | Description |
|---|---|---|
query * | string | Question in Turkish or English. |
describe_table Tabloyu tanımla
Get a table's columns, row count and on-disk size.
| Parameter | Type | Description |
|---|---|---|
table_name * | string | Table as 'schema.table', or just the table name. |
smart_query Şema bağlamı getir
Return the public schema's tables and columns as context for answering a question. It does not write or run SQL — read the context, then use execute_sql.
| Parameter | Type | Description |
|---|---|---|
question * | string | Your question about the data. |
explain_query Sorgu planını göster
Show a query's execution plan with EXPLAIN. With analyze=true the query is actually run, so do not analyze a statement that writes.
| Parameter | Type | Description |
|---|---|---|
sql * | string | SQL query to explain. |
analyze | boolean | Run the query to get real timings. False gives the planner's estimate without touching any data. |
buffers | boolean | Include buffer usage. Only meaningful with analyze=true. |
format | string | Plan output format. |
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'. |