Skip to main content
Glama

Activepieces MCP Server

by eldoonreval
file-system.tsβ€’737 B
import { access, mkdir } from 'node:fs/promises' import { memoryLock } from './memory-lock' export const fileExists = async (path: string): Promise<boolean> => { try { await access(path) return true } catch (e) { const castedError = e as Error if ('code' in castedError && castedError.code === 'ENOENT') { return false } throw e } } export async function threadSafeMkdir(path: string): Promise<void> { const fExists = await fileExists(path) if (fExists) { return } const lock = await memoryLock.acquire(`mkdir-${path}`) try { await mkdir(path, { recursive: true }) } finally { await lock.release() } }

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

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