banrepco_mcp AGENTS.md

banrepco_mcp AGENTS.md is an instructions file for Codex, OpenCode from kevyder/banrepco_mcp. It costs 840 tokens per session, scanned A, original, MPL-2.0.

Repository instructions for a TypeScript MCP server running as a Cloudflare Worker. They describe its Durable Object, HTTP endpoints, tool-registration pattern, required environment variable, and generated types.

In plain words
What is it for?
Use them when adding tools, changing request handling, configuring the Cloudflare Worker, or running the Banrepco API integration.
Why use it?
They identify routing and startup details that must stay consistent for the server to work. This helps developers add tools without breaking its MCP, server-sent events, or deployment wiring.

Instructions file for CodexOpenCode

Install

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.

agentmods
npx agentmods add instructions/kevyder/banrepco_mcp/agents-md
Clone the repo
git clone --depth 1 https://github.com/kevyder/banrepco_mcp

Made for: Codex, OpenCode.

Wrote 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.

agentmods badge for banrepco_mcp AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/kevyder/banrepco_mcp/agents-md.svg)](https://agentmods.dev/instructions/kevyder/banrepco_mcp/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/kevyder/banrepco_mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/kevyder/banrepco_mcp/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 840 This file is loaded in full into every session.
When invoked 840 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00840 $0.00840
Opus 5 $0.00420 $0.00420
Sonnet 5 $0.00168 $0.00168
Haiku 4.5 $0.00084 $0.00084

Measured 5d ago against content hash c7c3e75c0d5d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

banrepco_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 5d 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.

AGENTS.md · 53 lines

How it starts

The opening of the file, as written. The whole thing — 53 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AGENTS.md

Stack

  • Single-package TypeScript Cloudflare Worker project. Use Bun commands; the repo is locked with bun.lock and Dependabot is configured for the bun ecosystem.
  • Main Worker entrypoint is src/index.ts, configured by wrangler.jsonc main.

Runtime Wiring

  • This is an MCP server built on Cloudflare Workers Durable Objects. BanrepcoMCP extends McpAgent in src/index.ts and is also the Durable Object class bound as MCP_OBJECT in wrangler.jsonc.
  • HTTP routing is minimal and path-sensitive: /sse and /sse/message use BanrepcoMCP.serveSSE("/sse"); /mcp uses BanrepcoMCP.serve("/mcp"). Preserve those paths unless the protocol surface is being changed deliberately.
  • Tool registration: new MCP tools extend BaseTool (src/tools/tool.interface.ts), implement protected initTools(), and get instantiated + start()-ed in BanrepcoMCP constructor. start() is final — calls initTools() internally.

Environment And Generated Types

  • BAN_REP_CO_API_URL is required at runtime. src/index.ts passes it into HttpClient, and worker-configuration.d.ts declares it.
  • wrangler.jsonc has "vars" commented out — the var is NOT declared in config. Provide it via wrangler secret put BAN_REP_CO_API_URL (prod) or .dev.vars (local dev). Wrangler does NOT read .env; use .dev.vars for local secrets.
  • After changing Worker bindings or env vars in wrangler.jsonc, run bun run cf-typegen to regenerate worker-configuration.d.ts.

Commands

  • Dev server: bun run dev or bun run start.
  • Deploy: bun run deploy.
  • Typecheck: bun run type-check.
  • Regenerate Cloudflare types: bun run cf-typegen.
  • Format: bun run format.
  • Autofix lint: bun run lint:fix.

Verification Notes

  • There is no test suite or CI workflow in this repo today.
  • biome.json only includes src/**/* and explicitly excludes worker-configuration.d.ts, so lint/format commands do not cover generated Worker types.
  • bunx biome check src currently reports existing repo issues outside any new change, so avoid broad formatting-only churn unless the task is specifically to clean that up.

Read the full file on GitHub · 53 lines

Changes

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.

  1. 5d ago First seen · 53 lines · 840 tokens per session scan A c7c3e75c0d5d

Subscribe to this mod's changes

banrepco_mcp AGENTS.md is an instructions file published in the GitHub repository kevyder/banrepco_mcp (9 stars, last pushed 24d ago), licensed MPL-2.0. It adds 840 tokens to every session, about $0.0042 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-31.