M

MCP-Gateway

by PanosSalt · io.github.PanosSalt/MCP-Gateway

A production-grade platform that connects AI assistants to internal databases and filesystems through a single authenticated endpoint. It features role-based access control, SSO integration, and built-in tools for querying SQL databases and managing files with full audit logging.

Remote GlamaOfficial MCP Registry High confidence

Install

Add to ~/Library/Application Support/Claude/claude_desktop_config.json

Windows / Linux path
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "io-github-panossalt-mcp-gateway": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://your-gateway.example.com/t/your-org/mcp/sse"
      ]
    }
  }
}

Restart Claude Desktop to activate the new server. If the server uses OAuth (not known from registry metadata), mcp-remote opens a browser to sign in on first start and caches tokens in ~/.mcp-auth.

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)

Windows / Linux path
Windows: .cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global)
Linux: .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "io-github-panossalt-mcp-gateway": {
      "url": "https://your-gateway.example.com/t/your-org/mcp/sse"
    }
  }
}

Cursor usually picks up config changes automatically; if the server does not appear, reload the window.

Add to .mcp.json (project) or ~/.claude.json (global)

Windows / Linux path
Windows: .mcp.json (project) or %USERPROFILE%\.claude.json (global)
Linux: .mcp.json (project) or ~/.claude.json (global)
{
  "mcpServers": {
    "io-github-panossalt-mcp-gateway": {
      "type": "sse",
      "url": "https://your-gateway.example.com/t/your-org/mcp/sse"
    }
  }
}

The server will be available in the next Claude Code session. If the server uses OAuth, run /mcp inside Claude Code to authenticate.

Add to .vscode/mcp.json

Windows / Linux path
Windows: .vscode\mcp.json
Linux: .vscode/mcp.json
{
  "servers": {
    "io-github-panossalt-mcp-gateway": {
      "type": "sse",
      "url": "https://your-gateway.example.com/t/your-org/mcp/sse"
    }
  }
}

Reload the VS Code window to activate.

Add to ~/.codeium/windsurf/mcp_config.json

Windows / Linux path
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Linux: ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "io-github-panossalt-mcp-gateway": {
      "serverUrl": "https://your-gateway.example.com/t/your-org/mcp/sse"
    }
  }
}

Restart Windsurf (or refresh its MCP servers panel) to activate the new server.

Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.

Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Windows / Linux path
Windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
Linux: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
{
  "mcpServers": {
    "io-github-panossalt-mcp-gateway": {
      "type": "sse",
      "url": "https://your-gateway.example.com/t/your-org/mcp/sse"
    }
  }
}

Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.

Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
BASE_URL No Public-facing URL (used in OAuth callbacks) Default: http://localhost:8000
LLM_MODEL No Anthropic model for SQL generation Default: claude-sonnet-4-6
SECRET_KEY Yes JWT signing secret — use a random 64-char string
CORS_ORIGINS No Comma-separated allowed origins for CORS. Must be absolute URLs — wildcards (*) are rejected Default: BASE_URL
DATABASE_URL Yes PostgreSQL DSN — set automatically by docker-compose; only needed for local (non-Docker) dev
ENCRYPTION_KEY Yes Fernet AES key for DB credentials — minimum 32 characters; full key consumed via BLAKE2b
ENTRA_GRAPH_URL No Microsoft Graph API base URL Default: https://graph.microsoft.com/v1.0
ANTHROPIC_API_KEY No Required for /query/ NL query endpoint
POSTGRES_PASSWORD Yes PostgreSQL password — used by docker-compose for both the db service and DATABASE_URL
LLM_MAX_TOKENS_SQL No Max tokens for SQL generation Default: 1024
ENTRA_AUTHORITY_URL No Microsoft identity platform base URL Default: https://login.microsoftonline.com
LLM_MAX_TOKENS_SUMMARY No Max tokens for result summarization Default: 500
OAUTH_CODE_TTL_MINUTES No OAuth authorization code validity window Default: 5
FILESYSTEM_ALLOWED_DIRS No Comma-separated directories the MCP filesystem tools may access. When empty, no filesystem tools are exposed
OAUTH_STATE_TTL_MINUTES No OAuth PKCE state validity window — increase for high-latency SSO providers Default: 10
REFRESH_TOKEN_EXPIRE_DAYS No OAuth refresh token lifetime Default: 30
ACCESS_TOKEN_EXPIRE_MINUTES No JWT access token lifetime Default: 15

Similar servers