Skip to main content
Glama
copy-assets.mjs536 B
import { cp, mkdir } from 'node:fs/promises'; import { dirname, resolve } from 'node:path'; import { fileURLToPath } from 'node:url'; const __filename = fileURLToPath(import.meta.url); const __dirname = dirname(__filename); const root = resolve(__dirname, '..'); const src = resolve(root, 'src'); const dist = resolve(root, 'dist'); await mkdir(dist, { recursive: true }); const files = [ 'command-map.json', 'project-commands.json' ]; for (const f of files) { await cp(resolve(src, f), resolve(dist, f), { force: true }); }

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/mr-wolf-gb/smart-shell-mcp'

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