DatabaseTypeScript

remote-mcp-server-with-auth

This MCP server allows users to interact with a PostgreSQL database through a secure GitHub OAuth authentication.

Free
N/A rating (0 reviews)0 installs291 GitHub stars
PostgreSQLMCPGitHub OAuth

The server provides a direct connection to a PostgreSQL database, enabling users to perform various database operations through a modular architecture. It features role-based access control based on GitHub usernames, ensuring that only authorized users can perform write operations. Additionally, the server includes automatic schema discovery for easy retrieval of table and column information, along with built-in SQL injection protection for enhanced security. With support for both modern and legacy transport protocols, the server is designed for resilience and performance. It utilizes Cloudflare Workers for global scalability and can be integrated with monitoring tools like Sentry for production environments. This makes it a robust solution for developers looking to build MCP servers with best practices in mind.

Compatible with

Claude DesktopCursor

Install

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "remote-mcp-server-with-auth": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-remote-mcp-server-with-auth"
      ]
    }
  }
}

Config File Location

Mac: ~/Library/Application Support/Claude/claude_desktop_config.json

Windows: %APPDATA%\Claude\claude_desktop_config.json

Linux: ~/.config/claude/claude_desktop_config.json

Some servers require additional setup - check the GitHub README for specific instructions.

Permissions

ok0
ok1
remote-mcp-server-with-auth MCP Server — MCPNest — MCPNest