nestjs-devtools-mcp: Instructions file for Codex

AGENTS.md

nestjs-devtools-mcp AGENTS.md is an instructions file for Codex, OpenCode from HaoNgo232/nestjs-devtools-mcp. It costs 684 tokens per session, scanned A, original, MIT.

A set of repository instructions for nestjs-devtools-mcp, a pnpm monorepo containing multiple related packages and apps. It explains the project layout, coding rules, build commands, and tests.

In plain words
What is it for?
Use it when developing, testing, formatting, linting, or building the NestJS packages and their demo or test apps.
Why use it?
It gives a coding assistant the project-specific context needed to make changes that fit the repository.

Instructions file for CodexOpenCode

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

This is HaoNgo232/nestjs-devtools-mcp's own configuration. It tells Codex and OpenCode how to work on nestjs-devtools-mcp 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 nestjs-devtools-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to HaoNgo232/nestjs-devtools-mcp. 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/HaoNgo232/nestjs-devtools-mcp/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/HaoNgo232/nestjs-devtools-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 nestjs-devtools-mcp AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/haongo232/nestjs-devtools-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/haongo232/nestjs-devtools-mcp/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 684 This file is loaded in full into every session.
When invoked 684 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.00684 $0.00684
Opus 5.5 $0.00274 $0.00274
Sonnet 5.5 $0.00137 $0.00137
Haiku 4.5 $0.00068 $0.00068

Measured 1mo ago against content hash 15cc857c257e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

nestjs-devtools-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 1mo 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 · 51 lines

How it starts

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

Repository Guidelines

Project Structure & Module Organization

This is a Bun workspace monorepo with two published packages and test applications:

  • packages/plugin: @nestjs-devtools-mcp/plugin, a NestJS module that runs inside the target app and exposes /_dev/mcp.
  • packages/server: nestjs-devtools-mcp, an MCP STDIO bridge built with @modelcontextprotocol/sdk (McpServer). Discovers and proxies requests to local plugin endpoints.
  • test-nestjs-app: minimal fixture app used for development and testing.

Source files live in each package's src/. In packages/server, code is modularized into src/tools/, src/schemas/, src/types.ts, and src/constants.ts. Unit tests live beside source files under src/__tests__/.

Build, Test, and Development Commands

Use Bun from the repository root:

  • bun install: install workspace dependencies.
  • bun run build: build all workspace packages with TypeScript.
  • bun run test: run Jest test suites across all packages.
  • bun run lint: lint all TypeScript files using eslint.config.mjs.
  • bun run format: format TypeScript files with Prettier.
  • bun run ci: execute format, lint, build, and test pipeline.

Package-scoped commands:

  • bun run --filter @nestjs-devtools-mcp/plugin test
  • bun run --filter nestjs-devtools-mcp test
  • bun run --filter nestjs-devtools-mcp build

Coding Style & Naming Conventions

  • Write idiomatic TypeScript with strict types.
  • Follow NestJS conventions in packages/plugin: services end in .service.ts, controllers in .controller.ts, guards in .guard.ts, and specs in .spec.ts.
  • In packages/server, use modern MCP SDK APIs (McpServer, server.registerTool, server.registerResource, server.registerPrompt). Define schemas with Zod and declare tool annotations (readOnlyHint, idempotentHint).
  • Prefix all standardized MCP tools with nestjs_ (e.g. nestjs_discover_servers, nestjs_get_logs).
  • ESLint enforces: no unused variables unless prefixed with _, no explicit any outside tests, and no non-null assertions.

Read the full file on GitHub · 51 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. 1mo ago Changed · +2 lines · +2 tokens per session 15cc857c257e
  2. 2mo ago First seen · 49 lines · 682 tokens per session scan A 715512279f4a

Subscribe to this mod's changes

nestjs-devtools-mcp AGENTS.md is an instructions file published in the GitHub repository HaoNgo232/nestjs-devtools-mcp (0 stars, last pushed 1mo ago), licensed MIT. It adds 684 tokens to every session, about $0.0027 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

nestjs-devtools-mcp AGENTS.md compared with instructions from other repositories

nestjs-devtools-mcp AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
nestjs-devtools-mcp AGENTS.mdHaoNgo232/nestjs-devtools-mcpInstructions file01mo agoMITA684Codex, 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