
Company News
Socket Partners with Replit to Block Malicious Packages in AI-Powered Development
Replit is integrating Socket Firewall into its AI-powered development experience to help protect builders from malicious open source packages.
@frontmcp/plugin-cache
Advanced tools
Cache plugin for FrontMCP - Redis, Vercel KV, and in-memory caching with automatic tool result caching
Cache plugin for FrontMCP - provides automatic tool result caching with support for Redis, Vercel KV, and in-memory storage.
npm install @frontmcp/plugin-cache
import { CachePlugin } from '@frontmcp/plugin-cache';
import { App } from '@frontmcp/sdk';
@App({
plugins: [CachePlugin],
})
class MyApp {}
import { CachePlugin } from '@frontmcp/plugin-cache';
@App({
plugins: [
CachePlugin.init({
type: 'memory',
defaultTTL: 300, // TTL in seconds (default: 1 day)
}),
],
})
class MyApp {}
import { CachePlugin } from '@frontmcp/plugin-cache';
@App({
plugins: [
CachePlugin.init({
type: 'redis',
defaultTTL: 300,
config: {
host: 'localhost',
port: 6379,
password: process.env.REDIS_PASSWORD, // optional
db: 0, // optional
},
}),
],
})
class MyApp {}
import { CachePlugin } from '@frontmcp/plugin-cache';
import { Redis } from 'ioredis';
const redis = new Redis({ host: 'localhost', port: 6379 });
@App({
plugins: [
CachePlugin.init({
type: 'redis-client',
client: redis,
defaultTTL: 300,
}),
],
})
class MyApp {}
Use the store configuration from @FrontMcp decorator:
import { CachePlugin } from '@frontmcp/plugin-cache';
@App({
plugins: [
CachePlugin.init({
type: 'global-store', // Uses redis/vercel-kv from FrontMcp config
}),
],
})
class MyApp {}
Apache-2.0
FAQs
Cache plugin for FrontMCP - Redis, Vercel KV, and in-memory caching with automatic tool result caching
The npm package @frontmcp/plugin-cache receives a total of 1,226 weekly downloads. As such, @frontmcp/plugin-cache popularity was classified as popular.
We found that @frontmcp/plugin-cache demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Replit is integrating Socket Firewall into its AI-powered development experience to help protect builders from malicious open source packages.

Security News
npm confirmed a tooling bug incorrectly marked several one-character packages as security holders and said it was working on a rollback.

Research
/Security News
Newer packages in this compromise use native extensions and .pth loaders to execute JavaScript stealers in developer environments.