Photon
Description
Define intent once. Photon turns a single TypeScript file into CLI tools, MCP servers, and web interfaces.
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
[](https://www.npmjs.com/package/@portel/photon) [](https://www.npmjs.com/package/@portel/photon) [](https://github.com/portel-dev/photon/blob/main/LICENSE) [](https://www.typescriptlang.org) [](https://nodejs.org) [](https://modelcontextprotocol.io) [](https://photon.portel.dev/)
One TypeScript capability becomes the whole agent stack.
Photon is the fastest way to turn a small, verified TypeScript method into something humans can operate and agents can trust. Write the capability once; Photon derives the interfaces, contracts, and runtime behavior around it:
- MCP server for Claude, ChatGPT, Cursor, and agents
- Embedded app UI for chat clients that support MCP app resources
- CLI tool for scripts, demos, and automation
- Beam web interface for humans
- Web routes, schedules, webhooks, retries, state, and audit history when the capability grows into a production workflow
Photon is free and open source software released under the [MIT license](./LICENSE). Full documentation lives at [photon.portel.dev](https://photon.portel.dev/).
Related Portel project: [NCP](https://portel-dev.github.io/ncp/) gives agents one natural MCP interface to discover and run tools across a whole tool ecosystem. Photon builds reliable agent-facing capabilities; NCP helps agents find and use them alongside every other MCP.
**Try it in two minutes:**
``
Related Skills
Awesome Go
A curated list of awesome Go frameworks, libraries and software
Development next.js
| The React Framework | 138360 | 1503 | 1 |
Development sharing-skills
skill for guidance.
Development root-cause-tracing
Use when errors occur deep in execution and you need to trace back to find the original trigger.
Development Template Skill
Minimal skeleton for a new skill project structure.
Development Third-party Notices
THE FOLLOWING SETS FORTH ATTRIBUTION NOTICES FOR THIRD PARTY SOFTWARE THAT MAY BE CONTAINED IN PORTIONS OF THI
Development