Skip to main content
Glama
main.ts516 B
import { isNil } from '@activepieces/shared' import { workerSocket } from './lib/worker-socket' const WORKER_ID = process.env.WORKER_ID process.title = `engine-${WORKER_ID}` if (!isNil(WORKER_ID)) { workerSocket.init() } process.on('uncaughtException', (error) => { void workerSocket.sendError(error).catch().finally(() => { process.exit(3) }) }) process.on('unhandledRejection', (reason) => { void workerSocket.sendError(reason).catch().finally(() => { process.exit(4) }) })

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/activepieces/activepieces'

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