Why Use Plugins?
Zero Duplication
Add capabilities like caching or code execution once and apply them to all tools automatically.
Composable
Mix and match plugins to build exactly the features you need without coupling.
Cross-App
Plugins work across all apps in your server, providing consistent behavior everywhere.
Production-Ready
Battle-tested implementations for common needs like caching, rate limiting, and monitoring.
Official Plugins
These plugins are maintained by the FrontMCP team and included in@frontmcp/plugins.
CodeCall Plugin
Hide large toolsets behind a code-first meta-API. Instead of exposing hundreds of tools directly, CodeCall provides
search, describe, and execute capabilities that let models write JavaScript plans to orchestrate your tools.Features:
- Search and discover tools dynamically
- Generate JavaScript execution plans
- Defense-in-depth security with Enclave (AST validation + runtime sandboxing)
- Multi-app tool orchestration
- Direct invocation mode for simple cases
Cache Plugin
Transparently cache tool responses to reduce redundant computation and improve response times. Works with both
in-memory and Redis backends.Features:
- Deterministic input-based cache keys
- Configurable TTL per tool
- Sliding window for hot data
- Redis support for multi-instance deployments
- Opt-in per-tool caching
More official plugins are coming soon! Authentication, rate limiting, observability, and validation plugins are in development.
Community Plugins
Community plugins are created and maintained by the FrontMCP community. While not officially supported, they extend FrontMCP’s capabilities with specialized features.How to Find Community Plugins
1
Search npm
Search for packages tagged with
frontmcp-plugin or mcp-plugin:2
Check GitHub Topics
Browse repositories tagged with
frontmcp-plugin on GitHub.3
Join the Community
Visit the FrontMCP Discussions to discover and share plugins.
Featured Community Plugins
This section is for community-contributed plugins. If you’ve created a plugin, submit a PR to add it here!
Submit Your Plugin
Created a plugin? Share it with the community! Submit a PR to add your plugin to this page.
Plugin Template
Use the official plugin structure as a template for building your own plugins.
Creating Custom Plugins
You can create custom plugins to add any cross-cutting capability to FrontMCP. Plugins are TypeScript classes decorated with@Plugin that hook into the tool execution lifecycle.
Basic Plugin Structure
Plugin Best Practices
1. Minimal Overhead
1. Minimal Overhead
- Keep plugin logic lightweight
- Avoid blocking operations in hooks
- Use async operations efficiently
- Cache expensive computations
- Consider performance impact on every tool call
2. Error Handling
2. Error Handling
- Always handle errors gracefully
- Provide clear error messages
- Don’t swallow errors silently
- Log failures appropriately
- Consider fallback strategies
3. Configuration
3. Configuration
- Support both plugin-level and tool-level configuration
- Provide sensible defaults
- Make features opt-in when possible
- Document all configuration options
- Validate configuration at initialization
4. Composability
4. Composability
- Don’t assume other plugins are present
- Avoid global state
- Use dependency injection for shared resources
- Document plugin interactions
- Test with common plugin combinations
5. Documentation
5. Documentation
- Provide clear usage examples
- Document hooks and lifecycle
- Explain performance characteristics
- Include migration guides
- Show integration with common tools
Publishing Your Plugin
When publishing a community plugin:- Package Name: Use the pattern
@yourscope/frontmcp-plugin-nameorfrontmcp-plugin-name - Keywords: Include
frontmcp,frontmcp-plugin,mcp,plugin - README: Include installation, usage, examples, and performance considerations
- License: Use a permissive license (MIT, Apache 2.0, etc.)
- Tests: Include comprehensive test coverage including hook behavior
- TypeScript: Provide TypeScript types and declarations
package.json
Plugin Comparison
Choose the right plugin for your use case:| Plugin | Best For | Overhead | Scope | Complexity |
|---|---|---|---|---|
| CodeCall | Large toolsets, workflows | Low | Cross-app | Medium |
| Cache | Expensive operations | Minimal | Per-tool | Low |
| Custom | Any cross-cutting feature | Varies | Configurable | Medium-High |
Next Steps
CodeCall Plugin
Learn how to use the CodeCall plugin
Cache Plugin
Learn how to use the Cache plugin
Join Community
Get help and share your plugins
Resources
SDK Documentation
Learn about the FrontMCP SDK and plugin interfaces
Source Code
View the official plugins source code
npm Package
Install the official plugins package
Contributing Guide
Contribute to FrontMCP plugins

