Skip to main content
Glama

MCP Selenium

#!/usr/bin/env node import { fileURLToPath } from 'url'; import { dirname, resolve } from 'path'; import { spawn } from 'child_process'; const __filename = fileURLToPath(import.meta.url); const __dirname = dirname(__filename); const serverPath = resolve(__dirname, '../src/lib/server.js'); // Start the server const child = spawn('node', [serverPath], { stdio: 'inherit' }); child.on('error', (error) => { console.error(`Error starting server: ${error.message}`); process.exit(1); }); // Handle process termination process.on('SIGTERM', () => { child.kill('SIGTERM'); }); process.on('SIGINT', () => { child.kill('SIGINT'); });

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/angiejones/mcp-selenium'

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