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/adamw7/tools/mcp-servernpx skills add adamw7/tools --skill mcp-servergit clone --depth 1 https://github.com/adamw7/toolsWrote 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/adamw7/tools/mcp-server)<a href="https://agentmods.dev/skills/adamw7/tools/mcp-server"><img src="https://agentmods.dev/badge/skills/adamw7/tools/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.00090 | $0.01433 |
| Opus 5 | $0.00045 | $0.00717 |
| Sonnet 5 | $0.00018 | $0.00287 |
| Haiku 4.5 | $0.00009 | $0.00143 |
Grade A, and why
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 3d 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 — 114 lines — stays where its author put it; the contents beside it link to each section on GitHub.
MCP Server Skill
Expose functionality over the Model Context Protocol using mcp-common, the
shared scaffolding behind all three servers here (data uniqueness,
code/context, adopt). Transport, registration and error handling are already
solved — a new tool writes none of that.
The SPI — a tool never mentions the MCP SDK
public class MyTool implements McpTool { // Function<Map<String,Object>, ToolResult>
@Override
public ToolDefinition getToolDefinition() {
return new ToolDefinition("my_tool", "What it does, for the model.",
Map.of("type", "object",
"properties", Map.of("path", Map.of("type", "string")),
"required", List.of("path")));
}
@Override
public ToolResult apply(Map<String, Object> arguments) {
String path = ToolArguments.requiredString(arguments, "path");
return ToolResult.success(answer); // or ToolResult.error(message)
}
}
ToolDefinition(name, description, JSON-schema map) andToolResult(success/error) are the SPI's own transport-neutral types;AbstractMcpConfigurationtranslates them into the SDK'sToolandCallToolResult. Do not importio.modelcontextprotocolfrom a tool.- Parse arguments with
ToolArguments:requiredString,requiredInt,optionalString,optionalBoolean,optionalInt,optionalBoundedInt— don't hand-roll casts out of the map. - Don't catch-and-wrap for the protocol's sake.
AbstractMcpConfigurationturns any thrownRuntimeExceptioninto an errorToolResultnaming the tool, so a bad argument reaches the client as an actionable tool error. Throw a clear exception; returnToolResult.errorwhen the failure is expected. - The failure path masks both channels (
FailureMessage): the arguments it logs lose their credentials, and the message the client reads loses both those and any absolute path, keeping only the file's name. Write exception messages that stay useful under that — name what was wrong with the argument, not where on the server's disk it resolved to.
What ships with it
1 file 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.
- 3d ago First seen · 114 lines · 90 tokens per session scan A 6a021b5a2949
mcp-server is a skill published in the GitHub repository adamw7/tools (11 stars, last pushed 5d ago), licensed MIT. It adds 90 tokens to every session and 1,433 once invoked, about $0.0005 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
analyzing-network-flow-data-with-netflow
Parse NetFlow v9 and IPFIX records to detect volumetric anomalies, port scanning, data exfiltration, and C2 beaconing patterns. Uses the Python netflow library to decode flow records, builds traffic baselines, and applies statistical analysis to identify flows with abnormal byte counts, connection durations, and…
network-rca
Kubernetes network root cause analysis skill powered by Kubeshark MCP. Use this skill whenever the user wants to investigate past incidents, perform retrospective traffic analysis, take or manage traffic snapshots, extract PCAPs, dissect L7 API calls from historical captures, compare traffic patterns over time, detect…
kfl
KFL2 (Kubeshark Filter Language) reference. This skill MUST be loaded before writing, constructing, or suggesting any KFL filter expression. KFL is statically typed — incorrect field names or syntax will fail silently or error. Do not guess at KFL syntax without this skill loaded. Trigger on any mention of KFL, CEL…
info-funnel
3-6 阶递减漏斗, 突出转化率 / 筛选比例 / 流量损耗。竖图适合 IG Story / 小红书.
docetl
Build and run LLM-powered data processing pipelines with DocETL. Use when users say "docetl", want to analyze unstructured data, process documents, extract information, or run ETL tasks on text. Helps with data collection, pipeline creation, execution, and optimization.
Workspace Data Analyst
Analyze CSV files in the workspace and summarize insights.