npm install -g @modelcontextprotocol/cli

Category: AI Agents & MCP

npm install -g @modelcontextprotocol/cli

Install the official MCP CLI tools globally

The MCP CLI provides utilities for testing MCP servers, inspecting available tools, and running servers locally. Required for developing and debugging MCP server implementations before connecting them to an agent.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.