servicenow-platform-mcp: Instructions file for Codex

AGENTS.md

servicenow-platform-mcp AGENTS.md is an instructions file for Codex, OpenCode from Xerrion/servicenow-platform-mcp. It costs 7,071 tokens per session, scanned A, original, MIT.

A set of project instructions for an asynchronous Python server that lets coding agents work with ServiceNow data and schemas.

In plain words
What is it for?
Use it when developing, testing, formatting, or type-checking this ServiceNow integration. ServiceNow is a platform for managing business workflows and records.
Why use it?
It gives agents the project's setup, dependencies, configuration, and code-checking rules, reducing guesswork when changing or running the server.

Instructions file for CodexOpenCode

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

This is Xerrion/servicenow-platform-mcp's own configuration. It tells Codex and OpenCode how to work on servicenow-platform-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 servicenow-platform-mcp configures โ†’

Reuse

Borrowing it

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/xerrion/servicenow-platform-mcp/agents-md.svg)](https://agentmods.dev/instructions/xerrion/servicenow-platform-mcp/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/xerrion/servicenow-platform-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/xerrion/servicenow-platform-mcp/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 7,071 This file is loaded in full into every session.
When invoked 7,071 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.07071 $0.07071
Opus 5 $0.03535 $0.03535
Sonnet 5 $0.01414 $0.01414
Haiku 4.5 $0.00707 $0.00707

Measured today against content hash 9d25d45cc464, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

servicenow-platform-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 today.

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 ยท 523 lines

How it starts

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

AGENTS.md - servicenow-platform-mcp

๐Ÿ“‹ Project Overview

  • Python 3.12+ async MCP server for ServiceNow schema access, record inspection, attachment operations, debugging, and change intelligence.
  • Package manager: uv (not pip/poetry). Build system: hatchling.
  • Source layout: src/servicenow_mcp/ (src-layout). Entry point: servicenow_mcp.server:main.
  • Config via pydantic-settings loading env vars from .env / .env.local.
  • The MCP dependency floor is mcp>=2.1.1. MCP SDK v2 uses MCPServer from mcp.server; direct httpx remains an independent application dependency, while MCP's httpx2 is transitive.
  • Version: 0.10.0. Supported Python: 3.12, 3.13, 3.14.

Dependencies

Type Packages
Core mcp>=2.1.1, httpx, pydantic, pydantic-settings, python-dotenv, uvicorn, starlette
Sentry sentry-sdk>=2.55.0
Dev pytest, pytest-asyncio, respx, ruff, mypy, basedpyright, pytest-cov

๐Ÿš€ Setup

uv sync --group dev          # Install all deps including dev tools
cp .env.example .env.local   # Then fill in ServiceNow credentials

No build step needed for development. uv build creates the distribution wheel.

๐Ÿ”ง Lint / Format / Type-check

Command Purpose
uv run ruff check . Lint (rules: E, F, W, I, UP, B, SIM, RUF, C4, DTZ, T20, PTH, TC, RET, PLW, PT, A, COM, PIE, ISC, G, INP, TID, ERA; E501/COM812/ISC001/TC001-3/RET504-5 ignored)
uv run ruff check --fix . Auto-fix lint issues
uv run ruff format . Format code
uv run ruff format --check . Verify formatting without changes
uv run mypy src/ Type checking (disallow_untyped_defs=true, ignore_missing_imports=true)

Read the full file on GitHub ยท 523 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. today Changed ยท -33 tokens per session 9d25d45cc464
  2. 2d ago Changed ยท +41 lines ยท +970 tokens per session a45c65ea0992
  3. 7d ago First seen ยท 482 lines ยท 6,134 tokens per session scan A e8dc48273328

Subscribe to this mod's changes

servicenow-platform-mcp AGENTS.md is an instructions file published in the GitHub repository Xerrion/servicenow-platform-mcp (4 stars, last pushed today), licensed MIT. It adds 7,071 tokens to every session, about $0.0354 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.

Related

Other instructions, from other repositories

graftcode graftcode-python.instructions.md

Instructions for grft-dev/graftcode, covering graftcode โ€” python backend services, when this applies (always), authoritative docs (source of truth), golden rules and service = plain python module (no web framework).

grft-dev/graftcode ยท 4,639 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,153 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

next.js AGENTS.md

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

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,469 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