Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@frontmcp/auth

Package Overview
Dependencies
Maintainers
1
Versions
40
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

latest
Source
npmnpm
Version
1.3.0
Version published
Weekly downloads
3K
-14.72%
Maintainers
1
Weekly downloads
 
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 27 May 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts