mcpstudio
v1.0.2
Published
Command line interface for MCP Studio
Readme
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/cliUsage
# 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 stdioadd
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 listuse
Use a specific MCP configuration.
mcpstudio use <name>help
Display help information.
mcpstudio helpConfiguration
MCP Studio CLI uses the configuration file located at ~/.mcpstudio/config.json. This file is shared with the MCP Studio VSCode extension.
License
MIT
