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

@creepiest-space/mcpx-cli

v0.1.0

Published

Manage and synchronize MCP server configurations across AI development tools

Readme

MCPX CLI

Keep your MCP servers in sync across AI development tools.

MCPX stores your server definitions in one canonical configuration and generates the native files used by Claude Code, Cursor, Codex, OpenCode, VS Code, IntelliJ IDEA, and other supported tools. Use the interactive wizard for setup or individual commands for automation.

Why MCPX?

  • Configure an MCP server once and reuse it across multiple tools.
  • Manage project-specific and global configurations separately.
  • Import existing tool configurations instead of starting over.
  • Preserve unrelated settings and comments in shared configuration files.
  • Detect missing, invalid, or out-of-date generated configurations.
  • Use local stdio servers and remote HTTP servers.

Requirements

  • Node.js 20 or newer
  • npm, included with Node.js

Install

npm install --global @creepiest-space/mcpx-cli

Confirm the installation:

mcpx --version
mcpx --help

Quick start

Open a project directory and start the setup wizard:

cd my-project
mcpx init

The wizard lets you select tools, create MCP servers, import detected configurations, and generate the required files.

After setup, use these commands for day-to-day work:

mcpx list
mcpx status
mcpx sync

Common workflows

Add a server

mcpx add context7

MCPX asks for the transport and connection details, updates the canonical configuration, and offers to synchronize the selected tools.

Import existing servers

Detect an existing tool configuration and choose which servers to import:

mcpx import

Import every detected server from a specific tool without selection prompts:

mcpx import cursor --all

When a server name already exists, choose a conflict policy:

mcpx import cursor --all --conflict skip
mcpx import cursor --all --conflict overwrite
mcpx import cursor --all --conflict rename

Enable or disable a server

mcpx disable filesystem
mcpx enable filesystem

Disabled servers remain in the canonical configuration but are omitted or marked disabled according to each tool's native format.

Remove a server

mcpx remove filesystem

Skip the confirmation prompt when scripting:

mcpx remove filesystem --yes

Check and repair generated configurations

mcpx status
mcpx sync

status reports missing, invalid, or out-of-date tool configurations. sync regenerates them from the canonical configuration.

Work with another directory

You do not need to change the current working directory:

mcpx status --dir ../another-project
mcpx sync --dir ../another-project

Project and global configurations

MCPX supports two independent scopes:

| Scope | Canonical file | Use it for | | ------- | -------------------- | ----------------------------------------------- | | Project | .agents/mcp.json | Servers and tools used by one repository | | Global | ~/.agents/mcp.json | Servers and tools available across your machine |

Use --scope global when you want to modify global configuration:

mcpx init --scope global
mcpx add context7 --scope global
mcpx sync --scope global

Without an explicit scope:

  • list and status use project configuration when it exists, then fall back to global configuration.
  • Commands that make changes use project scope and never silently modify global configuration.
  • Commands run against your home directory use global scope.

Commands

| Command | Description | | ------------------------ | --------------------------------------- | | mcpx init | Run the interactive setup wizard | | mcpx add [name] | Add an MCP server | | mcpx remove [name] | Remove an MCP server | | mcpx enable <name> | Enable a server | | mcpx disable <name> | Disable a server | | mcpx list | List canonical servers | | mcpx import [provider] | Import servers from an existing tool | | mcpx status | Check generated tool configurations | | mcpx sync | Regenerate selected tool configurations |

Options available to every command:

| Option | Description | | ------------------------- | ---------------------------------------- | | -d, --dir <path> | Use a different project directory | | --scope project\|global | Select project or global configuration | | --verbose | Show diagnostics and detailed error data | | --help | Show command-specific help |

Run mcpx <command> --help to see arguments specific to a command.

Supported tools

| Tool | Provider ID | Project | Global | | ------------------ | ----------------- | :-----: | :----: | | Claude Code | claude-code | ✓ | ✓ | | Cursor | cursor | ✓ | ✓ | | Antigravity CLI | antigravity-cli | ✓ | ✓ | | Kimi CLI | kimi-cli | ✓ | ✓ | | OpenAI Codex | openai-codex | ✓ | ✓ | | OpenCode | opencode | ✓ | ✓ | | GitHub Copilot CLI | copilot-cli | ✓ | ✓ | | VS Code | vscode | ✓ | — | | IntelliJ IDEA | intellij | ✓ | — |

MCPX respects KIMI_CODE_HOME and COPILOT_HOME when resolving global configurations. OpenCode global detection supports both opencode.jsonc and opencode.json.

Canonical configuration

Most users can manage configuration entirely through the CLI. If you need to inspect or edit it, the canonical format looks like this:

{
  "version": 1,
  "providers": ["claude-code", "openai-codex"],
  "servers": {
    "filesystem": {
      "enabled": true,
      "transport": "stdio",
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-filesystem", "."]
    },
    "context7": {
      "enabled": true,
      "transport": "http",
      "url": "https://mcp.context7.com/mcp"
    }
  }
}

Server names may contain letters, numbers, ., _, and -, and must start with a letter or number. HTTP server URLs must use http or https.

After editing the file manually, validate and apply it with:

mcpx status
mcpx sync

Safe synchronization

MCPX updates only the MCP sections it manages. It preserves unrelated settings in shared JSON, JSONC, and TOML files, including JSONC and Codex TOML comments outside generated values. Invalid existing files are reported and left unchanged. Writes are atomic and generated configuration files use restrictive permissions.

Automation and exit codes

Commands return stable exit codes for scripts and CI:

| Code | Meaning | | ---- | --------------------------------------------------------------- | | 0 | Success, no change required, or interactive cancellation | | 1 | Missing or out-of-date configuration, or an operational failure | | 2 | Invalid arguments or an unknown requested resource |

For example, use mcpx status in CI to fail when generated configurations need synchronization.

Troubleshooting

Show detailed provider-detection diagnostics and error information:

mcpx status --verbose
mcpx sync --verbose

If MCPX cannot find a canonical configuration, run mcpx init in the project or explicitly select the global scope with --scope global.

Update or uninstall

npm install --global @creepiest-space/mcpx-cli@latest
npm uninstall --global @creepiest-space/mcpx-cli

License

MIT