frontmcp CLAUDE.md

Project guidance for FrontMCP, an Nx monorepo—a single repository that manages multiple TypeScript libraries—plus its Mintlify documentation site and installed skills.

In plain words
What is it for?
Use it when editing FrontMCP libraries, adding documentation, working with the @frontmcp packages, or following the repository's skill and layout conventions.
Why use it?
It prevents documentation pages and links from being placed under the wrong URL and directs developers to relevant skill guidance before coding.

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/agentfront/frontmcp/claude-md
Clone the repo
git clone --depth 1 https://github.com/agentfront/frontmcp
Per session 5,830 This file is loaded in full into every session.
When invoked 5,830 The same file — it is already loaded in full.
Security scan A 0 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.05830 $0.05830
Opus 5 $0.02915 $0.02915
Sonnet 5 $0.01166 $0.01166
Haiku 4.5 $0.00583 $0.00583

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

Security

Grade A, and why

frontmcp CLAUDE.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 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.

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.

CLAUDE.md · 697 lines

How it starts

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

Skills and Tools

Auto-generated by frontmcp skills install (v1.4.0) — do not edit manually.

This project uses FrontMCP skills installed in .claude/skills/. Before writing code, search the installed skills for relevant guidance:

When you need to implement something, read the matching skill first — it contains patterns, examples, and common mistakes to avoid.

Documentation Site Layout

The Mintlify docs in docs/ are part of the agentfront.dev aggregator site, which serves multiple projects. All FrontMCP pages live under docs/frontmcp/ and ship at https://docs.agentfront.dev/frontmcp/.... Never flatten docs/frontmcp/* into docs/*, never drop the frontmcp/ prefix from docs/docs.json page references, and keep internal MDX links prefixed (e.g. /frontmcp/servers/tools, not /servers/tools). The canonical URL in docs/docs.json must point to https://docs.agentfront.dev/frontmcp.

FrontMCP Monorepo - Development Guide

Repository Structure

  • Monorepo: Nx-based monorepo managing multiple TypeScript libraries
  • Libraries Location: /libs/*
  • each library is independent and publishable

Primary Libraries (scoped under @frontmcp/*)

Located in /libs/*:

  • cli (libs/cli) - Command-line interface
  • sdk (libs/sdk) - Core FrontMCP SDK
  • adapters (libs/adapters) - Framework adapters and integrations
  • plugins (libs/plugins) - Plugin system and extensions
  • skills (libs/skills) - Curated SKILL.md catalog for scaffold and install tooling

Note: ast-guard, vectoriadb, enclave-vm, json-schema-to-zod-v3, and mcp-from-openapi have been moved to external repositories.

Demo Apps

Located in /apps/*:

  • demo (apps/demo) - Demo application for development and testing

Technology Stack

  • Build System: Nx (commands: nx build sdk, nx test ast-guard, nx run-many -t test)
  • Language: TypeScript with strict mode enabled
  • Testing: Jest with 95%+ coverage requirement
  • Package Manager: yarn

Read the full file on GitHub · 697 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. 2d ago First seen · 697 lines · 5,830 tokens per session scan A 8db304d14b55

Subscribe to this mod's changes

frontmcp CLAUDE.md is an instructions file published in the GitHub repository agentfront/frontmcp (147 stars, last pushed 26d ago), licensed Apache-2.0. It adds 5,830 tokens to every session, about $0.0292 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-30.