npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

octocode-cli

v1.2.6

Published

Interactive CLI installer for octocode-mcp - Configure MCP servers for Cursor, Claude Desktop, and more

Readme

🐙 Octocode CLI

npm version npm downloads License

The unified installer and management hub for Octocode MCP servers and AI skills.

WebsiteDocumentationGitHub

Octocode CLI is the essential companion for AI-assisted development. It streamlines the installation of octocode-mcp, manages authentication across multiple AI clients, and keeps your MCP configurations synchronized.


✨ Key Features

  • 🚀 One-Step Installation: Instantly configure octocode-mcp for Cursor, Claude Desktop, Windsurf, Zed, and more.
  • 🔌 MCP Marketplace: Browse and install over 70+ community-vetted MCP servers directly from your terminal.
  • 🧠 AI Skills Manager: Install and update specialized AI coding skills for Claude Code (research, local-search, implement, plan, pr-review, roast).
  • 🔄 Universal Sync: Keep your MCP configurations and authentication states synchronized across all your IDEs.
  • 🔐 Secure Authentication: Enterprise-grade token management with encrypted storage and multiple auth providers.

🚀 Quick Start

Get up and running in seconds. The interactive wizard will guide you through installation and authentication.

npx octocode-cli

📦 Installation & Usage

Interactive Mode

The recommended way to use Octocode CLI. Access all features through a unified menu:

| Menu Item | Description | |-----------|-------------| | 🐙 Octocode MCP | Install and configure Octocode MCP for your IDEs | | 🐙 Octocode Skills | Install AI-powered research, planning & review skills | | 🧠 Manage System Skills | Browse skills marketplace and manage installed skills | | 🔑 Manage Auth | Sign in/out via Octocode OAuth or gh CLI | | ⚡ Manage System MCP | Sync configs, browse MCP marketplace, inspect settings |

npx octocode-cli

CLI Commands

For automation and power users, Octocode CLI offers a comprehensive command-line interface.

1. Install Octocode MCP

Install the GitHub MCP server for your preferred IDE.

# Interactive install
octocode-cli install

# Specific IDEs
octocode-cli install --ide cursor --method npx
octocode-cli install --ide claude-desktop --method direct
octocode-cli install --ide windsurf
octocode-cli install --ide zed

Supported IDEs: cursor, claude-desktop, claude-code, windsurf, zed, vscode-cline, vscode-roo, vscode-continue, opencode, trae, antigravity

2. Manage Authentication

Securely authenticate with GitHub. Credentials are encrypted (AES-256-GCM) and stored in ~/.octocode/.

# Interactive login (OAuth device flow)
octocode-cli login

# Check authentication status
octocode-cli status

# Enterprise Login
octocode-cli login --hostname github.mycompany.com

# Sign out
octocode-cli logout

# Auth management menu
octocode-cli auth

3. Get GitHub Token

Retrieve tokens for scripting or debugging.

# Get token (auto: env → gh → octocode)
octocode-cli token

# Get token from specific source
octocode-cli token --type=octocode
octocode-cli token --type=gh

# Show token source and user info
octocode-cli token --source

# JSON output for scripting
octocode-cli token --json

4. Sync Configurations

Keep your MCP settings consistent across different editors.

# Sync all IDEs
octocode-cli sync

# Preview changes (dry run)
octocode-cli sync --dry-run

# Show sync status
octocode-cli sync --status

# Force sync (auto-resolve conflicts)
octocode-cli sync --force

5. Manage Skills

Install AI skills for Claude Code.

# List available skills
octocode-cli skills list

# Install all skills
octocode-cli skills install

# Force reinstall (overwrite existing)
octocode-cli skills install --force

🖥️ Supported Clients

Octocode CLI supports a wide range of AI-first editors and tools.

| Client | Description | Config Location (macOS) | |--------|-------------|-------------------------| | Cursor | AI-first code editor | ~/.cursor/mcp.json | | Claude Desktop | Anthropic's desktop app | ~/Library/Application Support/Claude/ | | Windsurf | Codeium AI IDE | ~/.codeium/windsurf/mcp_config.json | | Zed | High-performance editor | ~/.config/zed/settings.json | | Claude Code | CLI Assistant | ~/.claude.json | | Trae | Adaptive AI IDE | ~/Library/Application Support/Trae/mcp.json | | Antigravity | Gemini-powered AI IDE | ~/.gemini/antigravity/mcp_config.json | | Opencode | AI coding agent CLI | ~/.config/opencode/config.json | | VS Code Extensions | Cline, Roo-Cline, Continue | (Varies by extension) |


🔧 Troubleshooting

If you encounter issues, try the following commands:

# Diagnose environment issues
npx node-doctor

# Reset local credentials
rm -rf ~/.octocode && octocode-cli login

# Verify auth status
octocode-cli status

Common Issues:

  • Token Expired: Run octocode-cli login to refresh credentials.
  • Browser Not Opening: Copy the authorization URL manually from the terminal.

📄 License

This project is licensed under the PolyForm Small Business License 1.0.0.

Copyright © 2024 Octocode AI.