Install
Add to ~/Library/Application Support/Claude/claude_desktop_config.json
Windows / Linux path
%APPDATA%\Claude\claude_desktop_config.json~/.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
.cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global).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
.mcp.json (project) or %USERPROFILE%\.claude.json (global).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
.vscode\mcp.json.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
%USERPROFILE%\.codeium\windsurf\mcp_config.json~/.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
%APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json~/.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.
| Name | Required | Description |
|---|---|---|
| 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 |