We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/nicobailon/code-summarizer'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
index.js•578 B
/**
* Main entry point for the application
* This is a simple demonstration file for testing the code summarizer
*/
const { formatDate } = require('./utils/helpers');
/**
* Main function that demonstrates date formatting
*/
function main() {
const currentDate = new Date();
const formattedDate = formatDate(currentDate);
console.log(`Current date: ${formattedDate}`);
console.log('Hello, world!');
return formattedDate;
}
// Run the main function when this file is executed directly
if (require.main === module) {
main();
}
module.exports = { main };