Skip to main content
Glama

MCP Bridge Server

encryption.d.ts832 B
import { EncryptionConfig, EncryptedData } from './types.js'; export declare class StorageEncryption { private config; private keyFile; private key?; constructor(storageDir: string, config?: Partial<EncryptionConfig>); /** * Initialize encryption, creating or loading the key */ initialize(): Promise<void>; /** * Encrypt data */ encrypt(data: Buffer): Promise<EncryptedData>; /** * Decrypt data */ decrypt(encrypted: EncryptedData): Promise<Buffer>; /** * Generate new encryption key */ private generateKey; /** * Load existing encryption key */ private loadKey; /** * Change encryption key */ rotateKey(): Promise<void>; /** * Clean up encryption resources */ dispose(): Promise<void>; }

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/glassBead-tc/SubspaceDomain'

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