portel-dev/photon

Define intent once. Photon turns a single TypeScript file into CLI tools, MCP servers, and web interfaces.

38
/ 100
Emerging

This project helps developers build tools that can be used by both humans and AI agents without rewriting the core logic. You write your tool's capabilities once in a TypeScript file, defining its actions and expected inputs/outputs. From this single definition, it automatically generates a command-line interface (CLI) for scripting, a web-based user interface (UI) for human interaction, and an MCP server for AI models like Claude. It's for software developers who want to create versatile utilities from a single codebase.

Use this if you need to expose a specific piece of business logic or a utility function through multiple interfaces—a CLI for power users, a web UI for a broader audience, and an API for AI agents—all from one source.

Not ideal if your project requires highly custom, complex frontend interactions that go beyond form-based inputs, or if you are not comfortable working with TypeScript.

developer-tooling workflow-automation AI-agent-integration API-development multi-platform-development
No Package No Dependents
Maintenance 10 / 25
Adoption 5 / 25
Maturity 13 / 25
Community 10 / 25

How are scores calculated?

Stars

14

Forks

2

Language

TypeScript

License

MIT

Last pushed

Mar 10, 2026

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/mcp/portel-dev/photon"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.