New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

coder-link

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

coder-link

Coder Link: connect coding tools to any model/provider

latest
Source
npmnpm
Version
0.2.0
Version published
Maintainers
1
Created
Source

A CLI that links coding tools to models from multiple providers.

Features

  • Multi-Provider Support: GLM Coding Plan (Global/China), Kimi 2.5, OpenRouter, NVIDIA, and LM Studio (local)
  • Interactive Wizard: Friendly onboarding guidance on first launch
  • Tool Management: Automatically configures CLI tools with your API credentials
  • Quick Launch: Run any configured tool directly with coder-link run <tool>
  • MCP Configuration: Easily manage Model Context Protocol services
  • Local Storage: All settings stored securely on your machine
  • Internationalization: Chinese and English bilingual interface
  • Status & Health Check: View current configuration and diagnose issues quickly

Screenshots

Main Menu

Main Menu

Provider Configuration

Provider Configuration

Coding Tools

Coding Tools

Supported Coding Tools

  • Claude Code
  • OpenCode
  • Crush
  • Factory Droid
  • Kimi (native)
  • AMP Code
  • Pi CLI

Quick Start

Prerequisite: Node.js 18 or later

Install and Launch

Option 1: Run directly with npx

npx coder-link

Option 2: Install globally with npm

npm install -g coder-link
coder-link

Option 3: Install globally with bun

bun add -g coder-link
coder-link

Complete the Wizard

Once you enter the wizard UI, use Up/Down arrow keys to navigate and press Enter to confirm each action, following the guided initialization flow.

The wizard will help you complete:

  • Select UI language (English or Chinese)
  • Choose a provider (GLM Coding Plan Global/China, Kimi 2.5, OpenRouter, or NVIDIA)
  • Enter your API key
  • Select tools to manage
  • Automatically configure selected tools
  • Manage MCP services (optional)

Command List

Show help

coder-link -h
coder-link --help

Show version

coder-link -v
coder-link --version

Run the initialization wizard

coder-link init

Language management

coder-link lang show              # Display the current language
coder-link lang set zh_CN         # Switch to Chinese
coder-link lang set en_US         # Switch to English
coder-link lang --help            # Show help for language commands

API key management

coder-link auth                              # Interactively set key
coder-link auth glm_coding_plan_global <token>   # Choose Global plan and set key
coder-link auth glm_coding_plan_china <token>   # Choose China plan and set key
coder-link auth kimi <token>                    # Set Kimi API key
coder-link auth openrouter <token>              # Set OpenRouter API key
coder-link auth nvidia <token>                 # Set NVIDIA API key
coder-link auth revoke                       # Delete the saved key
coder-link auth reload <tool>                # Reload config into a tool
coder-link auth --help                        # Show help for auth commands

Tool management

coder-link tools list             # List all supported tools and their status
coder-link tools install <tool>   # Install a coding tool
coder-link tools uninstall <tool> # Uninstall a coding tool

Run a tool directly

Launch any configured coding tool without entering the interactive menu:

coder-link run droid              # Launch Factory Droid with your configured provider
coder-link run claude             # Launch Claude Code
coder-link run opencode           # Launch OpenCode
coder-link run crush              # Launch Crush
coder-link run kimi               # Launch Kimi
coder-link run pi                 # Launch Pi CLI
coder-link run codex              # Launch Codex CLI
coder-link run mastra             # Launch Mastra Code
coder-link run ob1                # Launch OB1 CLI

Options:

coder-link run droid --new-window     # Launch in a new terminal window (Windows only)
coder-link run droid --same-window    # Launch in this terminal
coder-link run droid --skip-config    # Skip provider config sync, just launch
coder-link run droid --model <model>  # Override model to use
coder-link run droid --plan <plan>    # Use a specific provider plan
coder-link run droid --api-key <key>  # Use a specific API key
coder-link run droid --json           # Output as JSON for programmatic use

Tool aliases: You can use short names like droid for factory-droid, claude for claude-code, and mastracode for mastra.

MCP management

coder-link mcp list               # List available MCP services
coder-link mcp installed          # List installed MCP services
coder-link mcp install <service>  # Install an MCP service
coder-link mcp uninstall <service> # Uninstall an MCP service

Health check

coder-link doctor                 # Inspect system configuration and tool status

Configuration File

The configuration file is stored at ~/.coder-link/config.yaml:

lang: zh_CN                    # UI language
plan: glm_coding_plan_global   # Plan type: glm_coding_plan_global, glm_coding_plan_china, or kimi
api_key: your-api-key-here     # API key

Provider Details

GLM Coding Plan (Global)

  • Base URL: https://api.z.ai/api/anthropic (Claude Code) or https://api.z.ai/api/coding/paas/v4 (others)
  • Models: GLM-5, GLM-4.7, GLM-4.6, GLM-4.5-air
  • Get your API key from Z.AI Open Platform

GLM Coding Plan (China)

  • Base URL: https://open.bigmodel.cn/api/anthropic (Claude Code) or https://open.bigmodel.cn/api/coding/paas/v4 (others)
  • Models: GLM-5, GLM-4.7, GLM-4.6, GLM-4.5-air
  • Get your API key from Z.AI Open Platform

OpenRouter

  • Base URL: https://openrouter.ai/api/v1
  • Models: Various LLMs including Claude, GPT, and more
  • Get your API key from OpenRouter.ai

NVIDIA

How It Works

The tool uses a manager pattern where each coding tool has its own manager class that knows how to:

  • Read and write the tool's configuration file
  • Inject the appropriate API credentials and endpoints
  • Detect existing configurations
  • Manage MCP (Model Context Protocol) services

When you run coder-link auth <plan> <token> or use the wizard, the tool:

  • Saves your API key and plan type to ~/.coder-link/config.yaml
  • For each selected tool, calls its manager's loadConfig() method
  • The manager writes the appropriate configuration to the tool's config file
  • MCP services can be installed to extend tool capabilities

MCP Services

MCP (Model Context Protocol) allows coding tools to access external services. Built-in MCP services include:

  • filesystem: File system operations
  • github: GitHub integration

You can also install custom MCP services through the tool's own marketplace (Claude Code) or manually configure them.

Development

# Clone the repository
git clone https://github.com/HenkDz/coder-link.git
cd coder-link

# Install dependencies
bun install

# Build
bun run build

# Run in development mode
bun run dev

# Lint
bun run lint

Contributing

We welcome contributions! Please feel free to submit issues or pull requests.

License

MIT

Keywords

cli

FAQs

Package last updated on 22 Mar 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts