New:Socket for Asana Is Now Available.Learn more
Get Started

@frontmcp/auth

Package Overview
Dependencies
Maintainers
1
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@frontmcp/auth

FrontMCP Auth - Authentication, session management, and credential vault

Source
npmnpm
Version
0.11.0
Version published
Maintainers
1
Created
Source

@frontmcp/auth

Authentication, session management, and credential vault for FrontMCP servers.

NPM

Install

npm install @frontmcp/auth

Typically consumed via @frontmcp/sdk — direct installation is only needed for advanced use cases.

Features

  • Remote OAuth — delegate authentication to an external IdP with optional DCR (docs)
  • Local OAuth — built-in token issuance with configurable sign keys (docs)
  • JWKS validation — JSON Web Key Set discovery and token verification (docs)
  • OAuth stores — session, token, and authorization code persistence (memory, Redis, Vercel KV) (docs)
  • Credential vault — encrypted storage for secrets and API keys (docs)
  • PKCE — Proof Key for Code Exchange (RFC 7636) built on @frontmcp/utils crypto (docs)
  • CIMD — Client Instance Machine Detection for session continuity (docs)
  • Auth UI templates — consent, login, and error pages (docs)
  • Audience validation — per-app audience and scope enforcement (docs)
  • Token vault — secure token exchange and refresh management (docs)

Quick Example

import { FrontMcp, App } from '@frontmcp/sdk';

@FrontMcp({
  info: { name: 'Secure Server', version: '1.0.0' },
  apps: [MyApp],
  auth: {
    type: 'remote',
    name: 'my-idp',
    baseUrl: 'https://idp.example.com',
  },
})
export default class Server {}

Full guide: Authentication Overview

Docs

TopicLink
OverviewAuthentication Overview
Remote OAuthRemote OAuth
Local OAuthLocal OAuth
JWKSJWKS Validation
Session storesSession Stores
Credential vaultCredential Vault
PKCEPKCE
CIMDClient Instance Machine Detection
Auth UIAuth UI Templates
Audience & scopesAudience Validation
Token vaultToken Vault

License

Apache-2.0 — see LICENSE.

Keywords

mcp

FAQs

Package last updated on 19 Feb 2026

Related posts