Skip to main content
Glama

MemoryMesh

by CheMiguel23
config.ts1.03 kB
// src/config/config.ts import path from 'path'; import {fileURLToPath} from 'url'; const __dirname = path.dirname(fileURLToPath(import.meta.url)); interface ServerConfig { NAME: string; VERSION: string; } interface PathsConfig { SCHEMAS_DIR: string; MEMORY_FILE: string; } interface SchemaConfig { SUPPORTED_VERSIONS: string[]; } interface Config { SERVER: ServerConfig; PATHS: PathsConfig; SCHEMA: SchemaConfig; } /** * Centralized configuration for MemoryMesh. */ export const CONFIG: Config = { SERVER: { NAME: 'memorymesh', VERSION: '0.2.8', }, PATHS: { /** Path to schema files directory. */ SCHEMAS_DIR: path.join(__dirname, '..', 'data', 'schemas'), /** Path to the memory JSON file. */ MEMORY_FILE: path.join(__dirname, '..', 'data', 'memory.json'), }, SCHEMA: { /** Supported schema versions (not yet implemented). */ SUPPORTED_VERSIONS: ['0.1', '0.2'], // TODO: Add schema versioning }, };

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