PD

portel-dev/photon

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

100 stars 5 forks 品質 77 トレンド 8MIT

portel-dev/photonは、https://github.com/portel-dev/photon.からインポートされたMCPサーバー候補です。

概要

portel-dev/photonは、https://github.com/portel-dev/photon.からインポートされたMCPサーバー候補です。

概要(AI 翻訳)

1つのTypeScript機能がエージェントスタック全体となります。

Photonは、小さく検証済みのTypeScriptメソッドを最速で変換する方法です 人間が操作でき、エージェントが信頼できるもの。能力を一度書き込む; Photonはその周囲のインターフェース、契約、実行時の挙動を導き出します:

  • MCPサーバー クロード、ChatGPT、カーソル、エージェント用
  • MCPアプリリソースをサポートするチャットクライアント向けの組み込みアプリUI
  • スクリプト、デモ、自動化用のCLIツール
  • 人間向けBeam Webインターフェース
  • ウェブルート、スケジュール、ウェブフック、再試行、状態、監査履歴 能力は生産ワークフローへと成長します

PhotonはMITライセンスのもとでリリースされた無料かつオープンソースのソフトウェアです。 完全なドキュメントは photon.portel.dev に保管されています。

関連ポートルプロジェクト:NCPがエージェントを提供 ツール全体を探索し実行するための自然なMCPインターフェースを1つにまとめました エコシステム。Photonは信頼性の高いエージェント向け能力を構築し、NCPはエージェントを支援します 他のMCPと一緒に見つけて使うのです。

2分後に試してみて:

それで生成された人間のUIであるBeamが開きます。photon mcp install my-tool を加えるときに 同じ機能をClaude Desktopや他のMCPクライアント内で実現したいのです。

*インターフェースは任意です。

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

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. Full documentation lives at photon.portel.dev.

Related Portel project: 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:

bun add -g @portel/photon
photon new my-tool
photon

That opens Beam, the generated human UI. Add photon mcp install my-tool when you want the same capability inside Claude Desktop or another MCP client.

Interfaces are optional. Intent is mandatory.

gh repo star portel-dev/photon

From one method to every surface

The weather example is intentionally small: one TypeScript method, a few docblock tags, and one @ui HTML asset. Photon turns that into a CLI command, Beam UI, MCP tool, and embedded app surface for MCP app-capable chat clients. Claude Desktop can run it from a local stdio MCP command; ChatGPT developer mode can connect to the same Photon over a public HTTPS /mcp endpoint.

GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "analytics": { "command": "photon", "args": ["mcp", "analytics"] } } }