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

metamcp-cli

v0.1.3

Published

CLI wrapper for MetaMCP — auto-configure MCP clients from your MetaMCP instance

Readme

metamcp-cli

npm version GitHub

CLI wrapper for MetaMCP — auto-detect your IDEs and configure them to use your MetaMCP instance in seconds.

GitHub | npm

Install

npm install -g metamcp-cli

Requires Node.js >= 18 and uv (uvx must be available for Claude Code / Claude Desktop).

Quick Start

# Interactive wizard — does everything in one step
metamcp-cli setup

Or step by step:

# 1. Connect to your MetaMCP instance
metamcp-cli init

# 2. See what IDEs you have installed
metamcp-cli scan

# 3. List available endpoints
metamcp-cli endpoints

# 4. Configure your IDEs to use an endpoint
metamcp-cli use my-endpoint

Commands

| Command | Description | |---------|-------------| | setup | Interactive wizard: connect, pick endpoint, configure IDEs | | init | Configure MetaMCP instance URL and API key | | scan | Detect installed MCP clients (IDEs) | | endpoints | List available MetaMCP endpoints | | namespaces | List namespaces (requires session auth) | | use <endpoint> | Configure detected clients to use a MetaMCP endpoint | | status | Show current configuration and connection status |

Supported Clients

| Client | Config Location | Transport | |--------|----------------|-----------| | Claude Code | .mcp.json (project dir) | uvx mcp-proxy (streamable HTTP) | | VS Code | .vscode/mcp.json (project dir) | SSE | | Claude Desktop | Global config | uvx mcp-proxy (streamable HTTP) | | Cursor | ~/.cursor/mcp.json | SSE | | Windsurf | ~/.codeium/windsurf/mcp_config.json | SSE | | Cline | VS Code extension settings | npx mcp-remote |

Example

$ metamcp-cli setup

⚡ MetaMCP Quick Setup

? MetaMCP instance URL: https://metamcp.example.com
? API Key: ****
✔ Connected to MetaMCP

? Select endpoint to use:
  > my-workspace (production) — Production tools
    dev-tools (development) — Dev and testing

? Select clients to configure:
  [x] Claude Code
  [x] Cursor

✔ Claude Code configured
✔ Cursor configured

✓ Setup complete!
  Instance:  https://metamcp.example.com
  Endpoint:  my-workspace
  Clients:   Claude Code, Cursor

Generated Configs

Claude Code / Claude Desktop (.mcp.json):

{
  "mcpServers": {
    "metamcp": {
      "command": "uvx",
      "args": [
        "mcp-proxy",
        "--transport",
        "streamablehttp",
        "https://metamcp.example.com/metamcp/my-endpoint/mcp"
      ],
      "env": {
        "API_ACCESS_TOKEN": "sk_mt_your_api_key_here"
      }
    }
  }
}

Cursor / VS Code (SSE):

{
  "mcpServers": {
    "metamcp": {
      "url": "https://metamcp.example.com/metamcp/my-endpoint/sse",
      "headers": {
        "Authorization": "Bearer sk_mt_your_api_key_here"
      }
    }
  }
}

Options

metamcp-cli use <endpoint> --client cursor    # Only configure Cursor
metamcp-cli use <endpoint> --force            # Overwrite without asking
metamcp-cli init --insecure                   # Allow self-signed certs

Prerequisites

  • A running MetaMCP instance
  • An API key generated in the MetaMCP dashboard
  • uvx (from uv) for Claude Code / Claude Desktop
  • npx for Cline

How It Works

  1. Connects to your MetaMCP instance via its public API
  2. Auto-detects which MCP-compatible IDEs are installed on your system
  3. Writes the correct MCP server configuration to each client's config file
  4. Creates backups (.metamcp-backup) before modifying any existing config

Security

  • Config stored at ~/.metamcp-cli/config.json with 0600 permissions
  • API keys are never logged to stdout
  • Automatic backup before modifying IDE configs
  • API key input is masked during entry

License

MIT