Skip to main content
Glama
plugin-cli-wrapper.mjs646 B
#!/usr/bin/env node /** * Wrapper to load the ES module plugin CLI * This file uses .mjs extension to signal ES module to Node.js */ import { fileURLToPath } from 'url'; import { dirname, join } from 'path'; const __filename = fileURLToPath(import.meta.url); const __dirname = dirname(__filename); // Import the plugin CLI ES module (.mjs version) const cliPath = join(__dirname, '../dist/cli/plugin-cli.mjs'); import(pathToFileURL(cliPath).href).catch(err => { console.error('Failed to load plugin CLI:', err); process.exit(1); }); function pathToFileURL(path) { return new URL(`file://${path.startsWith('/') ? '' : '/'}${path}`); }

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/airmcp-com/mcp-standards'

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