Skip to main content

Overview

Methods

getPlugins()

Get all registered plugins.
Example:

Plugin Architecture

Plugins create nested registries for their components:

Plugin Registration

Plugins are registered via the @FrontMcp decorator:
Or via the @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:
Hooks are registered with scope-aware targeting:
  • 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:
Usage in tools:

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: See the Plugins documentation for details.