MCP Server Builder
anthropics/skills
Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.
Test that components send correct query parameters or request arguments.
$ npx skills add stacklok/toolhive-studio --skill testing-api-overrides -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install stacklok/toolhive-studio testing-api-overrides --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/stacklok/toolhive-studio.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.codex/skills/testing-api-overrides .claude/skills/testing-api-overrides && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "testing-api-overrides" agent skill from https://github.com/stacklok/toolhive-studio/tree/main/.codex/skills/testing-api-overrides into .claude/skills/testing-api-overrides/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "testing-api-overrides", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/stacklok/toolhive-studio/tree/main/.codex/skills/testing-api-overridesType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add stacklok/toolhive-studio --skill testing-api-overrides -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install stacklok/toolhive-studio testing-api-overrides --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/stacklok/toolhive-studio.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.codex/skills/testing-api-overrides .agents/skills/testing-api-overrides && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "testing-api-overrides" agent skill from https://github.com/stacklok/toolhive-studio/tree/main/.codex/skills/testing-api-overrides into .agents/skills/testing-api-overrides/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "testing-api-overrides", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add stacklok/toolhive-studio --skill testing-api-overrides -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install stacklok/toolhive-studio testing-api-overrides --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/stacklok/toolhive-studio.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.codex/skills/testing-api-overrides .cursor/skills/testing-api-overrides && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "testing-api-overrides" agent skill from https://github.com/stacklok/toolhive-studio/tree/main/.codex/skills/testing-api-overrides into .cursor/skills/testing-api-overrides/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "testing-api-overrides", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/stacklok/toolhive-studio.git --path .codex/skills/testing-api-overrides--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add stacklok/toolhive-studio --skill testing-api-overrides -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install stacklok/toolhive-studio testing-api-overrides --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/stacklok/toolhive-studio.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.codex/skills/testing-api-overrides .gemini/skills/testing-api-overrides && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "testing-api-overrides" agent skill from https://github.com/stacklok/toolhive-studio/tree/main/.codex/skills/testing-api-overrides into .gemini/skills/testing-api-overrides/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "testing-api-overrides", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install stacklok/toolhive-studio testing-api-overridesInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add stacklok/toolhive-studio --skill testing-api-overrides -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/stacklok/toolhive-studio.git skills-src && mkdir -p .github/skills && cp -r skills-src/.codex/skills/testing-api-overrides .github/skills/testing-api-overrides && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "testing-api-overrides" agent skill from https://github.com/stacklok/toolhive-studio/tree/main/.codex/skills/testing-api-overrides into .github/skills/testing-api-overrides/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "testing-api-overrides", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add stacklok/toolhive-studio --skill testing-api-overrides -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install stacklok/toolhive-studio testing-api-overrides --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/stacklok/toolhive-studio.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.codex/skills/testing-api-overrides .opencode/skills/testing-api-overrides && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "testing-api-overrides" agent skill from https://github.com/stacklok/toolhive-studio/tree/main/.codex/skills/testing-api-overrides into .opencode/skills/testing-api-overrides/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "testing-api-overrides", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
testing-api-overridesTest that components send correct query parameters or request arguments.
Testing API Overrides is an agent skill from stacklok/toolhive-studio. Test that components send correct query parameters or request arguments. Use when testing filtering, sorting, pagination, or any read operation where request parameters matter. Use for test-scoped mock customization.
Its SKILL.md is about 1.6k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Agent Workflows, covering MCP servers. It works with Model Context Protocol. The repository describes itself as: ToolHive is an application that allows you to install, manage and run MCP servers and connect them to AI agents. The licence is Apache-2.0.
2 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 87f7a55. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are typescript).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Testing API Overrides loads about 1.6k tokens when it runs. Until then it costs about 60 tokens; SKILL.md has 319 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from stacklok/toolhive-studio at commit 87f7a55, republished under its Apache-2.0 licence (© stacklok). 319 words, ~1,582 tokens.
.claude/skills/testing-api-overrides/SKILL.md (or your agent's skills folder).Test that your code sends correct API parameters by using conditional overrides that respond differently based on the request. This approach tests actual user-facing behavior rather than inspecting internal request details.
Good tests verify what users see, not implementation details.
Instead of:
Do this:
If the code sends wrong parameters, the mock returns wrong data, the UI shows wrong content, and the test fails. This catches real bugs.
Note: For mutations (create/update/delete), use recordRequests() instead. See the testing-api-assertions skill.
Returns different data based on request properties:
import { mockedGetApiV1BetaWorkloads } from '@mocks/fixtures/workloads/get'
mockedGetApiV1BetaWorkloads.conditionalOverride(
// Predicate: when should this override apply?
({ query }) => query.group === 'archive',
// Transform: what data to return?
(data) => ({
...data,
workloads: [], // Archive group is empty
})
)The predicate receives parsed request info with easy access to query params, path params, body, and headers:
;({ query, path, body, headers }) => {
// Query parameters (pre-parsed)
query.group // '?group=archive' -> 'archive'
query.status // '?status=running' -> 'running'
// Path parameters (from route like /workloads/:name)
path.name // for /workloads/:name
// Request body (for POST/PUT/DELETE)
body?.name // parsed JSON body
// Headers
headers.get('Authorization')
return true // or false
}The transform receives default data and returns modified data:
;(data) => ({
...data, // Spread defaults
workloads: data.workloads?.filter(
// Modify as needed
(w) => w.status === 'running'
),
})import { mockedGetApiV1BetaWorkloads } from '@mocks/fixtures/workloads/get'
it('shows only workloads from the selected group', async () => {
// Default mock returns workloads from multiple groups
// Add conditional override for 'production' group
mockedGetApiV1BetaWorkloads.conditionalOverride(
({ query }) => query.group === 'production',
(data) => ({
...data,
workloads: [
{ name: 'prod-server-1', group: 'production', status: 'running' },
{ name: 'prod-server-2', group: 'production', status: 'running' },
],
})
)
render(<WorkloadsList group="production" />)
// If component sends ?group=production, it gets the filtered data
// If component forgets the param, it gets default data with mixed groups
await waitFor(() => {
expect(screen.getByText('prod-server-1')).toBeVisible()
expect(screen.getByText('prod-server-2')).toBeVisible()
})
// These would appear if the filter param wasn't sent correctly
expect(screen.queryByText('dev-server')).not.toBeInTheDocument()
})it('shows empty message when group has no workloads', async () => {
mockedGetApiV1BetaWorkloads.conditionalOverride(
({ query }) => query.group === 'empty-group',
() => ({ workloads: [] })
)
render(<WorkloadsList group="empty-group" />)
await waitFor(() => {
expect(screen.getByText(/no workloads found/i)).toBeVisible()
})
})Chain multiple overrides for different conditions:
mockedGetApiV1BetaWorkloads
.conditionalOverride(
({ query }) => query.group === 'production',
() => ({ workloads: productionWorkloads })
)
.conditionalOverride(
({ query }) => query.group === 'staging',
() => ({ workloads: stagingWorkloads })
)Later overrides wrap earlier ones. If no predicate matches, the default fixture data is returned.
For test-scoped data changes without conditions, use .override():
// Override for entire test - no condition
mockedGetApiV1BetaGroups.override(() => ({
groups: [{ name: 'only-group', registered_clients: [] }],
}))
// Modify default data
mockedGetApiV1BetaGroups.override((data) => ({
...data,
groups: data.groups?.slice(0, 1),
}))Use .overrideHandler() for full control over the response:
import { HttpResponse } from 'msw'
// Return error
mockedGetApiV1BetaGroups.overrideHandler(() =>
HttpResponse.json({ error: 'Server error' }, { status: 500 })
)
// Network failure
mockedGetApiV1BetaGroups.overrideHandler(() => HttpResponse.error())All overrides are automatically reset before each test via resetAllAutoAPIMocks() in vitest.setup.ts. No cleanup needed.
When the same response override is needed across many tests, define it as a scenario in the fixture instead of duplicating .override() calls.
// In fixtures/workloads/get.ts
export const mockedGetApiV1BetaWorkloads = AutoAPIMock<...>({
workloads: [/* default data */],
}).scenario('empty', (mock) => mock.override(() => ({ workloads: [] })))mockedGetApiV1BetaWorkloads.activateScenario('empty')Scenario names are defined in renderer/src/common/mocks/scenarioNames.ts. Use existing names when possible to keep scenarios consolidated.
recordRequests() (create/update/delete only)© stacklok, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .codex/skills/testing-api-overrides of stacklok/toolhive-studio.
Open the folder on GitHubat commit 87f7a55
Testing API Overrides next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Testing API Overrides this skillstacklok/toolhive-studio | 170 | — | ~1.6k | Automated safety check: Pass | Apache-2.0 | |
| MCP Server Builderanthropics/skills | 180k | 62 repos | ~2.3k | Automated safety check: Pass | Apache-2.0 | |
| MCP Server BuildershareAI-lab/learn-claude-code | 78k | 5 repos | ~1.2k | Automated safety check: Pass | MIT | |
| MCP Integration for Pluginsanthropics/claude-plugins-official | 37k | 11 repos | ~3.1k | Automated safety check: Pass | Apache-2.0 | |
| Fastmcp Client CLIPrefectHQ/fastmcp | 28k | 1 repos | ~823 | Automated safety check: Pass | Apache-2.0 | |
| Crush Configurationcharmbracelet/crush | 29k | — | ~3.7k | Automated safety check: Pass | Custom licence |
anthropics/skills
Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.
shareAI-lab/learn-claude-code
Walks through building MCP servers in Python or TypeScript that expose tools, resources and prompts to Claude, with templates, registration and testing.
anthropics/claude-plugins-official
Explains how to bundle Model Context Protocol servers in a Claude Code plugin, covering config files, stdio, SSE, HTTP and WebSocket server types, and authentication.
PrefectHQ/fastmcp
Query and invoke tools on MCP servers using fastmcp list and fastmcp call.
charmbracelet/crush
Explains how to configure the Crush coding agent with crushrc or crush.json, covering providers, models, LSPs, MCP servers, hooks, permissions and config precedence.
mksglu/context-mode
Routes large command, file, API and browser output through context-mode tools so only the needed result enters the agent's context, instead of dumping it via Bash.
stacklok/toolhive-studio
Deep links in ToolHive Studio. An agent skill from stacklok/toolhive-studio.
stacklok/toolhive-studio
Reproduce and fix bugs using TDD. An agent skill from stacklok/toolhive-studio.
stacklok/toolhive-studio
Spin up and interact with ToolHive Studio's containerized dev environment (Xvfb + noVNC + DinD).
stacklok/toolhive-studio
Remediate security vulnerabilities found by Grype or pnpm audit.
stacklok/toolhive-studio
Create new AI agent skills for Claude Code, Codex, and Cursor.
stacklok/toolhive-studio
Verify API requests in tests. An agent skill from stacklok/toolhive-studio.
Works with
Categories
Test that components send correct query parameters or request arguments. Testing API Overrides is an agent skill from stacklok/toolhive-studio. Test that components send correct query parameters or request arguments.
Testing API Overrides fits situations like: testing filtering; any read operation where request parameters matter; test-scoped mock customization.
Run `npx skills add stacklok/toolhive-studio --skill testing-api-overrides -a claude-code`. Or copy the skill folder (.codex/skills/testing-api-overrides in stacklok/toolhive-studio) into .claude/skills/testing-api-overrides in your project. Claude Code loads it when a task matches its description.
Run `npx skills add stacklok/toolhive-studio --skill testing-api-overrides -a codex`. Or copy the skill folder (.codex/skills/testing-api-overrides in stacklok/toolhive-studio) into .agents/skills/testing-api-overrides in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add stacklok/toolhive-studio --skill testing-api-overrides -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/testing-api-overrides, .gemini/skills/testing-api-overrides, .github/skills/testing-api-overrides and .opencode/skills/testing-api-overrides in your project.
SKILL.md names no scripts, command-line tools or credentials: Testing API Overrides is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Testing API Overrides is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.6k tokens (SKILL.md is roughly 6.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Testing API Overrides: MCP Server Builder (anthropics/skills, 180k stars), MCP Server Builder (shareAI-lab/learn-claude-code, 78k stars), MCP Integration for Plugins (anthropics/claude-plugins-official, 37k stars) and Fastmcp Client CLI (PrefectHQ/fastmcp, 28k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
stacklok (a GitHub organization) maintains it in stacklok/toolhive-studio, which has 170 GitHub stars. The repository holds 9 skills in this directory. The repository was last updated on October 7, 2026.
Source: stacklok/toolhive-studio on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.