Skip to main content
Glama

MemoryMesh

by CheMiguel23
BaseManager.ts915 B
// src/application/managers/base/BaseManager.ts import type {IStorage} from '@infrastructure/index.js'; import {JsonLineStorage} from '@infrastructure/index.js'; import {ManagerFactory} from '@application/index.js'; /** * Base class that handles initialization and common functionality */ export abstract class BaseManager { protected readonly storage: IStorage; constructor(storage: IStorage = new JsonLineStorage()) { this.storage = storage; } protected createManagers() { return { nodeManager: ManagerFactory.getNodeManager(this.storage), edgeManager: ManagerFactory.getEdgeManager(this.storage), metadataManager: ManagerFactory.getMetadataManager(this.storage), searchManager: ManagerFactory.getSearchManager(this.storage), transactionManager: ManagerFactory.getTransactionManager(this.storage) }; } }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/CheMiguel23/MemoryMesh'

If you have feedback or need assistance with the MCP directory API, please join our Discord server