We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/AviOfLagos/MCP-coding-assistant'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
getProjectPath.js•552 B
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getProjectPath = getProjectPath;
var fs_1 = require("fs");
function getProjectPath() {
var projectPath = process.env.PROJECT_PATH;
if (projectPath && fs_1.default.existsSync(projectPath)) {
console.log("Using project path from environment variable: ".concat(projectPath));
return projectPath;
}
else {
console.error('PROJECT_PATH environment variable is not set or the path does not exist.');
return undefined;
}
}