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-ljcl-gaggiuino-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"-e",
"GAGGIUINO_URL=<YOUR_VALUE>",
"-e",
"PORT=<YOUR_VALUE>",
"-e",
"HOST=<YOUR_VALUE>",
"-e",
"MCP_PUBLIC_URL=<YOUR_VALUE>",
"-e",
"MCP_OAUTH_SECRET=<YOUR_VALUE>",
"-e",
"MCP_OAUTH_PASSPHRASE_HASH=<YOUR_VALUE>",
"-e",
"MCP_OAUTH_ISSUER=<YOUR_VALUE>",
"-e",
"MCP_ALLOWED_ORIGINS=<YOUR_VALUE>",
"-e",
"MCP_ALLOWED_HOSTS=<YOUR_VALUE>",
"-e",
"LOG_LEVEL=<YOUR_VALUE>",
"-e",
"MCP_AUTH_TOKEN=<YOUR_VALUE>",
"ghcr.io/ljcl/gaggiuino-mcp:6.0.0"
]
}
}
}
Restart Claude Desktop to activate the new server.
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-ljcl-gaggiuino-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"-e",
"GAGGIUINO_URL=<YOUR_VALUE>",
"-e",
"PORT=<YOUR_VALUE>",
"-e",
"HOST=<YOUR_VALUE>",
"-e",
"MCP_PUBLIC_URL=<YOUR_VALUE>",
"-e",
"MCP_OAUTH_SECRET=<YOUR_VALUE>",
"-e",
"MCP_OAUTH_PASSPHRASE_HASH=<YOUR_VALUE>",
"-e",
"MCP_OAUTH_ISSUER=<YOUR_VALUE>",
"-e",
"MCP_ALLOWED_ORIGINS=<YOUR_VALUE>",
"-e",
"MCP_ALLOWED_HOSTS=<YOUR_VALUE>",
"-e",
"LOG_LEVEL=<YOUR_VALUE>",
"-e",
"MCP_AUTH_TOKEN=<YOUR_VALUE>",
"ghcr.io/ljcl/gaggiuino-mcp:6.0.0"
]
}
}
}
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-ljcl-gaggiuino-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"-e",
"GAGGIUINO_URL=<YOUR_VALUE>",
"-e",
"PORT=<YOUR_VALUE>",
"-e",
"HOST=<YOUR_VALUE>",
"-e",
"MCP_PUBLIC_URL=<YOUR_VALUE>",
"-e",
"MCP_OAUTH_SECRET=<YOUR_VALUE>",
"-e",
"MCP_OAUTH_PASSPHRASE_HASH=<YOUR_VALUE>",
"-e",
"MCP_OAUTH_ISSUER=<YOUR_VALUE>",
"-e",
"MCP_ALLOWED_ORIGINS=<YOUR_VALUE>",
"-e",
"MCP_ALLOWED_HOSTS=<YOUR_VALUE>",
"-e",
"LOG_LEVEL=<YOUR_VALUE>",
"-e",
"MCP_AUTH_TOKEN=<YOUR_VALUE>",
"ghcr.io/ljcl/gaggiuino-mcp:6.0.0"
]
}
}
}
The server will be available in the next Claude Code session.
Add to .vscode/mcp.json
Windows / Linux path
.vscode\mcp.json.vscode/mcp.json{
"servers": {
"io-github-ljcl-gaggiuino-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"-e",
"GAGGIUINO_URL=<YOUR_VALUE>",
"-e",
"PORT=<YOUR_VALUE>",
"-e",
"HOST=<YOUR_VALUE>",
"-e",
"MCP_PUBLIC_URL=<YOUR_VALUE>",
"-e",
"MCP_OAUTH_SECRET=<YOUR_VALUE>",
"-e",
"MCP_OAUTH_PASSPHRASE_HASH=<YOUR_VALUE>",
"-e",
"MCP_OAUTH_ISSUER=<YOUR_VALUE>",
"-e",
"MCP_ALLOWED_ORIGINS=<YOUR_VALUE>",
"-e",
"MCP_ALLOWED_HOSTS=<YOUR_VALUE>",
"-e",
"LOG_LEVEL=<YOUR_VALUE>",
"-e",
"MCP_AUTH_TOKEN=<YOUR_VALUE>",
"ghcr.io/ljcl/gaggiuino-mcp:6.0.0"
]
}
}
}
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-ljcl-gaggiuino-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"-e",
"GAGGIUINO_URL=<YOUR_VALUE>",
"-e",
"PORT=<YOUR_VALUE>",
"-e",
"HOST=<YOUR_VALUE>",
"-e",
"MCP_PUBLIC_URL=<YOUR_VALUE>",
"-e",
"MCP_OAUTH_SECRET=<YOUR_VALUE>",
"-e",
"MCP_OAUTH_PASSPHRASE_HASH=<YOUR_VALUE>",
"-e",
"MCP_OAUTH_ISSUER=<YOUR_VALUE>",
"-e",
"MCP_ALLOWED_ORIGINS=<YOUR_VALUE>",
"-e",
"MCP_ALLOWED_HOSTS=<YOUR_VALUE>",
"-e",
"LOG_LEVEL=<YOUR_VALUE>",
"-e",
"MCP_AUTH_TOKEN=<YOUR_VALUE>",
"ghcr.io/ljcl/gaggiuino-mcp:6.0.0"
]
}
}
}
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-ljcl-gaggiuino-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"-e",
"GAGGIUINO_URL=<YOUR_VALUE>",
"-e",
"PORT=<YOUR_VALUE>",
"-e",
"HOST=<YOUR_VALUE>",
"-e",
"MCP_PUBLIC_URL=<YOUR_VALUE>",
"-e",
"MCP_OAUTH_SECRET=<YOUR_VALUE>",
"-e",
"MCP_OAUTH_PASSPHRASE_HASH=<YOUR_VALUE>",
"-e",
"MCP_OAUTH_ISSUER=<YOUR_VALUE>",
"-e",
"MCP_ALLOWED_ORIGINS=<YOUR_VALUE>",
"-e",
"MCP_ALLOWED_HOSTS=<YOUR_VALUE>",
"-e",
"LOG_LEVEL=<YOUR_VALUE>",
"-e",
"MCP_AUTH_TOKEN=<YOUR_VALUE>",
"ghcr.io/ljcl/gaggiuino-mcp:6.0.0"
]
}
}
}
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 |
|---|---|---|
| GAGGIUINO_URL | No | URL of your Gaggiuino machine. Default: http://gaggiuino.local |
| PORT | No | Port for the MCP server. Default: 8000 |
| HOST | No | Host to bind to. Default: 0.0.0.0 |
| MCP_PUBLIC_URL | No | Public https origin clients reach this server on, with no path (e.g. https://box.tailnet.ts.net). Set with MCP_OAUTH_SECRET to enable OAuth; it is advertised as the OAuth resource and must match the URL entered in the client exactly |
| MCP_OAUTH_SECRET secret | No | Signing key for self-issued OAuth access and refresh tokens, at least 32 characters (openssl rand -hex 32). Keep it stable across restarts so clients stay signed in |
| MCP_OAUTH_PASSPHRASE_HASH secret | No | scrypt hash of the passphrase you type on the OAuth consent page, in the form scrypt$N$r$p$salt$hash. Required whenever OAuth is enabled. Generate with `bun run hash-passphrase` — never store the passphrase itself |
| MCP_OAUTH_ISSUER | No | External OAuth issuer URL to delegate token issuing to (e.g. a Keycloak or Authentik realm). Puts the server in resource-server-only mode; requires MCP_PUBLIC_URL and refuses to start alongside MCP_OAUTH_SECRET or MCP_OAUTH_PASSPHRASE_HASH |
| MCP_ALLOWED_ORIGINS | No | Comma-separated browser origins allowed to call /mcp. * allows any (unsafe). |
| MCP_ALLOWED_HOSTS | No | Comma-separated Host header values to accept. Empty disables the check. |
| LOG_LEVEL | No | debug, info, warn, error, or silent. Logs are one JSON object per line on stderr. Default: info |
| MCP_AUTH_TOKEN | No | Shared secret required as Authorization: Bearer <token> on /mcp. Unset serves the endpoint unauthenticated and disables select_profile. |