Skip to main content

Command Palette

Search for a command to run...

Effortlessly Manage MCP Configurations with Cross-Platform MCP Manager CLI

Updated
Effortlessly Manage MCP Configurations with Cross-Platform MCP Manager CLI
N

HI there πŸ‘‹

I'm Nir Adler, and I'm a Developer, Hacker and a Maker, you can start with me a conversation on any technical subject out there, you will find me interesting.

Managing MCP (Model Context Protocol) configurations across different environments like Cursor and Claude Desktop can be a real headache. Copying files, keeping track of updates, merging configs, or sharing them between machines often turns into a manual, error-prone process.

That’s why we built Portable MCP Manager - an open-source, cross-platform CLI tool that makes managing, sharing, and syncing MCP configurations simple and reliable.


✨ Why Portable MCP Manager?

Portable MCP Manager solves a common problem for developers and power users who rely on MCP-based tools. Instead of juggling files and paths across environments, you now have a single, streamlined way to:

  • πŸ”„ Replace or merge configs from multiple sources

  • πŸ”— Fetch configs directly from URLs or GitHub Gists (even private ones)

  • πŸ“± Manage configs for Cursor and Claude Desktop

  • πŸ–₯️ Run seamlessly on Windows and macOS

  • πŸ“€ Upload configs back to GitHub Gists with ease

  • 🎯 Use an interactive mode if you prefer guided setup

  • πŸ”€ Handle multi-file gists without hassle

  • πŸ› οΈ Take advantage of GitHub CLI if installed


⚑ Getting Started

Install it globally via npm:

npm install -g portable-mcp

Or just run it on-demand with npx:

npx portable-mcp --help

🚦 Quick Start

1. Interactive Mode (Beginner-Friendly)

portable-mcp

2. Replace a Configuration from Gist

portable-mcp replace --type cursor --gist 50007c6cd60db13cf8477b3b5caa96f0

3. Merge Configurations

portable-mcp merge --type claude --gist abc123def456

4. Upload Config to Gist

portable-mcp store --type cursor --private

πŸ” Example Workflows

Complete Sync Cycle

# Check default config path
portable-mcp path --type cursor  

# Replace with a config from Gist
portable-mcp replace --type cursor --gist abc123def456  

# Upload updated config back
portable-mcp store --type cursor --private

Multi-file Gist Example

portable-mcp replace --type claude --gist abc123def456/claude.json

πŸ”— GitHub Integration

  • If you have GitHub CLI installed, the tool uses it automatically.

  • Otherwise, set a GITHUB_TOKEN for direct API uploads.

export GITHUB_TOKEN=ghp_your_personal_access_token_here

πŸ“ Supported Config Paths

  • Cursor

    • Windows: C:\Users\<username>\.cursor\mcp.json

    • macOS: ~/Library/Application Support/Cursor/User/mcp.json

  • Claude Desktop

    • Windows: C:\Users\<username>\AppData\Roaming\Claude\claude_desktop_config.json

    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json


Source code: https://github.com/niradler/portable-mcp

More from this blog

P

Piece by Piece

46 posts

Hi πŸ‘‹, let me share a story with you. I don't want to overwhelm you, so I'm serving this story piece by piece.