Skip to main content
Glama

npm-run-mcp-server

by fstubner
build.cjs511 B
const fs = require('fs'); const { execSync } = require('child_process'); console.log('Building TypeScript...'); execSync('node ./node_modules/typescript/bin/tsc -p tsconfig.json', { stdio: 'inherit' }); console.log('Adding shebang...'); const filePath = 'dist/index.js'; let content = fs.readFileSync(filePath, 'utf8'); if (!content.startsWith('#!')) { content = '#!/usr/bin/env node\n' + content; fs.writeFileSync(filePath, content); } console.log('Build completed successfully!');

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/fstubner/npm-run-mcp-server'

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