Skip to content

Latest commit

 

History

History

README.md

@frontmcp/plugins

Official plugin collection for FrontMCP servers.

NPM

Install

npm install @frontmcp/plugins

Individual plugins are also available as standalone packages (@frontmcp/plugin-cache, etc.).

Available Plugins

Plugin Package Description Docs
Cache @frontmcp/plugin-cache Transparent tool output caching with in-memory and Redis stores, per-tool TTL Cache Plugin
Remember @frontmcp/plugin-remember Session memory — this.remember.set/get, scoped storage, tool approval system Remember Plugin
CodeCall @frontmcp/plugin-codecall Sandboxed code execution within tool flows CodeCall Plugin
Dashboard @frontmcp/plugin-dashboard Built-in admin dashboard for inspecting server state Dashboard Plugin

Quick Start

import { App } from '@frontmcp/sdk';
import { CachePlugin, RememberPlugin } from '@frontmcp/plugins';

@App({
  id: 'my-app',
  name: 'My App',
  plugins: [
    CachePlugin, // zero-config
    RememberPlugin.init({ store: 'memory' }), // with options
  ],
})
export default class MyApp {}

Plugins support three registration styles:

  • Raw classCachePlugin (default options)
  • Value initCachePlugin.init({ ttl: 60_000 }) (options known upfront)
  • Factory initCachePlugin.init({ inject: () => [...], useFactory: (dep) => ({...}) })

Full plugin guide: Plugins Overview

Creating Your Own Plugin

Extend DynamicPlugin<Options>, decorate with @Plugin(...), and contribute providers, hooks, or context extensions.

Step-by-step guide: Creating Plugins

Related Packages

License

Apache-2.0 — see LICENSE.