AI / MLTypeScript

mcp-cli

mcpc is a command-line interface for the Model Context Protocol that allows users to interact with MCP servers easily.

Free
N/A rating (0 reviews)0 installs443 GitHub stars
MCPCLIAIOAuthScripting

mcpc serves as a versatile CLI client for the Model Context Protocol (MCP), enabling users to perform various operations through intuitive commands. It supports persistent sessions, allowing multiple server connections to remain active simultaneously, and offers robust MCP support for tasks such as dynamic discovery and async operations. Additionally, mcpc features a 'code mode' that outputs JSON, facilitating integration with other CLI tools and scripting environments. The client is designed to work seamlessly across different operating systems, including Mac, Windows, and Linux, with minimal dependencies. Security is a priority, with full OAuth 2.1 support and the use of OS keychains for credential storage. Furthermore, mcpc includes experimental support for agentic payments, allowing AI agents to pay for MCP tool calls using USDC on the Base platform, making it a comprehensive tool for developers and AI coding agents alike.

Compatible with

Claude DesktopCursor

Install

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "mcp-cli": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-cli"
      ]
    }
  }
}

Config File Location

Mac: ~/Library/Application Support/Claude/claude_desktop_config.json

Windows: %APPDATA%\Claude\claude_desktop_config.json

Linux: ~/.config/claude/claude_desktop_config.json

Some servers require additional setup - check the GitHub README for specific instructions.

Permissions

ok0
ok1
mcp-cli MCP Server — MCPNest — MCPNest