Skip to main content
Glama

MCP Server Template

by stevennevins
version.ts377 B
// Read package.json version at runtime instead of import import { readFileSync } from 'fs' import { join } from 'path' import { fileURLToPath } from 'url' const __dirname = fileURLToPath(new URL('.', import.meta.url)) const packageJson = JSON.parse( readFileSync(join(__dirname, '..', '..', 'package.json'), 'utf8') ) export const version = packageJson.version as string

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/stevennevins/architect-mcp-server'

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