Basic Usage
Signature
Configuration Options
Required Properties
| Property | Type | Description |
|---|---|---|
name | string | Unique plugin identifier |
Optional Properties
| Property | Type | Description |
|---|---|---|
id | string | Stable identifier |
description | string | Plugin description |
scope | 'app' | 'server' | Plugin scope level |
Components
| Property | Type | Description |
|---|---|---|
providers | ProviderType[] | Plugin providers |
tools | ToolType[] | Plugin tools |
resources | ResourceType[] | Plugin resources |
prompts | PromptType[] | Plugin prompts |
skills | SkillType[] | Plugin skills |
adapters | AdapterType[] | Framework adapters |
plugins | PluginType[] | Nested plugins |
Extensions
| Property | Type | Description |
|---|---|---|
contextExtensions | ContextExtension[] | Add properties to context classes |
Context Extensions
Extend all context classes with custom properties:Plugin Scopes
App Scope (Default)
Hooks register at app level:Server Scope
Hooks register at gateway/server level:Nested Plugins
Plugins can include other plugins:Using Plugins
In Apps
In Server
Plugin with Tools
Full Example
Official Plugins
FrontMCP provides several official plugins:RememberPlugin
Session memory for tools
CachePlugin
Response caching
CodeCallPlugin
Dynamic code execution
Related
PluginRegistry
Plugin registry API
@Provider
Dependency providers
Creating Plugins
Plugin development guide
@App
Application modules