aic-mcp-server CLAUDE.md

aic-mcp-server CLAUDE.md is an instructions file for coding agents from pingidentity/aic-mcp-server. It costs 564 tokens per session, scanned C, original, Apache-2.0.

A set of instructions for a TypeScript server that provides coding agents with tools for PingOne Advanced Identity Cloud, an identity-management service. The tools cover records, themes, secrets, variables, logs, and authentication journeys or scripts.

In plain words
What is it for?
Use it when developing or operating integrations that manage PingOne identity data and settings, query logs, or edit authentication journeys and scripts.
Why use it?
It explains how to configure, authenticate, build, test, and run the server safely. OAuth login makes actions traceable to an authenticated user.

Instructions file

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/pingidentity/aic-mcp-server/claude-md
Clone the repo
git clone --depth 1 https://github.com/pingidentity/aic-mcp-server

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 aic-mcp-server CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/pingidentity/aic-mcp-server/claude-md.svg)](https://agentmods.dev/instructions/pingidentity/aic-mcp-server/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/pingidentity/aic-mcp-server/claude-md"><img src="https://agentmods.dev/badge/instructions/pingidentity/aic-mcp-server/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 564 This file is loaded in full into every session.
When invoked 564 The same file — it is already loaded in full.
Security scan C 1 finding. 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.00564 $0.00564
Opus 5 $0.00282 $0.00282
Sonnet 5 $0.00113 $0.00113
Haiku 4.5 $0.00056 $0.00056

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

Security

Grade C, and why

aic-mcp-server CLAUDE.md scanned grade C with 1 finding 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

npm run build # Clean build (rm -rf dist && tsc)
CLAUDE.md · 40 lines

How it starts

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

PingOne AIC MCP Server

TypeScript MCP server that exposes tools for AI agents to interact with PingOne Advanced Identity Cloud (AIC). Tools cover managed object CRUD, theme management, environment secrets/variables, log querying, and AM journey/script management. Uses OAuth 2.0 (PKCE locally, Device Code Flow in containers) so all actions are traceable to authenticated users.

Commands

npm install          # Install dependencies
npm run build        # Clean build (rm -rf dist && tsc)
npm run dev          # Watch mode (tsc -w)
npm test             # Run all tests (vitest)
npm run test:watch   # Watch mode tests
npm run test:coverage
npm run test:snapshots:update   # UPDATE_SNAPSHOTS=true vitest run
npm run typecheck    # Type check (tsc --noEmit)
npm run lint         # ESLint
npm run lint:fix
npm run format       # Prettier
npm run format:check

Environment Variables

  • AIC_BASE_URL (required): PingOne AIC hostname (e.g., openam-example.forgeblocks.com). No https:// prefix. Server exits on startup if not set.
  • DOCKER_CONTAINER: Set to 'true' to use Device Code Flow instead of PKCE. AM tools are excluded in Docker mode.

Architecture

  • Entry point: src/index.ts — creates MCP server, collects all tools via getAllTools() from src/utils/toolHelpers.ts, registers them with server.registerTool()
  • Tool categories: src/tools/{managedObjects,themes,esv,logs,am}/ — each has an index.ts that re-exports all tools. Tools are auto-registered via Object.values() on these modules
  • Auth: src/services/authService.ts — all scopes collected upfront at startup; individual tools call getToken(scopes) which does RFC 8693 token exchange for scoped-down tokens
  • Shared helpers:
    • src/utils/apiHelpers.tsmakeAuthenticatedRequest(url, scopes, options) and createToolResponse(text)
    • src/utils/responseHelpers.tsformatSuccess(), formatError()
    • src/utils/validationHelpers.tssafePathSegmentSchema (path traversal prevention), REALMS constant

Read the full file on GitHub · 40 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 · 40 lines · 564 tokens per session scan C 8471a2eaffd9

Subscribe to this mod's changes

aic-mcp-server CLAUDE.md is an instructions file published in the GitHub repository pingidentity/aic-mcp-server (2 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 564 tokens to every session, about $0.0028 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). 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

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

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

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

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