Back to Home
portel-dev icon

photon

Verified Safe

by portel-dev

Overview

A multi-tenant platform for hosting and executing AI/ML "Photons" (modular tools/services) with robust authentication, session management, and OAuth capabilities, supporting various data stores.

Installation

Run Command
npx @portel/photon dev-serv

Environment Variables

  • SERV_BASE_URL
  • SERV_BASE_DOMAIN
  • SERV_JWT_SECRET
  • SERV_ENCRYPTION_KEY
  • SERV_STATE_SECRET

Security Notes

The server architecture includes robust authentication (Bearer tokens, JWT, PKCE for OAuth), session management, and a dedicated Token Vault using AES-256-GCM with tenant-specific keys, indicating strong security considerations. The `src/serv/local.ts` file explicitly generates random secrets for local development, which is good practice for non-production environments. While the `eval()` function is present in a test fixture (`tests/beam/fixtures/calculator.photon.ts`), it is not found in the core `src/serv` server logic, thus its impact on the production server is minimal. Overall, the system appears well-designed for secure operations, provided production secrets are managed correctly.

Similar Servers

Stats

Interest Score37
Security Score9
Cost ClassLow
Stars6
Forks0
Last Update2026-01-19

Tags

MCP ServerMulti-tenantOAuth 2.1Session ManagementAPI PlatformCloudflare D1/KVJWTToken VaultAI/ML Tool Hosting