mcp-cli
БесплатноНе проверенA CLI inspector for the Model Context Protocol by [wong2](https://github.com/wong2)
Описание
A CLI inspector for the Model Context Protocol by wong2
README
A CLI inspector for the Model Context Protocol
https://github.com/user-attachments/assets/4cd113e9-f097-4c9d-b391-045c5f213183
Features
- Run MCP servers from various sources
- List Tools, Resources, Prompts
- Call Tools, Read Resources, Read Prompts
- OAuth support for SSE and Streamable HTTP servers
Usage
Run without arguments
npx @wong2/mcp-cli
This will use the config file of Claude Desktop.
Run with a config file
npx @wong2/mcp-cli -c config.json
The config file has the same format as the Claude Desktop config file.
Run servers from NPM
npx @wong2/mcp-cli npx <package-name> <args>
Add --pass-env if the server needs environment variables from your current shell.
Run locally developed server
npx @wong2/mcp-cli node path/to/server/index.js args...
Add --pass-env if the server needs environment variables from your current shell.
Connect to a running server over Streamable HTTP
npx @wong2/mcp-cli --url http://localhost:8000/mcp
Connect to a running server over SSE
npx @wong2/mcp-cli --sse http://localhost:8000/sse
Non-interactive mode
Run a specific tool, resource, or prompt without interactive prompts:
npx @wong2/mcp-cli [--config config.json] <command> <server-name>:<target> [--args '{}']
Examples:
# Call a tool without arguments
npx @wong2/mcp-cli -c config.json call-tool filesystem:list_files
# Call a tool with arguments
npx @wong2/mcp-cli -c config.json call-tool filesystem:read_file --args '{"path": "package.json"}'
# Read a resource
npx @wong2/mcp-cli -c config.json read-resource filesystem:file://system/etc/hosts
# Use a prompt
npx @wong2/mcp-cli -c config.json get-prompt filesystem:create_summary --args '{"text": "Hello world"}'
This mode is useful for scripting and automation, as it bypasses all interactive prompts and executes the specified primitive directly.
Purge stored data (OAuth tokens, etc.)
npx @wong2/mcp-cli purge
Related
- mcpservers.org - A curated list of MCP servers
Установить mcp-cli в Claude Desktop, Claude Code, Cursor
unyly install mcp-cliСтавит в Claude Desktop, Claude Code, Cursor и VS Code — сам разбирается с npx, uvx и сборкой из исходников.
Впервые? Поставь CLI: curl -fsSL https://unyly.org/install | sh
Или настроить вручную
Выполни в терминале:
claude mcp add mcp-cli -- npx -y @wong2/mcp-cliПошаговые гайды: как установить mcp-cli
FAQ
mcp-cli MCP бесплатный?
Да, mcp-cli MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для mcp-cli?
Нет, mcp-cli работает без API-ключей и переменных окружения.
mcp-cli — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить mcp-cli в Claude Desktop, Claude Code или Cursor?
Открой mcp-cli на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectCompare mcp-cli with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
