Basic Usage
Signature
Configuration Options
Required Properties
Server Metadata
Server Configuration
Storage Configuration
Transport Configuration
Shared Components
Prompts, agents, jobs, workflows, channels, and adapters are declared at the
@App level — not at the gateway level. See the @App reference for the full list.Feature Configuration
Full Example
Skill catalog injection
The optionalskillsConfig.injectInstructions field controls how the server’s auto-built skill catalog summary is merged into the instructions field on the MCP initialize response.
The summary is generated by
composeInitializeInstructions(...) and buildSkillsCatalogSummary(...) (exported from @frontmcp/sdk). It is bounded at 16 KB with a truncation footer that points clients at skills://catalog and skills://{name}/SKILL.md for the full content. The composer is re-evaluated on every initialize request, so skills registered dynamically after server boot are picked up automatically.
Audit log
skillsConfig.audit enables a tamper-evident, hash-chained audit log of skill action executions (authority pass / authority fail / HTTP success / HTTP failure phases). Records are signed and chained so that any later mutation breaks verification.
See the skill audit log extensibility page for the full architecture, threat model, and chain verification recipe.
v1.2.0 ships single-writer chain semantics. Multiple pods writing to the same store will produce loud warnings; CAS-based atomic chain head updates are queued for v1.3.0. Until then, route audit writes to a single elected leader pod or use per-pod chains and stitch offline.
Bootstrap Methods
HTTP Server
Serverless Handler
Stdio Transport
Direct Client
Related
@App
Define application modules
FrontMcpInstance
Server lifecycle management