bing-webmaster-mcp AGENTS.md

bing-webmaster-mcp AGENTS.md is an instructions file for Codex, OpenCode from stufently/bing-webmaster-mcp. It costs 779 tokens per session, scanned A, original, MIT.

A set of instructions for coding agents working on the Bing Webmaster MCP repository. It explains the repository's rules, required checks, and definition of done.

In plain words
What is it for?
Guiding changes to the repository: checking the specification first, keeping secrets out of source control, avoiding network-based tests, and ensuring every write follows the apply-plan process.
Why use it?
It reduces mistakes such as inventing API details, exposing secrets, testing over the network, or bypassing the required approval boundary for writes.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md.

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/stufently/bing-webmaster-mcp/agents-md
Clone the repo
git clone --depth 1 https://github.com/stufently/bing-webmaster-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 bing-webmaster-mcp AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/stufently/bing-webmaster-mcp/agents-md.svg)](https://agentmods.dev/instructions/stufently/bing-webmaster-mcp/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/stufently/bing-webmaster-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/stufently/bing-webmaster-mcp/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 779 This file is loaded in full into every session.
When invoked 779 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.00779 $0.00779
Opus 5 $0.00390 $0.00390
Sonnet 5 $0.00156 $0.00156
Haiku 4.5 $0.00078 $0.00078

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

Security

Grade A, and why

bing-webmaster-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 · 58 lines

How it starts

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

Working agreements for coding agents

Read SPEC.md first — it is the contract. This file is how to work in the repo, not what to build.

Ground rules

  • Do not invent API details. Method names, parameter shapes, quota numbers and response formats come from a fetched Microsoft page or from docs/api-surface.md, never from memory. SPEC.md marks every fact as verified or unverified; if you need something marked unverified, fetch it and update the marking in the same commit.
  • Never hardcode a quota. Read it from the API (SPEC.md §9).
  • No network in tests. A test that reaches the internet is a broken test.
  • No secrets in the repo. The API key comes from the environment. Never commit a real key, a key-file name, or a site list. .env stays ignored.
  • Every write goes through the apply boundary. BING_WM_ALLOW_WRITES picks whether a human sits between plan and apply, not whether the boundary exists. A mutating operation that reaches Bing without creating a plan record and passing through apply_plan is a bug, however it was invoked (SPEC.md §6).
  • Never add an apply or reject tool to the MCP server, in either mode. There is a test asserting their absence. If that test fails, the fix is to remove the tool, not to update the test. Enabling direct writes replaces the planning tools; it never adds a tool that can confirm a plan somebody else wrote.

Conventions

  • Python ≥3.12, ruff (line-length = 100, select = ["E","F","I","UP","B","SIM","S"]).
  • Dependency floors in pyproject.toml, exact pins in constraints.txt. Floors are lower bounds — do not raise one to the newest release just because it exists; that breaks every environment already running something older.
  • One ops/ module per domain. CLI and MCP both call ops/, and neither holds logic of its own — if they can diverge in behaviour, the layering is wrong.
  • Error codes are a public contract. Adding one is fine; renaming one is a breaking change.
  • Tests mirror modules 1:1.

Read the full file on GitHub · 58 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 · 58 lines · 779 tokens per session scan A c4e19686ff5c

Subscribe to this mod's changes

bing-webmaster-mcp AGENTS.md is an instructions file published in the GitHub repository stufently/bing-webmaster-mcp (0 stars, last pushed 3d ago), licensed MIT. It adds 779 tokens to every session, about $0.0039 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.