Skip to main content
Glama

Chrome MCP Server

index.tsβ€’836 B
#!/usr/bin/env node import serverInstance from './server'; import nativeMessagingHostInstance from './native-messaging-host'; try { serverInstance.setNativeHost(nativeMessagingHostInstance); // Server needs setNativeHost method nativeMessagingHostInstance.setServer(serverInstance); // NativeHost needs setServer method nativeMessagingHostInstance.start(); } catch (error) { process.exit(1); } process.on('error', (error) => { process.exit(1); }); // Handle process signals and uncaught exceptions process.on('SIGINT', () => { process.exit(0); }); process.on('SIGTERM', () => { process.exit(0); }); process.on('exit', (code) => { }); process.on('uncaughtException', (error) => { process.exit(1); }); process.on('unhandledRejection', (reason) => { // Don't exit immediately, let the program continue running });

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/haithemobeidi/mcp-chrome'

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