Devart MCP Server for PostgreSQL (ADO.NET)
mcpothercom.devart/mcp-postgresql · v1.1.0
Schema-aware read/write access to PostgreSQL through Devart dotConnect ADO.NET data provider.
run it
on your own machines, one way per deploy methodgenerated from the record, not tested yet
#!/usr/bin/env bash # postgresql (com.devart/mcp-postgresql), recipe baremetal (generated). # Generated by Hub for toolset "my-agent"; started by mcp-my-agent-postgresql.service. set -euo pipefail export HOST=127.0.0.1 PORT=8101 exec uvx mcp-proxy --host 127.0.0.1 --port 8101 --pass-environment -- dnx [email protected] --yes [Unit] Description=MCP server postgresql (toolset my-agent), generated by Hub After=network-online.target Wants=network-online.target [Service] Type=simple User=mcp Group=mcp EnvironmentFile=/etc/mcp/my-agent.env Environment=HOME=/var/lib/mcp/postgresql WorkingDirectory=/var/lib/mcp/postgresql ExecStart=/opt/mcp/my-agent/bin/postgresql.sh Restart=on-failure RestartSec=5 NoNewPrivileges=true ProtectSystem=strict ProtectHome=true PrivateTmp=true ReadWritePaths=/var/lib/mcp/postgresql [Install] WantedBy=multi-user.target
connect to it
copy what your client needsdnx [email protected] --yes # env: DEVART_MCP_POSTGRESQL_CONNECTION
{
"mcpServers": {
"postgresql": {
"command": "dnx",
"args": [
"[email protected]",
"--yes"
],
"env": {
"DEVART_MCP_POSTGRESQL_CONNECTION": "${DEVART_MCP_POSTGRESQL_CONNECTION}"
}
}
}
}
#!/usr/bin/env bash
# Registers every server with Claude Code (run once; `claude mcp list` to check).
set -euo pipefail
set -a; [ -f .env ] && source .env; set +a
claude mcp add postgresql -e "DEVART_MCP_POSTGRESQL_CONNECTION=${DEVART_MCP_POSTGRESQL_CONNECTION}" -- dnx [email protected] --yes
{
"mcpServers": {
"postgresql": {
"command": "dnx",
"args": [
"[email protected]",
"--yes"
],
"env": {
"DEVART_MCP_POSTGRESQL_CONNECTION": "${DEVART_MCP_POSTGRESQL_CONNECTION}"
}
}
}
}
{
"servers": {
"postgresql": {
"type": "stdio",
"command": "dnx",
"args": [
"[email protected]",
"--yes"
],
"env": {
"DEVART_MCP_POSTGRESQL_CONNECTION": "${DEVART_MCP_POSTGRESQL_CONNECTION}"
}
}
}
}
name: my-agent target: local servers: - hub: com.devart/mcp-postgresql
- not probed yet: tools unpinned, ingest lists them
tools
Not probed yetThe tools appear once the hub or its worker has listed this entry. Running it still works: your client lists them on first start.