MCP Server Studio
Schema-aware read/write access to PostgreSQL through Devart dotConnect ADO.NET data provider.
Registry name: com.devart/mcp-postgresql
Add to claude_desktop_config.json:
{
"mcpServers": {
"mcp-postgresql": {
"command": "dnx",
"args": [
"Devart.Mcp.PostgreSql@1.1.0",
"--yes"
],
"env": {
"DEVART_MCP_POSTGRESQL_CONNECTION": "<DEVART_MCP_POSTGRESQL_CONNECTION>"
}
}
}
}Run in your terminal:
claude mcp add mcp-postgresql -e DEVART_MCP_POSTGRESQL_CONNECTION='<DEVART_MCP_POSTGRESQL_CONNECTION>' -- dnx Devart.Mcp.PostgreSql@1.1.0 --yesAdd to .cursor/mcp.json:
{
"mcpServers": {
"mcp-postgresql": {
"command": "dnx",
"args": [
"Devart.Mcp.PostgreSql@1.1.0",
"--yes"
],
"env": {
"DEVART_MCP_POSTGRESQL_CONNECTION": "<DEVART_MCP_POSTGRESQL_CONNECTION>"
}
}
}
}Add to .vscode/mcp.json:
{
"servers": {
"mcp-postgresql": {
"type": "stdio",
"command": "dnx",
"args": [
"Devart.Mcp.PostgreSql@1.1.0",
"--yes"
],
"env": {
"DEVART_MCP_POSTGRESQL_CONNECTION": "<DEVART_MCP_POSTGRESQL_CONNECTION>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"mcp-postgresql": {
"command": "dnx",
"args": [
"Devart.Mcp.PostgreSql@1.1.0",
"--yes"
],
"env": {
"DEVART_MCP_POSTGRESQL_CONNECTION": "<DEVART_MCP_POSTGRESQL_CONNECTION>"
}
}
}
}| Name | Required | What it is |
|---|---|---|
DEVART_MCP_POSTGRESQL_CONNECTION | Yes | A dotConnect for PostgreSQL connection string. |