@forgeframework/mcp-cache
v2.0.0
Published
MCP server for cache operations.
Maintainers
Readme
@forgeframework/mcp-cache
MCP server for cache operations.
Part of the Forge Framework — a TypeScript framework for backend microservices and web applications.
Installation
npm install @forgeframework/mcp-cacheUsage
import { McpCacheServer } from '@forgeframework/mcp-cache';
const server = new McpCacheServer({
stores: {
sessions: {
name: 'sessions',
type: 'redis',
host: 'redis-sessions.internal',
port: 6379,
database: 0,
password: process.env.REDIS_PASSWORD!,
ssl: true,
},
config: {
name: 'config',
type: 'redis',
host: 'redis-config.internal',
port: 6379,
database: 1,
},
},
defaultTTL: 3600,
maxResultSize: 1048576,
keyPrefix: 'forge:',
});
await server.start({ type: 'stdio' });Documentation
Full API reference and guides: https://carbonforge.io/framework/docs/mcp/mcp-cache
(Documentation site launching soon.)
License
MIT © Carbon Forge
