mcpforge: Instructions file for Codex

AGENTS.md

mcpforge AGENTS.md is an instructions file for Codex, OpenCode from saagpatel/mcpforge. It costs 643 tokens per session, scanned A, original, MIT.

Project instructions for mcpforge, a Python command-line tool and MCP server that creates runnable MCP servers from plain-English descriptions and validates them.

In plain words
What is it for?
Working on mcpforge, including checking code quality, running tests, validating generated server projects, building releases, and avoiding credential-bearing files.
Why use it?
They give a coding agent the project’s current context, commands, safety boundaries, and verification requirements.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions AGENTS.md; mentions Codex.

This is saagpatel/mcpforge's own configuration. It tells Codex and OpenCode how to work on mcpforge itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything mcpforge configures →

Reuse

Borrowing it

Nothing to install: this file belongs to saagpatel/mcpforge. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/saagpatel/mcpforge/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/saagpatel/mcpforge

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 mcpforge AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/saagpatel/mcpforge/agents-md/github.svg)](https://agentmods.dev/instructions/saagpatel/mcpforge/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/saagpatel/mcpforge/agents-md"><img src="https://agentmods.dev/badge/instructions/saagpatel/mcpforge/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.

agentmods 80×15 button for mcpforge AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/saagpatel/mcpforge/agents-md"><img src="https://agentmods.dev/badge/instructions/saagpatel/mcpforge/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 643 This file is loaded in full into every session.
When invoked 643 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00643 $0.00643
Opus 5.5 $0.00257 $0.00257
Sonnet 5.5 $0.00129 $0.00129
Haiku 4.5 $0.00064 $0.00064

Measured 23d ago against content hash 4f31856f24c7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

mcpforge 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 23d 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 · 42 lines

How it starts

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

AGENTS.md

Purpose

mcpforge is a Python 3.12+ CLI and MCP server that generates FastMCP servers from plain-English descriptions, then validates generated projects before they are trusted.

Layout

  • src/mcpforge/ contains the CLI, MCP server, generation, validation, and templates.
  • tests/ contains the automated test suite.
  • examples/ contains generated Python and TypeScript examples.
  • docs/ contains provider and project documentation.

Setup

  • Python is pinned by .python-version to 3.12.15.
  • uv 0.13.0 or later is required by pyproject.toml and pinned in CI.
  • Run make setup to install the locked dependencies.
  • The .cursor/environment.json setup uses .cursor/install.sh, which pins Python 3.12.15 and uv 0.13.0, syncs from uv.lock, and runs credential-free checks. Do not copy local credentials or configuration into Cloud. Hosted generation checks remain opt-in.
  • For Codex Cloud, use the portable MCP Forge Cloud workflow skill. Follow supplied startup instructions and use the existing isolated task checkout. Prepared startup permits authorized source edits and commits. Refresh installation only when the supplied procedure requires it; do not upgrade dependencies or change locks to bypass startup failures.

Checks

  • make check runs lockfile, lint, formatting, tests, build, and example validation checks without applying source fixes.
  • The CI matrix covers verified Python 3.12 through 3.14 lanes. Python 3.15 is excluded because the locked watchfiles build currently uses PyO3 0.26, which supports up to Python 3.14.
  • Hosted-provider smoke tests require explicit authorization and credentials; they are not part of credential-free checks.
  • A green local or Cloud check does not establish hosted-provider, deployment, production, recovery, or human acceptance.

Boundaries

  • Generated MCP servers can widen local tool reach. Review generated code before installing it or wiring it into clients.
  • Do not read provider keys, .env files, keychains, OAuth stores, browser profiles, raw logs, private transcripts, or credential-bearing configs.
  • Cursor Cloud uses repo-local .cursor/environment.json; keep Cloud secrets in its environment-scoped Secrets settings only when explicitly authorized. Hosted generation checks stay opt-in.
  • Codex Cloud settings, tools, credentials, browser sign-ins, and services may differ from local state. Preserve network, privacy, approval, and secret settings. Keep machine-specific infrastructure, personal memory, and secrets out of the repository.
  • Keep PyPI/package naming, release state, and documentation synchronized before release work.

Read the full file on GitHub · 42 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. 23d ago Changed · -25 lines · -176 tokens per session 4f31856f24c7
  2. 1mo ago Changed · +17 lines · +371 tokens per session 8137a5978d90
  3. 1mo ago Changed · +7 lines · +143 tokens per session e5e2e54a3eb2
  4. 2mo ago First seen · 43 lines · 305 tokens per session scan A 3ecf79dfd36c

Subscribe to this mod's changes

mcpforge AGENTS.md is an instructions file published in the GitHub repository saagpatel/mcpforge (0 stars, last pushed 3d ago), licensed MIT. It adds 643 tokens to every session, about $0.0026 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-08-31.

Related

mcpforge AGENTS.md compared with instructions from other repositories

mcpforge AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mcpforge AGENTS.mdsaagpatel/mcpforgeInstructions file03d agoMITA643Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode