postgres-kotlin-mcp MCP Server

A Model Context Protocol (MCP) server that provides tools to interact with PostgreSQL databases. Built using the official Kotlin MCP SDK for robust and standardized protocol compliance.

Local serverstdio

What is the postgres-kotlin-mcp Server?

postgres-kotlin-mcp is an MCP project maintained in the chan00012/postgres-kotlin-mcp repository. The maintainer describes its purpose as “A Model Context Protocol (MCP) server that provides tools to interact with PostgreSQL databases. Built using the official Kotlin MCP SDK for robust and standardized…”. Read the project documentation for the complete scope.

Local setup

The project provides a local client configuration using java. Follow the repository’s build and installation steps before copying it, and replace example paths with the paths on your own computer.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
postgres_queryExecute SELECT queries against the database
postgres_list_tablesList all tables in the database
postgres_get_table_schemaGet detailed schema information for a table
postgres_get_relationshipsGet table relationships (FK, PK, constraints)
postgres_suggest_joinsSuggest JOIN queries based on relationships
postgres_get_database_infoGet database name and connection information
postgres_connection_statsGet connection pool statistics and health info

How to install the postgres-kotlin-mcp Server

{
  "mcpServers": {
    "postgres-incidents": {
      "command": "java",
      "args": [
        "-jar",
        "/absolute/path/to/postgres-mcp-tool-incidents.jar"
      ]
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.