Skip to main content

mcp-inspector

MCP Protocol Inspection and Debugging with Inspector CLI

소스 정보

저장소
adeze/raindrop-mcp
최근 소스 활동
2026년 1월 21일 06:19
감지된 SKILL.md 언어
영어
스타
188
포크
28

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
mcp-inspector
description
MCP Protocol Inspection and Debugging with Inspector CLI
keywords
["mcp","inspector","debugging","protocol","testing","cli"]
# MCP Inspector Skill Guidelines for using the MCP Inspector tool in CLI mode for protocol inspection, debugging, and tool listing in a VS Code environment. ## Prerequisites - Ensure you have Node.js and npx installed. - Install MCP Inspector: `npx -y @modelcontextprotocol/inspector --help` - Build your MCP server (e.g., `bun run build` or equivalent). ## Usage Examples ### List Available Tools Run the following command in your VS Code terminal: ```bash npx -y @modelcontextprotocol/inspector --cli node build/index.js --method tools/list ``` ### Send a Protocol Request (e.g., ping) ```bash npx -y @modelcontextprotocol/inspector --cli node build/index.js --method ping ``` ### Debugging and Inspection - Use Inspector CLI to wrap your MCP server and inspect protocol traffic. - Example for STDIO server: ```bash npx -y @modelcontextprotocol/inspector node build/index.js ``` - For HTTP server: ```bash npx -y @modelcontextprotocol/inspector node build/server.js ``` ## Tips - Use Inspector CLI flags for advanced filtering, logging, and output formatting. See Inspector documentation for details. - Integrate Inspector CLI commands into your VS Code tasks or launch configurations for automated inspection and debugging. - Use Vitest or your preferred test runner to automate CLI checks (see `tests/inspector.test.ts` for examples). ## References - [MCP Inspector GitHub](https://github.com/modelcontextprotocol/inspector) - [Model Context Protocol Documentation](https://modelcontextprotocol.io/)
GitHub에서 보기