Open EPM ← Back to openepm.dev

Application endpoint

Use this endpoint when the deployment has dedicated a listener to one application. It binds EPM_PG_WORKSPACE_ID and EPM_PG_APPLICATION_ID at startup. The source HTTP entry point defaults to port 5191 and path /mcp. Ask the operator for its authorized URL. The base packaged /api/application/mcp route points to the router.

Read the bound application's catalog

  1. With Reader access or higher, call list_v2_functions with {}. Check listener.scope is application and confirm the returned workspaceId and applicationId. The returned functions reflect grants and available capabilities.
  2. Use read_v2_program with a typed program. For the bound variant, the outer argument is just program. For example, use facts.cube.scan with the complete coordinate in First bounded read after confirming the listener is bound to that disposable sample.
  3. For a previewed operation, follow the exact bound signature for preview and submit. Track the returned result or job in the same application.

If discovery shows another application, use the operator's correct bound URL or select the intended scope through the router. Verify the operation is present for your current grant before sending a write.

Discussion

Discussing Application endpoint

The discussion service requires JavaScript and a connection to Firebase.