portel-dev/photon
Define intent once. Photon turns a single TypeScript file into CLI tools, MCP servers, and web interfaces.
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.
Stars
14
Forks
2
Language
TypeScript
License
MIT
Category
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.
Higher-rated alternatives
OfficeDev/microsoft-365-agents-toolkit
Developer tools for building Teams apps
SalesforceCommerceCloud/b2c-developer-tooling
B2C CLI, MCP, Tooling SDK for Salesforce Agentforce Commerce B2C
anyproto/anytype-mcp
An MCP server enabling AI assistants to interact with Anytype - your encrypted, local and...
hashgraph-online/standards-sdk
The official Hashgraph Online Standards SDK, implementing the standards found in...
postmanlabs/postman-mcp-server
Connect your AI to your APIs on Postman