Install
$ agentstack add mcp-mcp-shark-mcp-shark-viewer-vscode ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
MCP Shark Viewer (VS Code / Cursor)
Inspect MCP traffic inside your IDE. Start/stop MCP Shark, open the inspector, and embed the MCP Shark UI in a webview.
Table of Contents
- [About](#about)
- [Features](#features)
- [Commands](#commands)
- [Getting Started](#getting-started)
- [Requirements](#requirements)
- [Install (VSIX)](#install-vsix)
- [Troubleshooting](#troubleshooting)
- [Development](#development)
- [Scripts](#scripts)
- [Docs](#docs)
- [Repo Layout](#repo-layout)
- [License](#license)
About
This extension integrates MCP Shark into VS Code / Cursor (and other VS Code-compatible IDEs). It provides:
- A sidebar view (Activity Bar) to access the inspector quickly
- Commands to start/stop MCP Shark from the Command Palette
- An embedded MCP Shark UI panel (webview iframe)
MCP Shark (the server + UI) is the upstream project: mcp-shark/mcp-shark. For MCP Shark install/usage, see the upstream README: README.
Features
- Traffic Inspector View: Activity Bar view
Traffic Inspector(mcp-shark-traffic). - Embedded UI: Webview panel that iframes the MCP Shark UI (
http://localhost:9853). - Server lifecycle: start/stop MCP Shark from inside the IDE.
- Settings fetch: when MCP Shark is reachable, the extension calls
GET /api/settings(API reference: GET /api/settings).
Commands
| Command | Palette Title | | --- | --- | | mcp-shark.viewer.startServer | Start MCP Shark Server | | mcp-shark.viewer.stopServer | Stop MCP Shark Server | | mcp-shark.viewer.openInspector | Open Traffic Inspector | | mcp-shark.viewer.showDatabasePanel | MCP Shark Traffic inspector | | mcp-shark.viewer.refresh | Refresh |
Getting Started
- Open the Activity Bar → MCP Shark → Traffic Inspector
- Run Start MCP Shark Server (Command Palette)
- Run Open Traffic Inspector to open the embedded UI panel
- In the MCP Shark UI, go to MCP Server Setup and start the MCP server (select your IDE config / servers, then click Start MCP Shark)
- For full MCP Shark first-run + setup instructions, see: Getting Started
- For MCP Shark install/CLI usage, see the upstream README: mcp-shark/mcp-shark README
Requirements
- IDE: VS Code / Cursor
- Node.js: required if you want the extension to auto-start MCP Shark via
npx -y @mcp-shark/mcp-shark(MCP Shark requires Node 18+; see upstream README: mcp-shark/mcp-shark README)
Install (VSIX)
Package:
vsce package
# or:
# npx @vscode/vsce package
Install into Cursor / VS Code:
cursor --install-extension mcp-shark-viewer-for-vscode-0.0.1.vsix
code --install-extension mcp-shark-viewer-for-vscode-0.0.1.vsix
See also: docs/How.md.
Troubleshooting
- UI opens but server isn’t “running”: MCP Shark’s UI can be up even if an external MCP server failed to start. Open the MCP Shark UI and check the setup/logs (upstream docs: mcp-shark/mcp-shark).
- Port already in use (9853): another MCP Shark instance (or other process) is already bound to
9853. Stop it and try again. - Start fails inside IDE: ensure
npxis available in the IDE environment and you can runnpx -y @mcp-shark/mcp-sharkin a terminal.
Development
- Open this repo in VS Code/Cursor
- Press F5 to launch an Extension Development Host
- Run:
npm run validatenpm run lint
Scripts
- validate:
npm run validate(runsnode scripts/validate.js) - lint:
npm run lint(Biome) - format:
npm run format - check:
npm run check
Docs
- Install/Package:
docs/How.md - Validation workflow:
docs/VALIDATION_PLAN.md
Repo Layout
- Root entrypoint:
extension.js(thin shim exporting fromsrc/) - Source:
src/ - Validator:
scripts/validate.js - Docs:
docs/ - Webview assets:
media/(e.g.media/image.png)
License
See LICENSE.
Source & license
This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: mcp-shark
- Source: mcp-shark/mcp-shark-viewer-vscode
- License: Apache-2.0
- Homepage: https://mcpshark.sh/
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.