Skip to main content
Glama

MCP Auth

by rubenpenap
post-set-playground.js648 B
#!/usr/bin/env node import path from 'path' import fs from 'fs-extra' const wranglerPath = path.join( process.env.EPICSHOP_PLAYGROUND_DEST_DIR, 'wrangler.jsonc', ) if (await fs.pathExists(wranglerPath)) { try { let content = await fs.readFile(wranglerPath, 'utf8') const oldSchema = '../../../node_modules/wrangler/config-schema.json' const newSchema = '../node_modules/wrangler/config-schema.json' if (content.includes(oldSchema)) { content = content.replace(oldSchema, newSchema) await fs.writeFile(wranglerPath, content, 'utf8') } } catch (error) { console.error('❌ Error fixing wrangler.jsonc:', error.message) } }

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/rubenpenap/mcp-auth'

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