Borrowing it
Nothing to install: this file belongs to faizbawa/mcp-beaker. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/faizbawa/mcp-beaker/master/AGENTS.mdgit clone --depth 1 https://github.com/faizbawa/mcp-beakerWrote 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/faizbawa/mcp-beaker/agents-md)<a href="https://agentmods.dev/instructions/faizbawa/mcp-beaker/agents-md"><img src="https://agentmods.dev/badge/instructions/faizbawa/mcp-beaker/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/instructions/faizbawa/mcp-beaker/agents-md"><img src="https://agentmods.dev/badge/instructions/faizbawa/mcp-beaker/agents-md.svg" alt="Reviewed on agentmods" width="80" 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.02157 | $0.02157 |
| Opus 5.5 | $0.00863 | $0.00863 |
| Sonnet 5.5 | $0.00431 | $0.00431 |
| Haiku 4.5 | $0.00216 | $0.00216 |
Grade A, and why
mcp-beaker 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 today.
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 — 165 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md
Instructions for AI coding agents working on mcp-beaker — an MCP server (Python, FastMCP 4 / mcp SDK 2) exposing the Beaker lab (XML-RPC + REST) to AI agents: system search/reservation, job submission and diagnosis.
Commands
Package manager is uv — never pip.
uv sync --dev # set up the venv
uv run pytest tests/ -q # full suite (all must pass)
uv run ruff check src/ tests/ # lint
uv run ruff format --check src/ tests/
uv run mypy src/ # type check
Baselines (do not fix inside an unrelated change, do not add to them):
mypy has a ~30-error pre-existing baseline; ruff has 3 pre-existing
findings in tests/test_tools_systems.py; several files carry
ruff format drift (the repo uses a deliberate trailing-comma "hug"
style) — only format files you newly touch.
To smoke-test the server the way a real MCP client sees it (FastMCP 4's
StdioTransport runs with a minimal env, so pass BEAKER_URL explicitly):
BEAKER_URL=https://beaker.example.com uv run python -c "
import asyncio
from fastmcp import Client
from fastmcp.client.transports import StdioTransport
async def main():
async with Client(StdioTransport('.venv/bin/mcp-beaker', [])) as c:
tools = await c.list_tools()
print(len(tools), c.instructions)
asyncio.run(main())
"
Architecture
src/mcp_beaker/
├── __init__.py # entrypoint / CLI (stdio + http transports)
├── client.py # BeakerClient: XML-RPC (CookieTransport) +
│ # REST (shared pooled httpx.AsyncClient via
│ # _request(): session-cookie header,
│ # login-redirect detect, 404/401/403 mapping,
│ # 429 Retry-After retry)
├── config.py # BeakerConfig / ServerSettings from env
├── instructions.py # server-level usage instructions (MCP handshake)
├── exceptions.py # BeakerError hierarchy
└── servers/
├── __init__.py # the FastMCP instance: lifespan, cache_ttl,
│ # ResponseLimitingMiddleware (scoped),
│ # check_write_allowed()
├── helpers.py # SHARED FACILITIES — use these, don't reinvent:
│ # annotation presets (READ_ONLY/MUTATING/
│ # DESTRUCTIVE),
│ # TASKS_AVAILABLE probe, ask_confirmation()
│ # (dual-era MRTR guard), tool_error()
├── general.py # whoami, list_lab_controllers
├── systems.py # system search/details/reserve/loan/power
├── jobs.py # job submit/watch/logs/results
├── distros.py # distro tree / OS family lookup
├── tasks.py # task library search
├── prompts.py # reserve_system, diagnose_beaker_job prompts
└── resources.py # static Beaker docs resources
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.
- today First seen · 165 lines · 2,157 tokens per session scan A 4b1e983310ac
mcp-beaker AGENTS.md is an instructions file published in the GitHub repository faizbawa/mcp-beaker (1 stars, last pushed yesterday), licensed MIT. It adds 2,157 tokens to every session, about $0.0086 per session on Opus 5.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-12-06.
mcp-beaker AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| mcp-beaker AGENTS.mdfaizbawa/mcp-beaker | Instructions file | 1 | yesterday | MIT | A | 2,157 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 9,887 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 144k | today | MIT | A | 7,230 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 5,685 | GitHub Copilot |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 150k | yesterday | MIT | A | 4,951 | Codex, OpenCode |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 291k | yesterday | MIT | A | 4,396 | Codex, OpenCode |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 3,303 | GitHub Copilot |