MCP Cmd

v1.0.0Developer Toolsstable

CLI for calling successive MCP Server tools

mcpmcp-clientmcp-tools
Share:
24
Stars
0
Downloads
0
Weekly
0/5

What is MCP Cmd?

MCP Cmd is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to cli for calling successive mcp server tools

CLI for calling successive MCP Server tools

This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • CLI for calling successive MCP Server tools

Use Cases

Call MCP server tools in sequence from the command line.
developit

Maintainer

LicenseMIT
Languagejavascript
Versionv1.0.0
UpdatedMar 20, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx mcp-cmd

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use MCP Cmd

mcp-cmd is a command-line interface that lets developers start, inspect, and call tools on any MCP server without needing an AI client in the loop. It runs a named MCP server as a persistent background process and routes successive tool calls to that same instance, making it ideal for scripting, testing, and CI workflows that need repeatable MCP interactions. Developers can list available tools and prompts, execute them with named arguments, and shut everything down cleanly — all from the terminal.

Prerequisites

  • Node.js 18 or later installed
  • npx available (bundled with npm 5.2+)
  • The target MCP server available (e.g. @modelcontextprotocol/server-puppeteer)
  • An MCP-compatible client such as Claude Desktop if using as a desktop tool
1

Install and run mcp-cmd

mcp-cmd is run directly with npx — no global install required. Use it to start any MCP server under a friendly name.

npx mcp-cmd start puppeteer npx -y @modelcontextprotocol/server-puppeteer
2

List available tools on a running server

Once the server is started under a name, inspect which tools it exposes.

npx mcp-cmd tools puppeteer
3

List available prompts

Similarly, list any MCP prompt templates the server exposes.

npx mcp-cmd prompts puppeteer
4

Call a tool with named arguments

Execute a tool on the running server by passing arguments as --key=value flags.

npx mcp-cmd call puppeteer navigate --url=https://example.com
npx mcp-cmd call puppeteer screenshot --name=homepage
5

Stop the server when done

Shut down the background MCP server process cleanly.

npx mcp-cmd stop puppeteer

MCP Cmd Examples

Client configuration

Add mcp-cmd itself as an MCP server in Claude Desktop to use it as a meta-tool for managing other servers.

{
  "mcpServers": {
    "mcp-cmd": {
      "command": "npx",
      "args": ["mcp-cmd"]
    }
  }
}

Prompts to try

Typical terminal workflows once mcp-cmd is running with a server.

- "Start the filesystem MCP server and list its tools"
- "Call the puppeteer navigate tool to open https://example.com"
- "Take a screenshot of the current page and save it as 'result'"
- "Stop the puppeteer server"

Troubleshooting MCP Cmd

Server fails to start with 'command not found' for the underlying MCP server

Ensure the underlying MCP server package is accessible to npx, e.g. run `npx -y @modelcontextprotocol/server-puppeteer` standalone first to confirm it installs correctly.

Tool call returns 'server not running' error

You must run `mcp-cmd start <name> <...command>` before calling tools. The server name passed to `call` must exactly match the name used in `start`.

Resources are not accessible via mcp-cmd

mcp-cmd only supports tools and prompts — MCP resources are not supported. Use a full MCP client like Claude Desktop for resource access.

Frequently Asked Questions about MCP Cmd

What is MCP Cmd?

MCP Cmd is a Model Context Protocol (MCP) server that cli for calling successive mcp server tools It connects AI assistants to external tools and data sources through a standardized interface.

How do I install MCP Cmd?

Follow the installation instructions on the MCP Cmd GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with MCP Cmd?

MCP Cmd works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is MCP Cmd free to use?

Yes, MCP Cmd is open source and available under the MIT license. You can use it freely in both personal and commercial projects.

Browse More Developer Tools MCP Servers

Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "mcp-cmd": { "command": "npx", "args": ["-y", "mcp-cmd"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use MCP Cmd?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides