mcp-inspector-integration

Solid

Set up MCP Inspector for debugging and testing MCP servers with request logging, response inspection, and protocol validation.

AI & Automation 814 stars 53 forks Updated today MIT

Install

View on GitHub

Quality Score: 95/100

Stars 20%
97
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# MCP Inspector Integration Set up MCP Inspector for debugging and testing MCP servers. ## Capabilities - Configure MCP Inspector connection - Set up request/response logging - Implement protocol debugging - Create test scenarios - Generate inspection reports - Configure development workflows ## Usage Invoke this skill when you need to: - Debug MCP server communication - Test tool and resource handlers - Inspect protocol messages - Validate MCP implementation ## Inputs | Parameter | Type | Required | Description | |-----------|------|----------|-------------| | serverPath | string | Yes | Path to MCP server entry | | transport | string | No | Transport type (stdio, sse) | | logging | boolean | No | Enable verbose logging | ## Generated Patterns ### Inspector Configuration ```json { "mcpServers": { "my-server": { "command": "node", "args": ["dist/index.js"], "env": { "DEBUG": "mcp:*", "NODE_ENV": "development" } } } } ``` ### Debug Wrapper Script ```typescript #!/usr/bin/env node import { createServer } from './server'; // Enable debug logging process.env.DEBUG = 'mcp:*'; // Log all stdin/stdout for debugging const originalWrite = process.stdout.write.bind(process.stdout); process.stdout.write = (chunk: any, ...args: any[]) => { if (process.env.MCP_DEBUG_LOG) { const fs = require('fs'); fs.appendFileSync( process.env.MCP_DEBUG_LOG, `[OUT] ${new Date().toISOString()} ${chunk}\n` ); } ...

Details

Author
a5c-ai
Repository
a5c-ai/babysitter
Created
4 months ago
Last Updated
today
Language
JavaScript
License
MIT

Integrates with

Related Skills