Skip to main content
Glama
setup.ts574 B
import { beforeAll } from "vitest"; import { findNodeModulesBin } from "../src/features/ts/utils/findNodeModulesBin.js"; // Set up environment variables for all tests beforeAll(() => { // Find typescript-language-server in node_modules for faster test execution const tsLanguageServerPath = findNodeModulesBin( __dirname, "typescript-language-server", ); if (tsLanguageServerPath) { process.env.TYPESCRIPT_LANGUAGE_SERVER_PATH = tsLanguageServerPath; } // Set project root for finding binaries process.env.LSMCP_PROJECT_ROOT = process.cwd(); });

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/mizchi/typescript-mcp'

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