Skip to main content
Glama

Reddit MCP Server

by ozipi
version.ts1.14 kB
/** * Version information for the MCP server */ import { readFileSync } from 'fs'; import { fileURLToPath } from 'url'; import { dirname, join } from 'path'; const __filename = fileURLToPath(import.meta.url); const __dirname = dirname(__filename); // Read version from package.json let version = '3.4.2'; try { const packageJsonPath = join(__dirname, '..', 'package.json'); const packageJson = JSON.parse(readFileSync(packageJsonPath, 'utf-8')); version = packageJson.version; } catch (error) { console.warn('Could not read version from package.json, using default:', version); } export const VERSION = version; export const BUILD_DATE = new Date().toISOString(); export function getVersionInfo() { return { version: VERSION, buildDate: BUILD_DATE, name: 'brainloop-mcp-server', features: [ 'OAuth 2.1 Authentication', 'Lesson/Unit Updates', 'Prompts & Interactions', 'Lesson ID Visibility', 'Token Auto-Refresh', 'Get Unit Lessons', 'Duplicate Detection', 'Empty Content Cleanup', 'Lesson Template Guidelines', 'Unit Reordering', ], }; }

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/ozipi/brainloop-mcp-server-v2'

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