Skip to main content
Glama

Lara Translate MCP Server

by translated
server-info.ts608 B
import fs from "node:fs"; import path from "node:path"; import express from "express"; import { RestServer } from "#rest/server"; const buildInfoJson: string = fs.readFileSync( path.join(import.meta.dirname, "..", "..", "..", "package.json"), "utf8" ); type BuildInfo = { name: string; version: string; }; export const BuildInfo: BuildInfo = JSON.parse(buildInfoJson); export default function serverInfoRouter(rest: RestServer): express.Router { const router = express.Router(); router.all("/", (_req, res) => { rest.send(res, { version: BuildInfo.version }); }); return router; }

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/translated/lara-mcp'

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