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
import { publishNxProject } from '../utils/publish-nx-project'
import { findAllPiecesDirectoryInSource } from '../utils/piece-script-utils'
import { chunk } from '../../../packages/shared/src/lib/common/utils/utils'
const publishPiece = async (nxProjectPath: string): Promise<void> => {
console.info(`[publishPiece] nxProjectPath=${nxProjectPath}`)
await publishNxProject(nxProjectPath)
}
const main = async () => {
const piecesSource = await findAllPiecesDirectoryInSource()
const piecesSourceChunks = chunk(piecesSource, 30)
for (const chunk of piecesSourceChunks) {
await Promise.all(chunk.map(publishPiece))
await new Promise(resolve => setTimeout(resolve, 5000))
}
}
main()