Skip to content
| Marketplace
Sign in
Visual Studio Code>Testing>MCP Server Inspector & Spec AuditorNew to Visual Studio Code? Get it now.
MCP Server Inspector & Spec Auditor

MCP Server Inspector & Spec Auditor

Markus van Kempen

|
3 installs
| (0) | Free
Inspect, validate and audit Model Context Protocol (MCP) servers, tool JSONSchemas and spec compliance from inside VS Code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

MCP Server Inspector & Spec Auditor for VS Code

Inspect, validate and audit Model Context Protocol (MCP) servers without leaving your editor. This is the VS Code edition of the MCP Server Inspector Chrome extension and runs the same workbench.

License: Apache 2.0 VS Code MCP Dependencies

Spec compliance matrix

Server view

An IDE-native layout

Click the MCP Inspector icon in the Activity Bar. The side panel has three views:

View What it does
Server Pick a preset or enter an endpoint, optionally add an Authorization header / API key, and connect. Shows the server name and Tools / Resources / Prompts / Groups counts.
Explorer A native tree of the connected server's Tools, Resources, Prompts and Groups. Click a tool to run it, a resource to read it, a prompt to render it, or a group to fetch its contents.
Workbench The workbench's navigation (Spec Support Matrix, Tools, Prompts, Resources & Groups, Validation & Health, README Drift, Token Budget, Groups, Raw JSON-RPC, Auth & Headers, Help). Each entry opens that section in an editor tab. Groups in the combined section can be fetched, and their tools and resources run from the result.

Running a tool with parameters

  1. Connect in the Server view.
  2. In Explorer, click a tool (or use the inline play button, or run MCP Inspector: Run Tool…).
  3. An arguments editor opens: a JSONC file generated from the tool's inputSchema. Required parameters are pre-filled with typed placeholders and documented in comments; optional ones are listed as commented lines you can uncomment.
  4. Edit the arguments and click the Run CodeLens at the top of the file (or the play button in the editor title bar).
  5. The result opens in a read-only JSON editor beside it: tool, arguments, isError, duration, approximate token count and the full result. Running again refreshes the same editor. JSON-RPC errors are shown there too.

Tools without parameters run immediately.

Local dev server

No MCP server at hand? The extension bundles a sample MCP server (tools, resources, prompts and groups, with full SEP support) for trying things out:

  • Click Start local dev server in the Server view, use the Start local dev server link in the empty Explorer, or run MCP Inspector: Start Local Dev Server.
  • It listens on 127.0.0.1 only (default port 3000, see the setting below) and the shared session connects to it automatically.
  • Stop it from the same button or MCP Inspector: Stop Local Dev Server. It also stops when VS Code closes the extension.

Crypto Posture (Tier 4)

The Crypto Posture section of the Workbench checks the endpoint you are inspecting, black-box, without scanning any code:

Check Finding
Scheme Plain http:// on a non-loopback host is broken now. Loopback is skipped.
TLS version 1.3 OK, 1.2 warning, 1.1 or older broken.
Cipher suite Weak or legacy suites are flagged.
Key-exchange group Hybrid X25519MLKEM768 is quantum-ready; classical-only groups are quantum-vulnerable (advisory) for harvest-now-decrypt-later. If this runtime cannot report it, it says unknown.
Certificate Key type and size, expiry and chain validity. RSA/ECDSA signatures are an advisory; RSA below 2048 bits, expired or invalid certificates are broken.
Token algorithm Only the JWT header of your Bearer token is read: none is broken, HS256 OK, RS256/ES256 advisory. The token is never displayed or stored.

Two handshakes are made (default offer, then a hybrid-only offer) so "the server does not offer a hybrid group" is distinguished from "this client did not ask for one". Certificate validation is never disabled; an invalid certificate shows up as a failed handshake. The probe runs in the extension host with node:tls only (no openssl, no dependencies).

The score is separate from the spec conformance score. Copy CBOM fragment exports the observed protocol, key-exchange group and certificate as CycloneDX 1.6 cryptographic assets.

Limits: for endpoints behind a CDN or reverse proxy you see the proxy's TLS, not the MCP server's (the report says so). The Chrome extension cannot read TLS details and reports those checks as unknown.

Security Hygiene (Tier 5)

The Security Hygiene section of the Workbench audits what the server published and, only if you tick the box, how the endpoint behaves. It is black-box and heuristic: no code is scanned.

Check Finding
Hidden characters Zero-width, bidirectional-control or Unicode-tag characters in tool names, descriptions or parameter docs are broken.
Injection-style wording Text such as "ignore previous instructions", "do not tell the user", <IMPORTANT> blocks or "send the result to https://..." is a warning.
Credential-file references, encoded blobs, long descriptions Warnings.
URLs, destructive-looking tools without hints Advisories.
Tool fingerprint A SHA-256 per tool is stored per endpoint. If descriptions, schemas or annotations change after you accepted them, you get a warning (the "rug pull") and can accept the new baseline.

Active probes (checkbox, off by default, never run automatically) send a few extra requests to the endpoint you are connected to: an unauthenticated initialize, one with a foreign Origin (this edition only, because browsers control Origin), the OAuth protected-resource discovery document, and one invalid tools/call. They report credential enforcement, Origin validation, OAuth discovery, HSTS, CORS, server banners, error-message leakage and session-ID quality. Probe results that cannot be observed are shown as unknown and excluded from the score. The score is separate from the spec and crypto scores, and a clean report is not a guarantee.

More ways to launch

  • the search-check icon in the editor title toolbar,
  • the MCP Inspector button in the status bar (bottom left),
  • the Command Palette: MCP Inspector: Open Workbench.

Features

  • 3-tier specification audit with a 0-100% compliance score. Export the report as Markdown, CSV, or HTML (Workbench → Spec Support Matrix).
  • JSONSchema Draft-07 validation of every tool contract, plus SEP-1850 safety annotation checks.
  • Native tool runner with schema-based argument templates and results in an editor.
  • Batch dry-run tests, README drift analysis and a progressive disclosure groups explorer.
  • Raw JSON-RPC console with Streamable HTTP / SSE support.

Settings

Setting Default Description
mcpInspector.requestTimeoutMs 60000 Timeout for each request sent to an MCP server.
mcpInspector.devServer.port 3000 Port of the bundled local dev MCP server (127.0.0.1 only, 1024-65535).

Privacy and security

  • No telemetry or analytics.
  • Requests go only to the server URLs you enter, and are made by the extension host (http/https only).
  • Endpoint URLs are kept in VS Code global state. Authorization headers, API keys, session IDs and custom headers are stored in VS Code SecretStorage, not in plain settings.
  • The webview runs with a strict Content-Security-Policy and has no direct network access.

Author

Author: Markus van Kempen
Research | Floor 7½ 🏢🤏

License

Licensed under the Apache License 2.0.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft