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 instructions/xorrkaz/cml-mcp/agents-mdgit clone --depth 1 https://github.com/xorrkaz/cml-mcpWrote 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/instructions/xorrkaz/cml-mcp/agents-md)<a href="https://agentmods.dev/instructions/xorrkaz/cml-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/xorrkaz/cml-mcp/agents-md.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.1 | $0.04881 | $0.04881 |
| Opus 5 | $0.02440 | $0.02440 |
| Sonnet 5 | $0.00976 | $0.00976 |
| Haiku 4.5 | $0.00488 | $0.00488 |
Grade A, and why
cml-mcp AGENTS.md 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 6d 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 — 202 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md — CML MCP Server
Project Overview
cml-mcp is a Model Context Protocol (MCP) server that exposes Cisco Modeling Labs (CML) operations as AI-callable tools. It is written in Python (≥ 3.12) using FastMCP and the virl2_client library. The package is published to PyPI as cml-mcp and to Docker Hub as xorrkaz/cml-mcp.
Compatibility Goal
This server must work across the widest possible range of MCP clients and tool-calling LLMs — flagship hosted models (Claude, GPT-4-class, Gemini), AI Canvas, Cursor, Claude Desktop, LM Studio, and local / open-weight models (Gemma, Llama, Qwen, etc.). Optimize the public surface for the lowest-common-denominator client. In particular, assume the LLM may rely on the per-parameter inputSchema more than on the docstring — small models often parse structured schema cheaply and skim prose. Every design decision (flat primitive args, rich per-parameter constraints, Literal[...] over free strings, typed return shapes) traces back to this goal.
Repository Layout
src/cml_mcp/
__main__.py # CLI entry point (cml-mcp command)
server.py # FastMCP app wiring; registers all tool modules
cml_client.py # Async HTTP wrapper around the CML REST API
settings.py # Pydantic-settings config (env vars)
types.py # Shared response types used across tool modules
cml/ # Auto-generated Pydantic schemas from CML (Cisco license)
tools/ # One module per functional area (see below)
cache.py # Thread-safe async session cache for HTTP mode
dependencies.py # Shared CML client dependency and elicitation helper
middleware.py # HTTP middleware and ACL enforcement
model_helpers.py # Lenient Pydantic construction (strips unknown fields, accepts JSON strings)
tests/
conftest.py # Fixtures; USE_MOCKS env var switches mock ↔ live mode
mocks/ # Pre-recorded JSON responses for offline testing
input_data/ # Sample topology YAML files
acl.yaml.example # Reference for HTTP-mode ACL configuration
server.json # MCP server registry metadata
Justfile # Task runner (test, build, publish, clean, …)
pyproject.toml # Build config; linters: black (140), isort, flake8
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.
- 6d ago First seen · 202 lines · 4,881 tokens per session scan A db90e904551e
cml-mcp AGENTS.md is an instructions file published in the GitHub repository xorrkaz/cml-mcp (70 stars, last pushed 4d ago), licensed BSD-2-Clause. It adds 4,881 tokens to every session, about $0.0244 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 instructions, from other repositories
withings-mcp CLAUDE.md
Instructions for akutishevsky/withings-mcp, covering claude.md, general rules, project overview, development commands and running.
streamdeck-mcp CLAUDE.md
Instructions for verygoodplugins/streamdeck-mcp, covering claude.md, development commands, setup, run server (for claude desktop) and lint.
pixoo-mcp-server AGENTS.md
Instructions for cyanheads/pixoo-mcp-server, covering developer protocol, architecture overview, what's next?, core rules and patterns.
freecad-mcp copilot-instructions.md
Copilot instructions for sandraschi/freecad-mcp: You have access to 46+ FreeCAD CAD/CAM/CAE tools via MCP.
bumi-mcp AGENTS.md
AGENTS.md instructions for sandraschi/bumi-mcp, covering bumi-mcp — agent guide, entry points, standards, key files and quick ref.
naja-scope CLAUDE.md
Claude Code instructions for najaeda/naja-scope: When writing code that talks to najaeda — inside src/najascope/ or in throwaway exploration scripts — always go through from najaeda import naja (the raw naja.so binding: NLUniverse, NLDB, SNL objects) and never through najaeda.netlist (the high-level…