Skip to main content
Glama
cli.ts382 B
#!/usr/bin/env node import { spawnSync } from 'child_process'; import { fileURLToPath } from 'url'; import { dirname, resolve } from 'path'; const __filename = fileURLToPath(import.meta.url); const __dirname = dirname(__filename); // Run the MCP server const result = spawnSync('node', [resolve(__dirname, 'index.js')], { stdio: 'inherit' }); process.exit(result.status ?? 0);

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/tokenizin-agency/mcp-nativewind'

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