mcpjam/inspector/mcp-inspector

Claude Code and agent skill by mcpjam/inspector

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Interpret and use `mcpjam` probe, doctor, OAuth, XAA (Cross-App Access / ID-JAG), apps conformance, tools, resources, and prompts output conservatively against MCP 2025-11-25. Use when interacting with MCP servers, executing tools, triaging findings, performing security reviews, debugging enterprise-managed authorization, deciding whether a CLI finding is real or overstated, or turning inspection output into an engineer-facing report with severity and confidence.

Install

npx vskill@latest install mcpjam/inspector/mcp-inspector

SKILL.md

The same SKILL.md was published earlier as mcpjam/inspector/mcp-inspector.

MCPJam CLI Investigation

Use this skill when analyzing MCP server behavior from mcpjam or MCP Inspector output. The goal is to separate:

  • real protocol issues
  • interoperability warnings
  • implementation polish
  • mcpjam or SDK artifacts

Interactive use

When the user wants to connect to a server and use it:

  1. Probe the server first: server probe --url <url> --quiet --format json.
  • Use the probe to learn auth posture, resource metadata, authorization-server metadata, and registration strategies before assuming the connected surface is public.
  1. If the probe shows oauth_required, authenticate with oauth login --credentials-out <path> or run oauth conformance --credentials-out <path> when the task is specifically to test the OAuth flow.
  • A ready probe does not mean every tool is public. A server can allow the connection and ask for sign-in only when a protected tool is called (lazy authentication). If a later call fails with AUTH_REQUIRED, run the oauth login command in error.details.hint, then retry with --credentials-file <path>.
  1. Discover tools: tools list --url <url> --quiet --format json, adding --credentials-file <path> once you have signed in.
  • Tools with _meta.ui.resourceUri, deprecated _meta["ui/resourceUri"], or openai/outputTemplate in toolsMetadata have interactive UI.
  • For a specific tool, check toolsMetadata.<toolName>._meta.ui.resourceUri, toolsMetadata.<toolName>._meta["ui/resourceUri"], or toolsMetadata.<toolName>["openai/outputTemplate"].
  1. Execute a tool: tools call --url <url> --tool-name <name> --tool-args <json>, with --credentials-file <path> once you have signed in.
  2. Execute with UI: tools call --url <url> --tool-name <name> --tool-args <json> --credentials-file <path> --ui.
  • --ui starts or attaches to the local Inspector backend and renders the completed result in App Builder.
  • In non-TTY, agent, and CI runs, --ui does not open a browser by default. Pass --open when the CLI should open App Builder itself.
  • --open opens a system browser URL; it does not attach an already-controlled automation browser or make fresh tabs hydrate an injected render. Use --no-open when browser automation already opened Inspector App Builder. Use --attach-only when startup, browser opening, and discovery must all be disallowed.
  • no_active_client means the Inspector backend may be running but no browser client is attached. If manual recovery is needed, use mcpjam inspector open, not mcpjam inspector start.
  • unknown_server in the root error.code or an inspectorRender.commands.*.error.code means Inspector could not match the requested server. If the message says App Builder is focused on another server, retry with --server-name <focused-name>.
  • Treat UI success as inspectorRender.status === "rendered", not exit code 0 alone. If the render is skipped, branch on inspectorRender.remediation or the stable root warning.code.
  • Use --require-render when the UI render itself is the deliverable and a skipped render should fail the command.
  • Do not require external screenshots as proof of render success; iframe/canvas content can defeat browser snapshot tools. Prefer inspectorRender.status, command responses, and snapshot evidence.
  • Use --ui only when the tool has UI metadata or the user explicitly asks to see UI.

When the user asks to investigate, audit, or triage, use the Investigation workflow below.

Default stance

  • Treat raw request/response evidence as higher trust than normalized CLI convenience output.
  • Separate observations, compliance issues, and security findings. They are related, but not interchangeable.
  • Map claims to spec strength: MUST and MUST NOT are strong conformance signals; SHOULD and RECOMMENDED are softer guidance; MAY and optional fields are usually informational.
  • Do not label a security finding high unless you can support a concrete attacker benefit or clear breakage path.
  • When evidence is ambiguous, lower confidence or use pending before overstating the conclusion.

Investigation workflow

  1. Start with the narrowest command that actually proves the claim.
  2. If the command may fail, you want a reusable handoff artifact, or CI should retain evidence, add --debug-out <path> to server probe, server validate, tools call, or oauth login.
  3. If the probe shows oauth_required and the task is to inspect the server surface, continue with oauth login or another supported auth flow to obtain reusable credentials before judging post-auth behavior. For multi-command connected sessions, use --credentials-out <path> on oauth login, oauth conformance, or oauth conformance-suite to persist tokens and --credentials-file <path> on later commands; read references/cli-surface-notes.md for access-token-only exceptions. When a token is already available (CI, M2M, env var), prefer a credentials file when possible and pass --access-token or --oauth-access-token only as an escape hatch.
  4. After successful auth, inspect the connected surface with direct commands such as server info, server capabilities, tools list, resources list/read/templates, and prompts list/get.
  • The CLI never starts a sign-in on its own. A call that hits a mid-session sign-in challenge reports it: an HTTP 401 fails the command with AUTH_REQUIRED and error.details.challenge, a 403 insufficient_scope fails with INSUFFICIENT_SCOPE, and a ChatGPT-style isError result carrying _meta["mcp/www_authenticate"] comes back unchanged with a CLI-added _authChallenge beside it. Each carries a hint naming the oauth login command to run.
  1. Use server doctor --out <path> when you need one breadth-first snapshot instead of several single-purpose command outputs.
  2. If the output came from server doctor or a --debug-out artifact, split it into primary command evidence, probe evidence, and connected-sweep evidence.
  3. If the claim is specifically about MCP Apps tool metadata or ui:// resources, start with apps conformance --quiet --format json before dropping to tools list or resources read.
  4. If the claim is about a tool result rendering in Inspector, use tools call --tool-name <name> --tool-args <json|@file|-> --ui --quiet --format json.
  • In non-TTY runs, add --open if no Inspector browser client is already attached.
  • If browser automation already opened http://127.0.0.1:6274/#app-builder, add --no-open; --open launches a system browser and may not target the automation-controlled client.
  • Confirm UI delivery with inspectorRender.status === "rendered". Treat inspectorRender.remediation and stable skipped-render warning.code values as recovery hints, not MCP tool failures.
  • If unknown_server appears in the root error or command errors and the message names the focused server, retry with --server-name <focused-name>.
  • Use --require-render when a skipped render should become a hard error instead of a warning.
  1. If a field may be CLI-added or SDK-normalized, read references/cli-surface-notes.md before concluding anything.
  2. If the claim depends on MCP semantics, read references/mcp-2025-11-25-interpretation.md.
  3. If the claim involves Cross-App Access, ID-JAG, or enterprise-managed authorization, read references/xaa-id-jag-interpretation.md before triaging xaa run output.
  4. If the task involves security review, read references/security-best-practices.md for the full checklist and follow the security review workflow below.
  5. Write the result using the output contract below.

Security review workflow

Use this when the task is to assess an MCP server's security posture. All checks use existing CLI commands. No special security tooling is needed. Do not assume every server should require auth.

Phase 1: Observe (read-only)

Run server probe --url <target> --quiet --format json first. Add oauth metadata or server doctor --out <path> only when they clarify the picture.

  • Record an initial auth signal:
  • full-auth candidate: probe status is oauth_required
  • public-or-mixed candidate: probe status is ready
  • unknown: probe is only reachable, error, or otherwise ambiguous
  • Capture discovery facts:
  • OAuth metadata URLs and whether they point to public, private, or suspicious targets
  • scopes_supported, WWW-Authenticate, and PKCE methods
  • registration strategies such as dcr, cimd, and preregistered
  • Record the evidence surface you are trusting. Raw probe/RPC evidence beats doctor summaries or convenience fields.
  • Phase 1 can produce observations and compliance notes. By itself it should not produce a high security severity.
Phase 2: Provoke (behavior, still mostly unauth)

Treat the Phase 1 auth signal as provisional until behavior confirms it.

  • For a full-auth candidate:
  • run DCR shape probes if DCR is supported
  • spot-check representative unauth tools list or tools call behavior when feasible
  • check malformed, expired, or obviously wrong-audience token handling without overstating what a rejection proves
  • For a public-or-mixed candidate:
  • run unauth tools list
  • classify exposed tools as read-only, write, or side-effect
  • call representative public tools unauth
  • check whether gated tools fail with a clean auth challenge instead of silent empty data or partial data
  • a clean challenge is an HTTP 401 with WWW-Authenticate: Bearer (AUTH_REQUIRED in the CLI) or, ChatGPT style, an isError result with _meta["mcp/www_authenticate"] carrying both error and error_description on a tool whose securitySchemes include oauth2 (_authChallenge in the CLI). Note which shape the server uses: hosts differ on which one they act on, so a server that only sends one is an interop note, not a security finding
  • Anonymous tiers, rate limits, or degraded public access are posture notes, not a separate posture class.
  • Reclassify to one of no-auth, full-auth, mixed-auth, or unknown once Phase 2 behavior is clear. If Phase 2 contradicts Phase 1, update the posture and rerun the relevant checks instead of forcing the old classification.
  • Input-validation hits from Phase 2 cap at medium security severity until Phase 3 proves attacker benefit.
  • Design or posture findings can be real security findings in Phase 2, but do not auto-promote them. Document the unsafe behavior, abuse path, and any owner-intent uncertainty before calling them medium or high.
Phase 3: Exploit or confirm attacker benefit

Use oauth login and the same browser session when the proof depends on consent or cookies.

  • Use Phase 3 to turn a plausible concern into a real end-to-end security finding:
  • DCR plus authorization flow proof
  • redirect URI exact-match bypass proof
  • foreign-token acceptance or token passthrough proof
  • code, token, or cross-tenant data capture
  • Consent skip is one route to high, not the only route. Any demonstrated chain that shows concrete attacker gain can justify high.
Phase 4: Inventory blast radius
  • After auth succeeds, decode JWT claims, inspect Mcp-Session-Id with raw logs, and enumerate tools, resources, prompts, scopes, and tenant context.
  • Phase 4 is mainly blast-radius calibration. Treat it as context unless you also prove abuse.
Security severity calibration
  • high: demonstrated attacker benefit or conforming-client breakage with direct evidence
  • medium: credible security issue with a concrete attack scenario, but end-to-end proof is still partial
  • low: hardening gap or limited-impact security concern
  • pending: plausible security concern with a specific missing proof step that could materially raise or lower severity
  • info: true observation with no credible attacker benefit yet

Use pending instead of manufacturing a medium or high security severity from a checklist hit.

This is the start of the file. Read the full SKILL.md on GitHub.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
2,325
Repository forks
305
7-day trend score
38

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/mcpjam/inspector/mcp-inspector/badge)](https://verified-skill.com/skills/mcpjam/inspector/mcp-inspector)

Something wrong with this skill or its page? Tell us.