Back to Home
portel-dev icon

photon

Verified Safe

by portel-dev

Overview

A framework for building simple, auditable, single-file TypeScript applications that function as Model Context Protocol (MCP) servers for AI assistants and/or command-line interface (CLI) tools, emphasizing security, ease of development, and rapid deployment.

Installation

Run Command
npx @portel/photon mcp <photon-name>

Environment Variables

  • {MCP_NAME_UPPERCASE}_{PARAM_NAME_UPPERCASE} (e.g., GITHUB_TOKEN, SQLITE_DB_PATH, FILESYSTEM_WORKDIR, ANALYTICS_HOST)

Security Notes

The framework itself implements strong security practices for its operations (e.g., uses esbuild for compilation, uses child_process.spawn for daemon processes, promotes environment variables for secrets, provides path traversal warnings in examples). The primary security risk lies in the content of user-provided .photon.ts files, as they execute with the same permissions as the 'photon' process. The project explicitly advocates for 'Security Through Transparency' and single-file audits to mitigate this, and includes a security scanner for dependencies. No direct 'eval' or obvious injection vulnerabilities in the core framework were found.

Similar Servers

Stats

Interest Score37
Security Score8
Cost ClassLow
Stars4
Forks0
Last Update2025-11-24

Tags

MCPCLITypeScriptServerAI ToolsDeveloper ToolsMicroservicesSecurityHot ReloadMarketplaceAI Assistant Integration