Package Exports
- coder-link
- coder-link/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (coder-link) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Coder Link (coder-link)
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
- 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

Provider Configuration

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-linkOption 2: Install globally with npm
npm install -g coder-link
coder-linkOption 3: Install globally with bun
bun add -g coder-link
coder-linkComplete 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 --helpShow version
coder-link -v
coder-link --versionRun the initialization wizard
coder-link initLanguage 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 commandsAPI 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 commandsTool 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 toolMCP 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 serviceHealth check
coder-link doctor # Inspect system configuration and tool statusConfiguration 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 keyProvider Details
GLM Coding Plan (Global)
- Base URL:
https://api.z.ai/api/anthropic(Claude Code) orhttps://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) orhttps://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
- Base URL: Via NVIDIA's API gateway
- Models: Various NVIDIA-hosted models
- Sign up for access at NVIDIA's developer portal
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 lintContributing
We welcome contributions! Please feel free to submit issues or pull requests.
License
MIT