Devart MCP Server for PostgreSQL (ADO.NET) MCP Server
Schema-aware read/write access to PostgreSQL through Devart dotConnect ADO.NET data provider.
Devart MCP Server for PostgreSQL (ADO.NET) scores 26 (Limited), with no SPDX license recorded and written in C#. It installs as a local process. It declares 1 tool. Filed under Databases. GitHub shows 0 stars. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Limited trust
26 of 100 from six public signals. Nobody can buy a point.
- No license recorded.
License, quality and maintenance
Where the 26 comes from
0 + 15 + 0 + 0 + 4 + 7 = 26. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 0 of 30 points.How recently the repository saw a commit or release.
Maintenance: 15 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 0 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 7 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "devart-ai-connectivity-devart-mcp-server-postgresql": { "command": "dnx", "args": [ "Devart.Mcp.PostgreSql" ], "env": { "DEVART_MCP_POSTGRESQL_CONNECTION": "YOUR_DEVART_MCP_POSTGRESQL_CONNECTION" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
DEVART_MCP_POSTGRESQL_CONNECTIONSecret | Required | A dotConnect for PostgreSQL connection string. |
Tools1Tool docs quality grade C
All capabilitiesProtocolTypetoolA transport protocol. The possible options are: stdio or http.
About
Version 1.1.0
Devart MCP Server for PostgreSQL
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.
Key benefits
Devart MCP Server for PostgreSQL allows you to:
- Work with data intuitively through natural language.
- Retrieve the required data for analysis within minutes.
- Report on your data faster with AI-powered assistance.
- Minimize manual data handling and integration maintenance.
How it works
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.

Quick start
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.
Manual installation and configuration
Prerequisites
Before building and running Devart MCP Server for PostgreSQL, ensure the following components are installed:
- .NET 8 SDK
- ADO.NET connection — Devart.AI.McpServer.AdoNet.PostgreSql.csproj Devart dotConnect for PostgreSQL (installed automatically via NuGet during build)
- ODBC connection — Devart.AI.McpServer.Odbc.PostgreSql.csproj Devart ODBC Driver for PostgreSQL (requires manual download and installation)
Step 1: Clone the repository
Clone the project repository and navigate to the project directory:
1. Open Command Prompt.
2. Enter the following command:
git clone https://github.com/devart-ai-connectivity/devart-mcp-server-postgresql.git
cd devart-mcp-server-postgresql
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.
- To build the MCP server with ADO.NET, run the following command:
dotnet publish Devart.AI.McpServer.AdoNet/Devart.AI.McpServer.AdoNet.PostgreSql/Devart.AI.McpServer.AdoNet.PostgreSql.csproj -c ReleasePostgreSql /p:TargetFramework=net8.0
The Devart dotConnect for PostgreSQL NuGet package is downloaded and restored automatically.
- To build the MCP server with ODBC, select the command based on the bitness of your data source.
For 64-bit data source, run the following command:
dotnet publish Devart.AI.McpServer.Odbc/Devart.AI.McpServer.Odbc.PostgreSql/Devart.AI.McpServer.Odbc.PostgreSql.csproj -c ReleasePostgreSql -r "win-x64" /p:TargetFramework=net8.0
For 32-bit data source, run the following command:
dotnet publish Devart.AI.McpServer.Odbc/Devart.AI.McpServer.Odbc.PostgreSql/Devart.AI.McpServer.Odbc.PostgreSql.csproj -c ReleasePostgreSql -r "win-x86" /p:TargetFramework=net8.0
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.
- Configure a connection with ADO.NET.
Add the following configuration to the mcpserver.json file:
{
"Connections": [
{
"Name": "my_postgresql",
"ConnectionString": "Server=localhost;Port=5432;User Id=your_user;Password=your_password;Database=your_database;License Key=your_license_key;",
"ProtocolType": "stdio"
}
]
}
- Configure a connection with ODBC.
Add the following configuration to the mcpserver.json file:
{
"Connections": [
{
"Name": "my_postgresql",
"DsnName": "your_dsn_name",
"ProtocolType": "stdio"
}
]
}
- Configure a connection with ODBC using a connection string.
Add the following configuration to the mcpserver.json file:
{
"Connections": [
{
"Name": "my_postgresql",
"ConnectionString": "Driver={Devart ODBC Driver for PostgreSQL};Server=localhost;User ID=postgres;Password=your_password;Database=your_database;",
"ProtocolType": "stdio"
}
]
}
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:stdioorhttp. -
HttpPort(required ifProtocolTypeis set tohttp) — The port number for thehttpprotocol.
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.
- To start the server with ADO.NET, run the following command:
Devart.AI.McpServer.AdoNet.PostgreSql.exe run my_postgresql
- To start the server with ODBC, run the following command:
Devart.AI.McpServer.Odbc.PostgreSql.exe run my_postgresql
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:
- STDIO
{
"mcpServers": {
"devart": {
"command": "C:\\path\\to\\Devart.AI.McpServer.AdoNet.PostgreSql.exe",
"args": [
"run",
"my_postgresql"
]
}
}
}
where:
-
devartis the connector name that will appear in Claude Desktop. -
C:\\path\\to\\Devart.AI.McpServer.AdoNet.PostgreSql.exeis the path to the executable file. For an ODBC connection, useDevart.AI.McpServer.Odbc.PostgreSql.exe. -
my_postgresqlis the connection name specified in themcpserver.jsonconfiguration file. -
HTTP
"mcpServers": { "devart": { "command": "npx", "args": [ "-y", "mcp-remote", "http://localhost:5000/sse" ] } }where:
devartis the connector name that will appear in Claude Desktop.5000is 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.
Supported clients
Devart MCP Server for PostgreSQL supports integration with the following AI clients:
- Claude Desktop
- Visual Studio Code
- Cursor
- Codex
- Windsurf
- Cline
- Zed
- ...and other MCP-compatible AI clients
Typical use cases
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.
Licensing and activation
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.
Support
Other Devart connectivity solutions
Frequently asked questions
What is Devart MCP Server for PostgreSQL (ADO.NET) MCP Server?
Schema-aware read/write access to PostgreSQL through Devart dotConnect ADO.NET data provider.
How do I install Devart MCP Server for PostgreSQL (ADO.NET) MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Devart MCP Server for PostgreSQL (ADO.NET) MCP Server runs locally from the NuGet package Devart.Mcp.PostgreSql with the command dnx Devart.Mcp.PostgreSql.
Does Devart MCP Server for PostgreSQL (ADO.NET) MCP Server support remote (HTTP) connections?
No remote endpoint is listed for Devart MCP Server for PostgreSQL (ADO.NET) MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does Devart MCP Server for PostgreSQL (ADO.NET) MCP Server provide?
Devart MCP Server for PostgreSQL (ADO.NET) MCP Server provides 1 tool: ProtocolType. See the full tool list for descriptions and parameters.
How is Devart MCP Server for PostgreSQL (ADO.NET) MCP Server's trust score calculated?
Devart MCP Server for PostgreSQL (ADO.NET) MCP Server scores 26 out of 100 (Limited). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.

