Install guide · VS Code
Install ntfy-mcp-server for VS Code
Workspace file .vscode/mcp.json uses the servers key. User settings can hold the same shape.
Add to Cursor: ntfy-mcp-serverInstall in VS Code: ntfy-mcp-serverInstall in VS Code Insiders: ntfy-mcp-server
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
Open .vscode/mcp.json on macOS, .vscode/mcp.json on Windows, or .vscode/mcp.json on Linux.
Paste the JSON config below.
Replace placeholder secrets, then restart the client if it does not reload on its own.
{ "servers": { "cyanheads-ntfy-mcp-server": { "type": "stdio", "command": "npx", "args": [ "-y", "ntfy-mcp-server@2.4.3" ], "env": { "NTFY_SERVERS": "", "NTFY_BASE_URL": "https://ntfy.sh", "NTFY_DEFAULT_TOPIC": "", "NTFY_AUTH_TOKEN": "", "NTFY_AUTH_USERNAME": "", "NTFY_AUTH_PASSWORD": "", "NTFY_REQUEST_TIMEOUT_MS": "15000", "NTFY_MAX_RETRIES": "3", "NTFY_BLOCK_PRIVATE_HOSTS": "false", "NTFY_CLAMP_LIMITS": "true", "NTFY_ENABLE_EMOJI_TAGS": "true", "MCP_LOG_LEVEL": "info", "LOGS_DIR": "./logs", "OTEL_ENABLED": "false" } } }}
Where the config lives
| System | Path |
|---|---|
| macOS | .vscode/mcp.json |
| Windows | .vscode/mcp.json |
| Linux | .vscode/mcp.json |