We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/yuwencheng0212/mcp-ppt'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
module_path.js•373 B
/************************************path模块***********************************
*1. resolve():解析为绝对路径
*/
var path=require("path");
var currentFileDir=__dirname;//获取当前js模块所在目录
//获取绝对路径"e:\codeSpace\webpack\mywebpack\nodeJS\dist\datas"
var absolute_path=path.resolve(currentFileDir,"dist/datas");
console.log(absolute_path);