Skip to main content
Glama

Laravel Forge MCP Server

showSettings.js747 B
import path from 'path'; import fs from 'fs'; const filePath = path.join(process.cwd(), 'build', 'index.js'); // look for any env variables inside the file const envVariables = {} // Read the file const fileContent = fs.readFileSync(filePath, 'utf-8'); // Find all env variables const envRegex = /process\.env\.(\w+)/g; let match; while ((match = envRegex.exec(fileContent)) !== null) { envVariables[match[1]] = '<REPLACE>'; } const structure = { mcpServers : { "laravel-forge-mcp-server" : { command : "npx ", args : ['laravel-forge-mcp-server'], env : envVariables } } } console.log('Copy/Paste into your MCP client:'); console.log( JSON.stringify(structure, null, 2) );

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/JordanDalton/laravel-forge-mcp-server'

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