adeze/raindrop-mcp/mcp-testing
Claude Code and agent skill by adeze/raindrop-mcp
Trust tier 2
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
MCP Testing Strategies with Vitest, Inspector, and Integration Tests
Install
npx vskill@latest install adeze/raindrop-mcp/mcp-testingSKILL.md
MCP Testing Skill
Modern testing strategies for Model Context Protocol (MCP) servers developed in VS Code using TypeScript, Bun, and Vitest.
Unit Testing with Vitest & In-Memory Transport
Setup Minimal Test Environment
Key Testing Patterns
- In-Memory Transport: Use for unit tests—no subprocess overhead, direct method invocation
- Server Capabilities: Verify manifest before running tool tests
- Mock Context: Provide mock
RaindropServicefor isolated tool testing - Error Handling: Test both success and error paths with Zod validation
Integration Testing with MCP Inspector
Launch Inspector in VS Code
- Terminal > Run Task > "Debug HTTP Server with Inspector" (or STDIO variant)
- Opens Inspector at
http://localhost:3000(or via auto-opened browser) - Live tool/resource exploration with bidirectional message capture
- Manual Inspection Flow:
- Call
diagnosticstool → view server version and enabled tools - Call
collection_list→ see resource links to collections - Read collection resources by URI → validate dynamic resource handling
- Test tool inputs directly with Inspector's form interface
- Record & Replay:
- Inspector logs all requests/responses
- Copy test cases directly into Vitest from Inspector logs
- Validate against snapshot tests
Snapshot Testing for Tool Schemas
Why Snapshot Testing?
- Catches unintended schema changes (breaking for LLM clients)
- Auto-generates golden files for schema validation
- Reduces boilerplate when verifying complex schemas
Running Tests in VS Code
Run Tests with Coverage
Generates coverage reports showing:
- Line & branch coverage for tools
- Uncovered error paths
- Integration test coverage vs unit test coverage
Watch Mode During Development
- Re-runs tests on file changes
- Ideal for TDD workflows
- Vitest provides formatted output in terminal
Load & Performance Testing
Stress Test Tools with Concurrency
Measure Tool Latency
Resource Testing
Test Dynamic Resource Resolution
Test Error Conditions
Recommended Dev Dependencies
Testing & Quality
Code Quality & Linting
Debugging & Inspection
References
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
- SKILL.md in the repositoryChecking.github/skills/mcp-testing/SKILL.md
Popularity
- Repository stars
- 134
- Repository forks
- 21
- Repository npm downloads, 7 days
- 702
- 7-day trend score
- 40
Stars and forks are for the whole GitHub repository, not this skill alone. Downloads are for the repository's npm package. Refreshed 19 Mar 2026, 8 months ago.
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
[](https://verified-skill.com/skills/adeze/raindrop-mcp/mcp-testing)