Token导航 LogoToken导航

Agent Skill · 研究检索

test-by-mcpc-cli(测试 BY mcpc CLI)

用于辅助测试设计、自动化测试、用例整理和回归验证。它适合让 Agent 编写单元测试、端到端测试、测试计划或根据失败日志定位问题。使用时需要确认项目测试框架、运行命令和夹具数据,避免为了通过测试而改坏真实逻辑;涉及浏览器或外部服务时,应区分本地模拟、测试环境和生产环境。

test-by-mcpc-cli 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为执行命令;许可证信息还不明确,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 54,843。

总安装 494周安装 21GitHub Stars 5下载 173核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:test-by-mcpc-cli(测试 BY mcpc CLI)
来源仓库:https://github.com/yigitkonur/skills-by-yigitkonur
仓库路径:skills/test-by-mcpc-cli
安装命令:
npx skills add https://github.com/yigitkonur/skills-by-yigitkonur --skill test-by-mcpc-cli
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/yigitkonur/skills-by-yigitkonur --skill test-by-mcpc-cli

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

用于辅助测试设计、自动化测试、用例整理和回归验证。适合编写单元测试、端到端测试或根据失败日志定位问题。需确认项目测试框架、运行命令和夹具数据后使用。涉及浏览器或外部服务时应区分本地模拟与生产环境。test-by-mcpc-cli 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/test-by-mcpc-cli

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/yigitkonur/skills-by-yigitkonur --skill test-b…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要执行命令,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

test-by-mcpc-cli 怎么安装?

在终端执行 npx skills add https://github.com/yigitkonur/skills-by-yigitkonur --skill test-by-mcpc-cli。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

test-by-mcpc-cli 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

test-by-mcpc-cli 需要什么权限?

权限级别是执行命令。安装流程涉及命令执行,可能通过 npx skills add https://github.com/yigitkonur/skills-by-yigitkonur --skill test-by-mcpc-cli 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

test-by-mcpc-cli 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

test-by-mcpc-cli 用的人多吗?

公开数据是累计安装 494 次,近一周安装 21 次,下载 173 次,GitHub 5 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

test-by-mcpc-cli 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 需要执行命令,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 不能接受 Skill 在你机器上执行命令的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
test-by-mcpc-cli

测试 BY mcpc CLI · 本页

4945执行命令未明确有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Test MCP Servers with mcpc

Use mcpc 0.2.x as the operator-facing harness for MCP server testing. This skill is written for the 0.2.0 through 0.2.4 command family, not the older 0.1.11 target-first CLI.

Trigger Boundary

Use this skill when you need to:

  • connect to a real MCP server over stdio or Streamable HTTP and verify the live surface
  • inspect tools, prompts, resources, templates, logging, subscriptions, or instructions from mcpc
  • reproduce auth, proxy, cleanup, task, or transport failures with the released CLI
  • script repeatable smoke checks in --json mode
  • compare a local stdio server with a deployed HTTP target

Do not use this skill when the main job is building the server or client itself. Use build-mcp-server-sdk-v1, build-mcp-server-sdk-v2, build-mcp-use-server, or build-mcp-use-client for implementation work.

Prerequisites

mcpc --version
mcpc --help

Prefer mcpc 0.2.x. This rewrite was verified against 0.2.4 and live-tested with:

  • https://research.yigitkonur.com/mcp
  • @modelcontextprotocol/server-everything over stdio and Streamable HTTP

If mcpc is missing, older, or your config shape is wrong, start with references/guides/installation.md. This skill documents raw mcpc behavior. Establish the plain CLI path first, then layer wrappers or harnesses back in only after the raw command path already works.

Minimal Read Sets

Do not load the whole skill by default. Use one of these bundles first, then widen only if the task forces you to.

Remote Streamable HTTP smoke test

Read these first:

  • references/commands/quick-reference.md
  • references/guides/http-testing.md
  • references/guides/discovery-search.md
  • references/guides/tool-resource-testing.md
  • references/guides/cleanup-maintenance.md

Local stdio plus task verification

Read these first:

  • references/commands/quick-reference.md
  • references/guides/stdio-testing.md
  • references/guides/async-tasks.md
  • references/guides/everything-server.md
  • references/guides/discovery-search.md
  • references/guides/tool-resource-testing.md
  • references/guides/cleanup-maintenance.md

Auth, proxy, or payment edge cases

Read these first:

  • references/commands/quick-reference.md
  • references/guides/authentication.md
  • references/guides/proxy-testing.md
  • references/guides/x402-payments.md
  • references/guides/cleanup-maintenance.md

Command Family Change

The 0.2.x CLI is session-first. Always create or reuse a named session before you run MCP operations.

# Remote Streamable HTTP target
mcpc connect https://research.yigitkonur.com/mcp @research
mcpc @research ping
mcpc @research tools-list

# Local stdio target from a standard mcpServers config
mcpc connect .vscode/mcp.json:filesystem @fs
mcpc @fs tools-list

Treat these forms as stale 0.1.11 syntax drift:

  • mcpc mcp.example.com tools-list
  • mcpc mcp.example.com connect @demo
  • mcpc --config.vscode/mcp.json filesystem connect @demo
  • mcpc --clean=sessions

Route migration work to references/patterns/session-first-syntax.md.

Standard Workflow

1. Verify the syntax family

  • Confirm mcpc --version reports 0.2.x.
  • Confirm examples use mcpc connect <server-or-file:entry> @session.
  • Validate the released CLI contract with plain mcpc, not a shell wrapper.
  • Treat old --config file entry and direct URL one-shot commands as obsolete.

2. Connect a stable session

Default to a fresh connect. Reach for session inventory only when reuse, cleanup, or stale-state diagnosis is the actual job.

# Remote URL; https:// is added automatically for non-local hosts
mcpc connect research.yigitkonur.com/mcp @research

# Localhost keeps http:// by default
mcpc connect 127.0.0.1:3011/mcp @everything-http

# Stdio via config entry
mcpc connect /tmp/everything-mcp.json:everything @everything-stdio

Use --no-profile when anonymous HTTP testing matters on a machine with saved OAuth profiles.

If you do need to inspect an existing session, narrow the lookup to the exact session name instead of reading the whole inventory first:

mcpc
mcpc --json | jq '.sessions[] | select(.name == "@research")'

If an older session for the same target is not live, do not assume that session is still the right test entrypoint. Either mcpc restart @session or create a fresh session with a new name. If mcpc restart @session returns Session not found, stop retrying that name and create a fresh session immediately. For Everything-specific work, prefer a fresh stdio session unless you intentionally started the streamableHttp server yourself.

3. Inspect before deep testing

mcpc @research
mcpc @research help
mcpc @research grep search
mcpc @research tools-list --full
mcpc @research resources-list
mcpc @research prompts-list

Prefer help and grep before heavy jq pipelines. If the acceptance criteria explicitly mention prompts, resources, or templates, add those list calls in the first pass instead of widening the read set later.

4. Validate schema and argument shape

mcpc @research tools-get web-search
mcpc --json @research tools-get web-search | jq '.inputSchema'
mcpc @research prompts-get some-prompt --schema ./expected-prompt-schema.json

key:=value still works, but arrays and objects should be sent as inline JSON literals or full JSON payloads. Route quoting edge cases to references/patterns/argument-parsing.md.

4b. Reality-check advertised capabilities

Do not trust capabilities alone. Check the server info, the tool metadata, and one real call.

mcpc --json @research | jq '.capabilities'
mcpc --json @everything-http tools-list | jq '.[] | {name, taskSupport: (.execution.taskSupport // "unspecified")}'

Rules:

  • if completions appears in server info, treat it as informational until you confirm the CLI actually exposes a command
  • if tasks appear in capabilities, still inspect per-tool execution.taskSupport
  • if a tool is marked task:required, prove it with one --task or --detach call before writing automation around it

5. Exercise the capability you care about

mcpc --json @research tools-call search-reddit '{"queries":["OpenAI MCP"]}'
mcpc @everything-http prompts-get args-prompt city:=Paris state:=Texas
mcpc @everything-http resources-read demo://resource/static/document/features.md
mcpc @everything-http logging-set-level debug

6. Treat JSON payloads as truth

RESULT=$(mcpc --json @everything-http tools-call trigger-sampling-request prompt:='"hello"')
echo "$RESULT" | jq '.isError // false'

A command can exit 0 and still carry "isError": true.

7. Use task mode deliberately

mcpc @everything-http tools-list --full
mcpc @everything-http tools-call simulate-research-query topic:='"mcpc tasks"' --task
mcpc @everything-http tools-call simulate-research-query topic:='"mcpc tasks"' --detach
mcpc @everything-http tasks-get <taskId>

Use --task when you need the final result in the CLI. Use --detach when a task ID is enough. mcpc 0.2.4 does not have a standalone tasks-result command.

8. Close or clean explicitly

mcpc close @research
mcpc clean
mcpc clean sessions logs

Use mcpc clean all only for a real reset. Do not run close and clean for the same session in parallel.

High-Signal Rules

  1. Connect first. If an example starts with mcpc <server> tools-list, it is stale.
  2. Prefer native discovery with mcpc @session, mcpc @session help, and mcpc grep before custom JSON filtering.
  3. Inspect isError, task status, and payload text instead of trusting human-mode success banners.
  4. Use --no-profile to force anonymous HTTP tests when saved OAuth state would pollute the result.
  5. Use mcpc clean..., not legacy --clean=... flags.
  6. If an old session is disconnected, reconnecting, expired, or crashed, do not reuse it blindly for a smoke test. Restart it or create a fresh session.
  7. Treat HTTP+SSE endpoints as unsupported for mcpc 0.2.x; use Streamable HTTP or stdio instead.
  8. Reach for --insecure only when the endpoint really uses a self-signed or otherwise untrusted certificate.
  9. When a tool is marked task:required, expect plain tools-call to fail until you add --task or --detach.
  10. Use plain mcpc as the documented baseline; wrappers can change quoting, TTY, and session-state visibility.
  11. Treat proxy /health as a liveness probe only. Verify proxy auth with a real MCP request on the exact release you ship before you depend on it.

Capability Boundary

Fully testable with first-class CLI support

  • stdio and Streamable HTTP
  • tools, prompts, resources, resource templates, logging, grep, proxy, x402, JSON scripting
  • task-enabled tool execution with --task, --detach, tasks-list, tasks-get, and tasks-cancel

Nuanced or partial in mcpc 0.2.4

  • roots: the client advertises roots capability, so servers like Everything may expose helper tools, but mcpc has no dedicated CLI to configure roots
  • sampling: servers may expose sampling demo tools because mcpc advertises sampling-related client capabilities, but the tool payload can still come back with isError: true
  • completions: appears in server capabilities, but there is no mcpc completions command
  • detached task results: tasks-get shows status, not the original tool result body

Not a first-class mcpc workflow

  • HTTP+SSE transport testing
  • elicitation commands from the CLI
  • standalone completion browsing
  • standalone detached-result retrieval after --detach

Reference Routing

Read the smallest relevant set for the branch you are in.

Core guides

FileRead when
references/guides/installation.mdInstalling mcpc, checking version drift, Linux keychain notes, or config format confusion.
references/guides/stdio-testing.mdTesting a local stdio server from mcpServers config using file:entry syntax.
references/guides/http-testing.mdTesting remote or localhost Streamable HTTP endpoints, path issues, TLS, headers, or --insecure.
references/guides/discovery-search.mdDiscovering tools, resources, prompts, and instructions with help, grep, and list calls.
references/guides/tool-resource-testing.mdRunning tools, prompts, resources, templates, subscriptions, and logging checks.
references/guides/async-tasks.mdUsing --task, --detach, and tasks-*, or debugging task-required tools.
references/guides/authentication.mdOAuth, bearer headers, profile selection, scopes, client credentials, and anonymous mode.
references/guides/session-management.mdUnderstanding session lifecycle, reconnect behavior, restart behavior, and multi-session workflows.
references/guides/cleanup-maintenance.mdSafe cleanup, hard resets, logs, and local mcpc hygiene.
references/guides/proxy-testing.mdExposing a session as a local MCP proxy for sandboxes or agent code.
references/guides/x402-payments.mdWallet setup, x402 sign, and --x402 session behavior.
references/guides/ci-cd-integration.mdCI smoke tests, isolated MCPC_HOME_DIR, scripted assertions, and cleanup traps.
references/guides/scripting-automation.mdShell automation patterns, error handling, JSON parsing, and reproducible scripts.
references/guides/everything-server.mdVerifying current mcpc behavior against the official Everything reference server.
references/guides/capability-coverage.mdMapping advertised capabilities to actual mcpc commands and known gaps.
references/guides/architecture.mdHigh-level mcpc design, session-first routing, and capability negotiation.
references/guides/bridge-internals.mdBridge process lifecycle, crash recovery, reconnect caveats, and log locations.

Commands, examples, and troubleshooting

FileRead when
references/commands/quick-reference.mdYou need the exact 0.2.4 syntax, flags, aliases, or cleanup forms fast.
references/examples/real-world-workflows.mdYou want complete end-to-end workflows for real targets like Research Powerpack or Everything.
references/examples/testing-recipes.mdYou want short copy-paste checks for smoke tests, schemas, tasks, grep, or cleanup.
references/troubleshooting/common-errors.mdYou hit stale syntax, bad config shape, task-required failures, expired sessions, or transport mismatches.

Patterns and advanced details

FileRead when
references/patterns/session-first-syntax.mdTranslating 0.1.11 examples to 0.2.x command-first syntax.
references/patterns/argument-parsing.mdQuoting arrays, objects, inline JSON, stdin, and key:=value edge cases.
references/patterns/schema-validation.mdValidating tool and prompt schemas in regression checks.
references/patterns/config-resolution.mdUnderstanding mcpServers config shape, file:entry, URL normalization, and path mistakes.
references/patterns/auth-precedence.mdDeciding between explicit headers, named profiles, default profile, --no-profile, and --x402.
references/patterns/output-formatting.mdUnderstanding human vs JSON mode, stderr behavior, exit-code caveats, and isError.
references/patterns/jq-patterns.mdAdvanced JSON filtering after native grep and help are not enough.
references/patterns/tool-filtering.mdComplementing grep with `tools-list --json
references/patterns/logging-debugging.mdUsing --verbose, bridge logs, and log inspection to explain failures.
references/patterns/notification-handling.mdTesting list-changed notifications, subscriptions, and server log messages.
references/patterns/pagination-caching.mdUnderstanding auto-pagination, tool cache refresh, and dynamic discovery behavior.
references/patterns/python-integration.mdDriving mcpc from Python subprocess workflows.
references/patterns/shell-advanced.mdInteractive shell behavior, discovery loops, and task usage inside shell.
references/patterns/data-model.mdThe JSON shapes behind session info, task status, cached metadata, profiles, and storage.

Guardrails

  • Do not teach 0.1.11 target-first syntax unless you are explicitly documenting migration.
  • Do not tell users to test HTTP+SSE with mcpc 0.2.x; use Streamable HTTP or stdio instead.
  • Do not assume tasks-get can recover the full detached result body.
  • Do not treat a green success banner as proof that the server call succeeded.
  • Do not assume advertised capabilities always mean polished CLI support.
  • Do not run mcpc clean all casually on machines with saved profiles.

平台分布

Codex

38.9%
按下载量换算67

Claude

29.97%
按下载量换算52

Cursor

19.56%
按下载量换算34

Gemini CLI

9.34%
按下载量换算16

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/yigitkonur/skills-by-yigitkonur --skill test-by-mcpc-cli 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills