1.0.2 • Published 9 months ago

mcpstudio v1.0.2

Weekly downloads
-
License
-
Repository
-
Last release
9 months ago

MCP Studio CLI

Command line interface for MCP Studio, allowing you to manage and interact with Model Context Protocol (MCP) servers.

Installation

# Install globally
npm install -g @mcpstudio/cli

# Or use with npx
npx @mcpstudio/cli

Usage

# Show help
mcpstudio help

# Start MCP Studio as a stdio server
mcpstudio stdio

# Add a new MCP configuration
mcpstudio add "My Server" --command "node" --args "server.js"

# List MCP configurations
mcpstudio list

# Remove an MCP configuration
mcpstudio remove "My Server"

# Use a specific MCP configuration
mcpstudio use "My Server"

Commands

stdio

Start MCP Studio as a stdio server. This is the main command used by the VSCode extension to communicate with MCP servers.

mcpstudio stdio

add

Add a new MCP configuration.

mcpstudio add <name> [options]

Options:

  • -c, --command <command> - Command to run the MCP server
  • -a, --args <args> - Arguments for the command (comma-separated)
  • -e, --env <env> - Environment variables (key=value,key2=value2)

Example:

mcpstudio add "GPT Server" --command "node" --args "server.js,--port=3000" --env "API_KEY=abc123,DEBUG=true"

remove

Remove an MCP configuration.

mcpstudio remove <name>

list

List all MCP configurations.

mcpstudio list

use

Use a specific MCP configuration.

mcpstudio use <name>

help

Display help information.

mcpstudio help

Configuration

MCP Studio CLI uses the configuration file located at ~/.mcpstudio/config.json. This file is shared with the MCP Studio VSCode extension.

License

MIT

1.0.2

9 months ago

1.0.1

9 months ago

1.0.0

9 months ago