Overview
Methods
getPlugins()
Get all registered plugins.Plugin Architecture
Plugins create nested registries for their components:Plugin Registration
Plugins are registered via the@FrontMcp decorator:
@Plugin decorator for custom plugins:
Plugin Capabilities
Plugins can provide:Tools
Additional MCP tools
Resources
Additional MCP resources
Prompts
Additional MCP prompts
Skills
Additional MCP skills
Providers
DI providers
Hooks
Flow hooks
Hook Registration
Plugins can register hooks that run during tool/resource/prompt flows:- App-scoped: Hook applies only to the app’s tools
- Server-scoped: Hook applies to all tools in the server
Context Extensions
Plugins can extend execution contexts with new properties:Provider Merging
Plugin providers are merged into both:- App registry (for app-scoped access)
- Scope registry (for server-wide access)
Built-in Plugins
FrontMCP includes official plugins:| Plugin | Description |
|---|---|
CachePlugin | Response caching with Redis/memory support |
RememberPlugin | Session memory storage |
CodeCallPlugin | Dynamic code execution |