Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/stacklok/toolhive-catalog/add-mcp-servernpx skills add stacklok/toolhive-catalog --skill add-mcp-servergit clone --depth 1 https://github.com/stacklok/toolhive-catalogWrote 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.
[](https://agentmods.dev/skills/stacklok/toolhive-catalog/add-mcp-server)<a href="https://agentmods.dev/skills/stacklok/toolhive-catalog/add-mcp-server"><img src="https://agentmods.dev/badge/skills/stacklok/toolhive-catalog/add-mcp-server.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00066 | $0.01741 |
| Opus 5 | $0.00033 | $0.00870 |
| Sonnet 5 | $0.00013 | $0.00348 |
| Haiku 4.5 | $0.00007 | $0.00174 |
Grade A, and why
add-mcp-server 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 4d 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.
How it starts
The opening of the file, as written. The whole thing — 182 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Add MCP Server to ToolHive Registry
Each entry is a server.json file in registries/toolhive/servers/<name>/ following the
MCP ServerJSON schema
with ToolHive extensions in _meta.
Workflow
- Determine type: Docker/OCI image → Container (
packages). HTTP endpoint → Remote (remotes). - Choose name: lowercase, numbers, hyphens only. Append
-remotefor remote variants. - Create directory:
mkdir -p registries/toolhive/servers/<name> - Gather info if needed: fetch README/docs for tools, transport, env vars, auth.
- Create
icon.svg: service logo, simple, standard SVG format. - Create
server.json: use templates below. - Validate:
task catalog:validate && task catalog:build
Minimal Container Template
{
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
"name": "io.github.stacklok/<server-name>",
"description": "Clear, concise one-line description",
"title": "<Human-Readable Title>",
"repository": {
"url": "https://github.com/org/repo",
"source": "github"
},
"version": "1.0.0",
"packages": [
{
"registryType": "oci",
"identifier": "ghcr.io/org/server:v1.0.0",
"transport": {
"type": "stdio"
}
}
],
"icons": [
{
"src": "https://raw.githubusercontent.com/stacklok/toolhive-registry/main/registries/toolhive/servers/<server-name>/icon.svg",
"mimeType": "image/svg+xml",
"sizes": ["any"]
}
],
"_meta": {
"io.modelcontextprotocol.registry/publisher-provided": {
"io.github.stacklok": {
"ghcr.io/org/server:v1.0.0": {
"tier": "Community",
"status": "Active",
"tags": ["category1", "category2"],
"tools": ["tool_name"],
"overview": "## Server Title\n\nA 3-5 sentence markdown description of purpose and capabilities."
}
}
}
}
}
What ships with it
4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 4d ago First seen · 182 lines · 66 tokens per session scan A 69432499a70d
add-mcp-server is a skill published in the GitHub repository stacklok/toolhive-catalog (22 stars, last pushed today), licensed Apache-2.0. It adds 66 tokens to every session and 1,741 once invoked, about $0.0003 per session on Opus 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.
Other skills, from other repositories
npm-search
Search npm packages, compare libraries, and check download stats via MCP. Use when evaluating or researching npm packages.
agent-registry
Discover, register, and hire ERC-8004 autonomous agents across 22,000+ agents on EVM + Solana. Search by capability, check on-chain reputation scores, compare agent services by category with composite scoring, browse the service catalog, enrich agent profiles, check buyer reputation, and get complete machine-readable…
opik-diagnose
Surface the Opik traces worth a developer's attention, ranked by signal — errors, failed tool calls, latency, regressions, and low online-eval scores — plus Diagnostics issues. Reads live/production traces via the SDK (searchtraces and agentinsights) and works with no MCP; uses the MCP issue entity when connected.…
client-scripts
Write ServiceNow client scripts (onLoad/onChange/onSubmit/onCellEdit) using gform, guser, GlideAjax, field visibility/mandatory toggles, and validation with debounced server calls.
agoragentic-transaction-assurance
Prepare, evaluate, and reconcile autonomous agent transactions without self-granting payment or owner authority. Use when an agent must bind principal authority, seller terms, payment evidence, execution, delivered outcome, and reconciliation; handle paid retries safely; or prepare an authority request for owner…
maya-shot-export
Pipeline stage — shot-level export: frame ranges, cameras, FBX / Alembic packaging for editorial. Use when packaging shot data for downstream departments. Not for full pipeline publish (maya-pipeline) or scene assembly (maya-scene-assembly).