Skip to main content
Glama
root.ts648 B
import { resolve, join } from "node:path"; // Find monorepo root relative to the mcpx-server package directory // This works because process.cwd() is the package directory when running tests const packageDir = resolve(process.cwd()); const monorepoRoot = resolve(packageDir, "..", ".."); export const TESTKIT_SERVER_SRC = join(monorepoRoot, "testkit-mcp-server"); export const TESTKIT_SERVER_ECHO = join(TESTKIT_SERVER_SRC, "dist", "echo.js"); export const TESTKIT_SERVER_CALCULATOR = join( TESTKIT_SERVER_SRC, "dist", "calculator.js", ); export const TESTKIT_SERVER_ENV_READER = join( TESTKIT_SERVER_SRC, "dist", "env-reader.js", );

Latest Blog Posts

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/TheLunarCompany/lunar'

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