mcp-mock-client
Create mock MCP client for server testing with request/response simulation.
npx skills add a5c-ai/babysitter --skill mcp-mock-client --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# MCP Mock Client Create mock MCP client for server testing. ## Generated Patterns ```typescript import { Client } from '@modelcontextprotocol/sdk/client/index.js'; import { StdioClientTransport } from '@modelcontextprotocol/sdk/client/stdio.js'; import { spawn } from 'child_process'; export async function createTestClient(serverCmd: string, args: string[]) { const proc = spawn(serverCmd, args, { stdio: ['pipe', 'pipe', 'inherit'] }); const transport = new StdioClientTransport({ reader: proc.stdout!, writer: proc.stdin! }); const client = new Client({ name: 'test-client', version: '1.0.0' }, { capabilities: {} }); await client.connect(transport); return { client, close: () => proc.kill() }; } export async function testTool(client: Client, name: string, args: Record<string, unknown>) { const result = await client.callTool({ name, arguments: args }); return result; } ``` ## Target Processes - mcp-server-testing-suite - mcp-tool-implementation
- Generated Patterns
- Target Processes
What does the mcp-mock-client skill do?
Create mock MCP client for server testing with request/response simulation.
How do I install it?
Run `npx skills add a5c-ai/babysitter --skill mcp-mock-client --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From a5c-ai/babysitter, a repository with 1,642 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
