photon
Define intent once. Photon turns a single TypeScript file into CLI tools, MCP servers, and web interfaces.
Photon lets you define logic once in TypeScript and automatically exposes it through three interfaces: MCP server for AI agents, CLI tool for automation, and Web UI for humans. It eliminates boilerplate by deriving tool definitions, validations, and UI from your code, making it easy to build and deploy multi-surface applications.
Features
Compatibility
Quick start
Use cases
Alternatives
Related searches
Comments
- RRemy JacksonApr 25, 2026
Great for prototyping tools that need to work both interactively and in agent pipelines
- CCasey DavisApr 9, 2026
The single-file approach keeps things simple when you have many small tools
- Riley LeeMar 30, 2026
Define once, deploy everywhere concept actually works well in practice
- AAlex AndersonMar 6, 2026
Turning a TypeScript file into CLI + MCP server simultaneously saves a lot of duplication