Skip to main content
Glama

Bizinfo MCP Server

by kwanGDss
utils.js611 B
import fs from "node:fs"; import path from "node:path"; export function resolveProjectRoot(startDir = process.cwd()) { let current = startDir; while (true) { const packagePath = path.join(current, "package.json"); const serverPath = path.join(current, "server.mjs"); if (fs.existsSync(packagePath) && fs.existsSync(serverPath)) { return current; } const parent = path.dirname(current); if (parent === current) { break; } current = parent; } throw new Error("패키지 루트를 찾을 수 없습니다. 설치가 제대로 되었는지 확인하세요."); }

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/kwanGDss/mcp-bizinfo'

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