raindrop-mcp: Skill for Claude Code

.github/skills/mcp-testing/SKILL.md

mcp-testing is a skill for Claude Code, Codex from adeze/raindrop-mcp. It costs 17 tokens per session (1,531 once invoked), scanned A, original, MIT.

A testing guide for Model Context Protocol servers using Vitest, the MCP Inspector, and integration tests. Model Context Protocol is a standard way for AI applications to connect to tools and data.

In plain words
What is it for?
Use it to test MCP server tools, connect a test client through an in-memory transport, list available tools, and write TypeScript tests with Vitest. TypeScript is a programming language commonly used for JavaScript applications.
Why use it?
It provides a way to check both individual pieces and the complete connection between an MCP client and server before relying on them.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

This is adeze/raindrop-mcp's own configuration. It tells Claude Code and Codex how to work on raindrop-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything raindrop-mcp configures →

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is import { RaindropMCPService } from "../src/services/raindropmcp.service.js";.

Reuse

Borrowing it

Nothing to install: this file belongs to adeze/raindrop-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/adeze/raindrop-mcp/master/.github/skills/mcp-testing/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/adeze/raindrop-mcp

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for mcp-testing

README.md
[![agentmods](https://agentmods.dev/badge/skills/adeze/raindrop-mcp/mcp-testing/github.svg)](https://agentmods.dev/skills/adeze/raindrop-mcp/mcp-testing)
Your own site
<a href="https://agentmods.dev/skills/adeze/raindrop-mcp/mcp-testing"><img src="https://agentmods.dev/badge/skills/adeze/raindrop-mcp/mcp-testing/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for mcp-testing

Your own site · 80×15
<a href="https://agentmods.dev/skills/adeze/raindrop-mcp/mcp-testing"><img src="https://agentmods.dev/badge/skills/adeze/raindrop-mcp/mcp-testing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 17 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,531 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00017 $0.01531
Opus 5.5 $0.00007 $0.00612
Sonnet 5.5 $0.00003 $0.00306
Haiku 4.5 $0.00002 $0.00153

Measured 1mo ago against content hash 5c1fd6b0b4fd, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

mcp-testing scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.github/skills/mcp-testing/SKILL.md · 245 lines

How it starts

The opening of the file, as written. The whole thing — 245 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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

import { describe, it, expect, beforeEach } from "vitest";
import { Client } from "@modelcontextprotocol/sdk/client/index.js";
import { InMemoryTransport } from "@modelcontextprotocol/sdk/testing/inMemoryTransport.js";
import { RaindropMCPService } from "../src/services/raindropmcp.service.js";

describe("RaindropMCPService Tools", () => {
  let service: RaindropMCPService;
  let transport: InMemoryTransport;
  let client: Client;

  beforeEach(async () => {
    service = new RaindropMCPService();
    transport = new InMemoryTransport(service.getServer());
    client = new Client(
      {
        name: "test-client",
        version: "1.0.0",
      },
      { capabilities: {} },
    );
    await client.connect(transport);
  });

  it("should list available tools", async () => {
    const tools = await client.listTools();
    expect(tools.tools.length).toBeGreaterThan(0);
    expect(tools.tools.map((t) => t.name)).toContain("collection_list");
  });

  it("should call a tool with valid input", async () => {
    const result = await client.callTool({
      name: "collection_list",
      arguments: {},
    });
    expect(result).toBeDefined();
    expect(result.content).toBeDefined();
  });
});

Key Testing Patterns

  1. In-Memory Transport: Use for unit tests—no subprocess overhead, direct method invocation
  2. Server Capabilities: Verify manifest before running tool tests
  3. Mock Context: Provide mock RaindropService for isolated tool testing
  4. Error Handling: Test both success and error paths with Zod validation

Integration Testing with MCP Inspector

Launch Inspector in VS Code

  1. 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

Read the full file on GitHub · 245 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 245 lines · 17 tokens per session scan A 5c1fd6b0b4fd

Subscribe to this mod's changes

mcp-testing is a skill published in the GitHub repository adeze/raindrop-mcp (189 stars, last pushed 10d ago), licensed MIT. It adds 17 tokens to every session and 1,531 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.