Socket
Book a DemoInstallSign in
Socket

@mcpspace/mcpx

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mcpspace/mcpx

MCPX is a command-line tool for organizing and managing MCP Servers as local workspaces. It enables seamless connection to multiple MCP servers (both local and remote) and bundles them into workspaces for use in AI Apps. All server communications are trac

1.0.0
latest
npmnpm
Version published
Maintainers
1
Created
Source

MCPX - A Model Context Workspace Manager

MCPX is a command-line tool for organizing and managing MCP Servers as local workspaces. It enables seamless connection to multiple MCP servers (both local and remote) and bundles them into workspaces for use in AI Apps. All server communications are tracked in a consolidated log store for easy monitoring and debugging.

πŸš€ Quick Start

# Import your MCP servers from config
mcpx server import config.json

# Create a workspace
mcpx ws create

# Run the gateway with your workspace
mcpx run <workspace-name>

πŸ”‘ Key Concepts

  • MCP Servers: Remote or local servers that provide Model Context Protocol services
  • Workspaces: Collections of MCP servers grouped together to be shared with AI Apps (e.g. a workspace for coding, writing, design, magic making!)
  • Gateway: A local MCP server that manages connections to configured MCP servers in a workspace and exposes them through a unified server to AI App's MCP clients

With MCPX, you can:

  • Manage multiple MCP server connections as a unified server
  • Create workspaces to organize servers for different projects
  • Start a gateway server to interact with your bundled MCP servers in a workspace
  • Monitor server communications through consolidated logging
  • Configure and modify workspace settings easily

🧭 Top-Level Commands

mcpx [command] [subcommand] [flags]

Available top-level commands:

  • server - Manage MCP providers
  • ws - Manage workspaces
  • run - Run the gateway with a workspace
  • log - View the server log location

πŸ”§ MCP Server Management Commands

βž• Add a new MCP server (local or remote)

mcpx server add

Interactive flow that guides you through:

  • Selecting server type (Local Command/stdio or Remote Server/SSE)
  • Setting server name
  • Configuring connection details (command or URL)
  • Optional environment variables (for local servers)

πŸ“‹ List all added MCP servers

mcpx server list

Displays all configured servers with their details and allows you to:

  • View server configurations
  • Scan server capabilities
  • Check server status

❌ Remove a server

mcpx server remove <name>

Removes a server configuration by its name, with confirmation prompt.

βš™οΈ Import servers from config file

mcpx server import <config-file>

Bulk imports server configurations from a JSON file.

πŸ§ͺ Workspace Commands

πŸ“¦ Create a new workspace

mcpx ws create

Interactive flow that guides you through:

  • Setting workspace name
  • Selecting servers to include
  • Confirming workspace creation

πŸ“‹ List workspaces

mcpx ws list [--name <workspace-name>]

Lists all workspaces or shows details of a specific workspace.

✏️ Edit a workspace

mcpx ws edit

Interactive flow to:

  • Select a workspace to edit
  • Modify included servers
  • Update workspace settings

❌ Delete a workspace

mcpx ws delete <workspace-name>

Deletes a workspace configuration, with confirmation prompt.

πŸš€ Run the gateway

mcpx run <workspace-name>

Starts the gateway server with the specified workspace configuration.

πŸ“Š View Logs

mcpx log

Access server communication logs stored in the consolidated log store.

βœ… Command Cheat Sheet

CommandDescriptionExample
server addAdd a new MCP server interactivelymcpx server add
server listList all configured serversmcpx server list
server removeRemove a server by namemcpx server remove my-server
server importImport servers from config filemcpx server import config.json
ws createCreate a new workspacemcpx ws create
ws listList all workspacesmcpx ws list
ws list --nameShow specific workspace detailsmcpx ws list --name my-workspace
ws editEdit workspace configurationmcpx ws edit
ws deleteDelete a workspacemcpx ws delete my-workspace
runStart gateway with workspacemcpx run my-workspace
logView server logsmcpx log

FAQs

Package last updated on 24 Apr 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚑️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.