mcp AGENTS.md

Project instructions for using and maintaining an MCP service, including its required DOMAIN.md file and HTTP command interface. MCP is a way for an agent to connect to external tools or services.

In plain words
What is it for?
Reading the service's domain instructions and using curl requests to discover, get help for, invoke, or stream TMF620 catalog-management commands.
Why use it?
They define the project's source of truth, required reading, and the approved method for discovering and invoking commands.

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

Made for: Codex, OpenCode.

Per session 504 This file is loaded in full into every session.
When invoked 504 The same file — it is already loaded in full.
Security scan B 2 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 $0.00504 $0.00504
Opus 5 $0.00252 $0.00252
Sonnet 5 $0.00101 $0.00101
Haiku 4.5 $0.00050 $0.00050

Measured 2d ago against content hash e405d6447a6e, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade B, and why

mcp AGENTS.md scanned grade B with 2 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 2d 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.

Sends data to an external URLmediumData exfiltration

A POST to an outside endpoint may be telemetry or may be exfiltration; either way the mod talks to somewhere, and you should know where.

- `curl -s -X POST http://localhost:7701/cli/tmf620/catalogmgt -H "Content-Type: application/json" -d '{"command":"help","args":{"command":"catalog list"}}'`

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

For TMF620 command discovery and invocation, use the bash tool with `curl` against the HTTP CLI API. This is the preferred interface for Codex agents.
Origin

Copies of this mod

1 near-identical copy found in the catalogue:

AGENTS.md · 46 lines

What it actually says

AGENTS

Role: da Instruction: Always read DOMAIN.md (mandatory entrypoint for this level). Guardrail: DOMAIN.md is a critical contract file. Preserve template section structure and keep mutable operational detail in linked canonical artifacts.

Agent Guidance

Preferred Interface

For TMF620 command discovery and invocation, use the bash tool with curl against the HTTP CLI API. This is the preferred interface for Codex agents.

  • Discovery: GET http://localhost:7701/cli/tmf620/catalogmgt
  • Per-command help: POST http://localhost:7701/cli/tmf620/catalogmgt with {"command":"help","args":{"command":"<command path>"}}
  • Invoke: POST http://localhost:7701/cli/tmf620/catalogmgt with {"command":"<command path>","args":{...}}
  • Stream: add "stream": true to the same POST body

Preferred shell pattern:

  • curl -s http://localhost:7701/cli/tmf620/catalogmgt
  • curl -s -X POST http://localhost:7701/cli/tmf620/catalogmgt -H "Content-Type: application/json" -d '{"command":"help","args":{"command":"catalog list"}}'
  • curl -s -X POST http://localhost:7701/cli/tmf620/catalogmgt -H "Content-Type: application/json" -d '{"command":"catalog list","args":{"limit":1}}'

Source of Truth

The shared command layer lives in tmf620/commands.py.

  • tmf620/server.py exposes the HTTP CLI API and MCP server

When changing command names, arguments, discovery output, or invocation behavior, update tmf620/commands.py first.

Local URLs

  • Mock TMF620 API: http://localhost:8801/tmf-api/productCatalogManagement/v5
  • MCP server and HTTP CLI API: http://localhost:7701
  • HTTP CLI API endpoint: http://localhost:7701/cli/tmf620/catalogmgt

Validation Order

When validating command behavior, prefer this order:

  1. GET /cli/tmf620/catalogmgt
  2. POST /cli/tmf620/catalogmgt with help
  3. POST /cli/tmf620/catalogmgt invoke
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. 2d ago First seen · 46 lines · 504 tokens per session scan B e405d6447a6e

Subscribe to this mod's changes

mcp AGENTS.md is an instructions file published in the GitHub repository oopsyz/mcp (3 stars, last pushed 1mo ago), licensed MIT. It adds 504 tokens to every session, about $0.0025 per session on Opus 5. A static security scan graded it B with 2 findings (sends data to an external url, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other instructions, from other repositories

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,182 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,345 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

next.js AGENTS.md

Instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens