The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the Devart MCP Server for PostgreSQL (ADO.NET) listing page.
Devart MCP Server for PostgreSQL enables AI clients to interact with your data through a secure server running in your environment. It turns a regular AI chat into a practical way to work with real-world business data — and it is faster than conventional export or manual querying.
Devart MCP Server for PostgreSQL allows you to:
Devart MCP Server for PostgreSQL helps AI clients communicate directly with PostgreSQL databases using natural-language prompts. It translates AI requests into structured queries, executes them through Devart connectivity drivers, and returns clean, structured results for seamless AI-powered data access.

To get started with Devart MCP Server for PostgreSQL:
1. Download and install Devart ODBC Driver for PostgreSQL.
2. Download and install Devart MCP Server for PostgreSQL.
3. In Devart MCP Server for PostgreSQL, configure your data connection and integration settings.

4. Run your first natural-language query.
Prerequisites
Before building and running Devart MCP Server for PostgreSQL, ensure the following components are installed:
Step 1: Clone the repository
Clone the project repository and navigate to the project directory:
1. Open Command Prompt.
2. Enter the following command:
Step 2: Build the MCP Server from source
You can build Devart MCP Server for PostgreSQL from source using either of the supported database connectivity technologies: ADO.NET or ODBC.
The Devart dotConnect for PostgreSQL NuGet package is downloaded and restored automatically.
For 64-bit data source, run the following command:
For 32-bit data source, run the following command:
Note
The target platform must match the bitness of your ODBC data source.
Step 3: Configure the database connection for the MCP Server
1. Create an mcpserver.json configuration file in the directory containing the built MCP Server executable.
2. In the file, configure the database connection.
Add the following configuration to the mcpserver.json file:
Add the following configuration to the mcpserver.json file:
Add the following configuration to the mcpserver.json file:
where:
Name — The connection name.
ConnectionString (applies to ADO.NET) — A database-specific connection string used to establish a connection to the target database.
DsnName (applies to ODBC) — The name of your data source.
ProtocolType — A transport protocol. The possible options are: stdio or http.
HttpPort (required if ProtocolType is set to http) — The port number for the http protocol.
Step 4: Run the MCP server
After you configure the MCP Server, you can start it.
Note
This step is required only when
ProtocolTypeis configured ashttp. If you use thestdiotransport protocol, your AI client starts the server automatically.
where my_postgresql is the name of the ODBC connection.
Step 5: Integrate with Claude Desktop
1. Open claude_desktop_config.json, the Claude configuration file.
Tip
If you can't locate the configuration file, it may not exist yet. To create it, open Claude Desktop and navigate to File > Settings > Developer, then click Edit Config. The folder with the
claude_desktop_config.jsonfile opens.
2. Add one of the following objects, depending on the transport protocol used by MCP Server:
where:
devart is the connector name that will appear in Claude Desktop.
C:\\path\\to\\Devart.AI.McpServer.AdoNet.PostgreSql.exe is the path to the executable file. For an ODBC connection, use Devart.AI.McpServer.Odbc.PostgreSql.exe.
my_postgresql is the connection name specified in the mcpserver.json configuration file.
HTTP
where:
devart is the connector name that will appear in Claude Desktop.5000 is the MCP Server listening port.3. Save the file.
4. Restart Claude Desktop.
Devart MCP Server for PostgreSQL is now integrated with Claude, and devart appears in the Claude Desktop app in Customize > Connectors.
You can also integrate Devart MCP Server for PostgreSQL with other AI clients such as Cline, Codex, Cursor, Visual Studio Code, Windsurf, Zed.
Devart MCP Server for PostgreSQL supports integration with the following AI clients:
Devart MCP Server for PostgreSQL is a practical fit for teams working with PostgreSQL as their primary data source.
Self-service analytics on PostgreSQL data
Let analysts, product managers, sales, finance, and operations teams ask natural-language questions without writing SQL.
Developer copilot for production PostgreSQL databases
Help developers and DBAs investigate real data, inspect schemas, explore joins, and troubleshoot anomalies faster.
Support and customer operations investigation
Let support teams quickly check orders, subscriptions, payments, statuses, and account history stored in PostgreSQL.
Schema exploration and reverse engineering
Use AI to explain tables, relationships, and business logic in legacy or poorly documented PostgreSQL databases.
Ad-hoc reporting and internal analysis
Generate one-off reports, investigate trends, and answer business questions directly from PostgreSQL without building a dashboard first.
Secure on-premises AI access to PostgreSQL
Keep PostgreSQL data inside your infrastructure while giving AI tools a controlled path to work with real business data.
Devart MCP Server for PostgreSQL is distributed as a free single-source MCP server.
To connect to PostgreSQL, the server requires the corresponding Devart ODBC Driver for PostgreSQL, which is a paid product.
A 30-day free trial is available for the Devart ODBC Driver for PostgreSQL.
See the product page and documentation for the latest installation and activation details.