frontmcp-auth-ui

frontmcp-auth-ui is a skill for Claude Code, Codex from agentfront/frontmcp. It costs 184 tokens per session (3,055 once invoked), scanned A, original, Apache-2.0.

A guide for replacing FrontMCP’s built-in OAuth screens—such as login, consent, provider selection, authorization changes, and errors—with custom React components.

In plain words
What is it for?
Use it to brand or replace OAuth pages and add server-validated, multi-step fields to an authorization page.
Why use it?
It explains how the server-side settings and client-side components fit together, so you can change the authentication experience without guessing where each part belongs.

Skill for Claude CodeCodex

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 skills/agentfront/frontmcp/frontmcp-auth-ui
Any agent
npx skills add agentfront/frontmcp --skill frontmcp-auth-ui
Clone the repo
git clone --depth 1 https://github.com/agentfront/frontmcp

Made for: Claude Code, Codex.

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 frontmcp-auth-ui

README.md
[![agentmods](https://agentmods.dev/badge/skills/agentfront/frontmcp/frontmcp-auth-ui.svg)](https://agentmods.dev/skills/agentfront/frontmcp/frontmcp-auth-ui)
Your own site
<a href="https://agentmods.dev/skills/agentfront/frontmcp/frontmcp-auth-ui"><img src="https://agentmods.dev/badge/skills/agentfront/frontmcp/frontmcp-auth-ui.svg" alt="Measured on agentmods" height="20"></a>
Per session 184 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,055 The whole file, excluding the scripts and references it only reads on demand.
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.00184 $0.03055
Opus 5 $0.00092 $0.01528
Sonnet 5 $0.00037 $0.00611
Haiku 4.5 $0.00018 $0.00305

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

Security

Grade A, and why

frontmcp-auth-ui 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 4d 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.

libs/skills/catalog/frontmcp-auth-ui/SKILL.md · 147 lines

How it starts

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

FrontMCP Custom Authorization UI (auth.ui)

Entry point for replacing FrontMCP's built-in OAuth pages (login, consent, federated, incremental, error) with your own React components. Custom UI is a simple slot→file map (auth.ui) plus an extras name→handler map (auth.extras) on the auth config — there is no decorator and no class. The references/custom-auth-ui.md reference has the full API; the examples/ show a single login slot and a multi-step extras form.

When to Use This Skill

Must Use

  • Branding or fully replacing the local/remote mode login page with a custom React component
  • Building a custom consent screen, federated provider picker, incremental authorization, or error page
  • Adding a server-validated multi-step field to an authorization page (e.g. "add another item") via auth.extras

Recommended

  • Understanding which half is the server (auth.ui / auth.extras in @frontmcp/sdk) and which is the client (@frontmcp/ui/auth)
  • Looking up the AuthFlowState fields a slot component receives, or the /oauth/ui/extra route
  • Confirming that the framework (not your component) owns CSRF + CSP

Skip When

  • You only need to add/rename fields on the built-in login page or run a custom verifier — use the declarative login / authenticate config in frontmcp-configconfigure-auth instead (no React, no build step)
  • You are customizing a tool widget (not an auth page) — use create-toolui-widgets
  • You don't need a custom page at all — configuring no auth.ui keeps the built-in pages

Decision: Use this skill when you want to render your OWN component for an auth slot. Use configure-auth's declarative login config when tweaking the built-in page's fields is enough.

Prerequisites

  • A FrontMCP server in local or remote auth mode (see frontmcp-configconfigure-auth)
  • @frontmcp/ui, react, and react-dom installed (react/react-dom are peer deps of @frontmcp/ui)

Read the full file on GitHub · 147 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 4d ago First seen · 147 lines · 184 tokens per session scan A 21e8cecb3a47

Subscribe to this mod's changes

frontmcp-auth-ui is a skill published in the GitHub repository agentfront/frontmcp (146 stars, last pushed 2d ago), licensed Apache-2.0. It adds 184 tokens to every session and 3,055 once invoked, about $0.0009 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.

Related

Other skills, from other repositories

totp-oauth

Fermi's own OAuth 2.0 + TOTP owner authentication - how clients connect, how the 2FA login works, and how to roll it back.

abel30567/fermi-mcp · 38 tokens

typescript-expert

TypeScript and JavaScript expert with deep knowledge of type-level programming, performance optimization, monorepo management, migration strategies, and modern tooling. Use PROACTIVELY for any TypeScript/JavaScript issues including complex type gymnastics, build performance, debugging, and architectural decisions. If…

jasonjgardner/blockbench-mcp-plugin · 76 tokens

starchild-auth

Starchild Auth SDK: add OAuth login to any web app with one SDK. Use when integrating Starchild login into a project (e.g. add Starchild sign-in to my React app, set up OAuth with iamstarchild.com, implement login/logout with Starchild Auth SDK). Also use for local OAuth/CORS testing guidance (localhost:6066 web…

Starchild-ai-agent/official-skills · 92 tokens

gh-pr-description

Drafts and reviews GitHub pull request descriptions for the eve repository. Use when opening, updating, or reviewing a PR, or when summarizing a branch for reviewers.

vercel/eve · 38 tokens

coss

Helps implement coss UI components correctly. Use when building UIs with coss primitives (buttons, dialogs, selects, forms, menus, tabs, inputs, toasts, etc.), migrating from shadcn/Radix to coss/Base UI, composing trigger-based overlays, or troubleshooting coss component behavior. Covers imports, accessibility…

usekaneo/kaneo · 80 tokens

build-with-tinybase

Scaffold, extend, and verify reactive local-first JavaScript or TypeScript applications with TinyBase. Use when choosing TinyBase for in-memory tabular or key-value state, generating an app with create-tinybase, adding schemas or UI bindings, configuring browser or database persistence, configuring MergeableStore…

tinyplex/tinybase · 76 tokens