Skip to main content
Glama
project.json4.83 kB
{ "name": "server-api", "$schema": "../../../node_modules/nx/schemas/project-schema.json", "sourceRoot": "packages/server/api/src", "projectType": "application", "tags": [], "implicitDependencies": ["engine"], "targets": { "build": { "executor": "@nx/esbuild:esbuild", "outputs": ["{options.outputPath}"], "defaultConfiguration": "production", "options": { "main": "packages/server/api/src/main.ts", "outputPath": "dist/packages/server/api", "outputFileName": "main.js", "tsConfig": "packages/server/api/tsconfig.app.json", "platform": "node", "format": ["cjs"], "bundle": true, "sourcemap": true, "generatePackageJson": true, "assets": [ { "glob": "packages/server/api/README.md", "input": ".", "output": "." }, "packages/server/api/src/assets" ] }, "configurations": { "development": { "minify": false }, "production": { "minify": false } } }, "serve": { "executor": "@nx/js:node", "options": { "buildTarget": "server-api:build", "host": "0.0.0.0" }, "configurations": { "production": { "buildTarget": "server-api:build:production" } } }, "lint": { "executor": "@nx/eslint:lint", "outputs": ["{options.outputFile}"], "options": { "lintFilePatterns": ["packages/server/api/**/*.ts"] } }, "test-unit": { "executor": "@nx/jest:jest", "outputs": ["{workspaceRoot}/coverage/{projectRoot}"], "options": { "jestConfig": "packages/server/api/jest.config.ts", "passWithNoTests": false, "bail": true, "testPathPatterns": ["packages/server/api/test/unit"] } }, "test-ce-command": { "executor": "@nx/jest:jest", "outputs": ["{workspaceRoot}/coverage/{projectRoot}"], "options": { "jestConfig": "packages/server/api/jest.config.ts", "passWithNoTests": false, "bail": true, "testPathPatterns": ["packages/server/api/test/integration/ce"] } }, "test-cloud-command": { "executor": "@nx/jest:jest", "outputs": ["{workspaceRoot}/coverage/{projectRoot}"], "options": { "jestConfig": "packages/server/api/jest.config.ts", "passWithNoTests": false, "bail": true, "testPathPatterns": ["packages/server/api/test/integration/cloud"] } }, "test-ee-command": { "executor": "@nx/jest:jest", "outputs": ["{workspaceRoot}/coverage/{projectRoot}"], "options": { "jestConfig": "packages/server/api/jest.config.ts", "passWithNoTests": false, "bail": true, "testPathPatterns": ["packages/server/api/test/integration/ee"] } }, "test-ee": { "executor": "nx:run-commands", "options": { "commands": [ "export $(cat packages/server/api/.env.tests | xargs) && AP_EDITION=ee nx test-ee-command server-api --output-style stream-without-prefixes" ], "parallel": false } }, "test-ce": { "executor": "nx:run-commands", "options": { "commands": [ "nx build server-api", "export $(cat packages/server/api/.env.tests | xargs) && AP_EDITION=ce nx test-ce-command server-api --output-style stream-without-prefixes" ], "parallel": false } }, "test-cloud": { "executor": "nx:run-commands", "options": { "commands": [ "nx build server-api", "export $(cat packages/server/api/.env.tests | xargs) && AP_EDITION=cloud nx test-cloud-command server-api --output-style stream-without-prefixes" ], "parallel": false } }, "test": { "executor": "nx:run-commands", "options": { "commands": [ "nx test-ee server-api", "nx test-ce server-api", "nx test-cloud server-api" ], "parallel": true } }, "test:docker": { "command": "UID=\"$(id -u)\" GID=\"$(id -g)\" docker compose --profile full -f docker-compose.test.yml up --exit-code-from app --attach app" }, "db": { "executor": "nx:run-commands", "options": { "command": "ts-node -r tsconfig-paths/register -P packages/server/api/tsconfig.app.json ./node_modules/typeorm/cli.js" } }, "db-migration": { "executor": "nx:run-commands", "options": { "command": "nx db server-api -- migration:generate -p -d packages/server/api/src/app/database/database-connection.ts packages/server/api/src/app/database/migration/{args.name}" } } } }

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