Skip to main content
Glama
parseLocalProject.js265 B
import path from 'path'; import fs from 'fs'; export async function parseLocalProject(projectRoot) { const packageJsonPath = path.join(projectRoot, 'package.json'); const json = await fs.promises.readFile(packageJsonPath, 'utf8'); return JSON.parse(json); }

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/Shen-zhihao/mcp-web-audit'

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