mcp-use/mcp-use-cli
소개
Read-only mirror of the current @mcp-use/cli package from the mcp-use monorepo
AI 및 머신러닝측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Original⚠️ This is a read-only mirror of
libraries/typescript/packages/cliin the mcp-use/mcp-use monorepo.🚀 Please submit issues and pull requests to the monorepo instead.
🛠 This branch mirrors:
main🌐 Source folder:
libraries/typescript/packages/cli
@mcp-use/cli
Prebuilt CLI, development server, build pipeline, and MCP client for mcp-use.
npx mcp-use dev
npx mcp-use client connect demo https://example.com/mcp
npx mcp-use client demo tools list
Commands
mcp-use <command> [options]
dev Start the dev server
build Build the server into .mcp-use/build
typecheck Refresh MCP types and run the project's TypeScript compiler
start Serve the production build from .mcp-use/build
client Connect to and invoke MCP servers
feedback Send CLI feedback to Manufact
screenshot Capture an MCP Apps view
deploy Deploy from GitHub or upload local source
analytics Discover and query deployed-server analytics
login/logout/whoami/org/servers/deployments
Manage Manufact Cloud sessions, servers, and deployments
mcp-use dev serves the MCP endpoint, watches views for HMR, and mounts the
Inspector. --tunnel exposes either dev or start through the managed
relay in @mcp-use/tunnel.
Run mcp-use --help for the full option list.
Send CLI feedback
mcp-use feedback send "Deploy output should include the server URL."
mcp-use feedback send "The env push error needs a recovery command." --json
Pass one quoted message (1–10,000 characters). No login is required. Use
--json for a machine-readable receipt. For dash-leading text, use
mcp-use feedback send -- '--json output is missing'.
Reports are explicit submissions to the SDK's PostHog project, even with passive analytics disabled. Only the supplied message, report ID, anonymous installation ID, and the basic CLI metadata described below are sent. No logs, project files, credentials, or conversations are collected. Review report text before sending and omit secrets or personal data. If identity storage is unavailable, the report uses a temporary random ID.
The request has a 10-second timeout and no automatic retries. Exit 0 means the
capture endpoint accepted the request, not that someone has reviewed it or that
downstream ingestion has completed. --json returns { "accepted": true, "reportId": "<uuid>" }. Exit 1 returns feedback_rejected,
feedback_network_error, or feedback_timeout; timeout/network errors leave
acceptance unknown. Invalid input exits 2 with usage_error.
Query server analytics
Discover the live analytics schema, then run read-only ClickHouse SQL using
your Cloud login and linked server (or pass --server <id-or-slug>):
mcp-use analytics catalog --json
mcp-use analytics query "SELECT client_name, sum(events) AS requests FROM clients_daily WHERE bucket >= {from:DateTime64(3)} AND bucket < {to:DateTime64(3)} AND traffic_class != 'non_mcp' GROUP BY client_name ORDER BY requests DESC LIMIT 20" --time-range 7d --json
The catalog returns relations, columns, metric expressions, examples, retention,
and query limits. Query defaults are the last seven days and at most 100 rows.
Use --time-range 1h|24h|7d|30d|90d, or --from <ISO timestamp> --to <ISO timestamp>
for an inclusive start and exclusive end. Include time predicates in SQL;
the window binds the {from} and {to} parameters. Use --branch <name> for
a preview branch; omitting it includes all environments. Internal traffic is
excluded unless --include-internal is passed. --max-rows allows 1–500 rows.
Cloud enforces server access, retention, read-only queries, and execution budgets.
--json preserves columns, positional rows, integer strings, truncation,
statistics, and freshness metadata. Query text is excluded from passive CLI
telemetry. Install the bundled manufact-analytics skill and SQL guidance with
mcp-use skills install. Run mcp-use analytics query --help for all options.
Anonymous usage analytics
The CLI sends a mcp_use_cli_command event to the same PostHog project used
by the SDK. It records the command and known subcommand, CLI version, OS,
architecture, Node version, and whether it runs in CI or an interactive
terminal. Help requests have is_help: true so they can be excluded from
command rankings. Events count invocations, including failed attempts.
A random installation ID is saved in ~/.mcp-use/cli-telemetry.json and
reused across projects and CLI upgrades. Unique IDs measure installations,
not people; disposable CI homes create new IDs, so filter is_ci: false
when measuring developer adoption. No argument values, paths, server/tool
names, environment variable contents, credentials, or account details are
sent in usage events. Explicit feedback is separate and includes the report
text you supply. Capture is best effort, with a 500 ms network timeout and no retries.
If the ID cannot be persisted, capture is skipped.
Set MCP_USE_ANONYMIZED_TELEMETRY=false or DO_NOT_TRACK=1 in your shell
to disable CLI analytics. Tests (NODE_ENV=test) also disable capture.
In PostHog, use unique users of mcp_use_cli_command for daily/weekly active
installations. Use total events broken down by command and subcommand
for command rankings, excluding is_help: true.
Documentation
The exhaustive command reference, including every flag and the CLI environment variables, lives at CLI Reference. New to the framework? Start with the quickstart.
관련 프로젝트 살펴보기
불러오는 중…