Skip to main content
Glama
chrisleekr

MCP Server Boilerplate

by chrisleekr
date.ts367 B
import dayjs from 'dayjs'; import timezone from 'dayjs/plugin/timezone'; import utc from 'dayjs/plugin/utc'; import { config } from '@/config/manager'; dayjs.extend(utc); dayjs.extend(timezone); export const formatDate = (date: Date, timeZone?: string): string => { return dayjs(date) .tz(timeZone ?? config.timeZone) .format('YYYY-MM-DDTHH:mm:ssZ'); };

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/chrisleekr/mcp-server-boilerplate'

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