
portel-dev/photon
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
portel-dev/photon — это кандидат на MCP-сервер, импортированный из https://github.com/portel-dev/photon.
Обзор
portel-dev/photon — это кандидат на MCP-сервер, импортированный из https://github.com/portel-dev/photon.
Обзор (машинный перевод)
Одна возможность TypeScript становится всем стеком агентов.
Photon — самый быстрый способ превратить небольшой, проверенный метод TypeScript в Что-то, чему люди могут управлять и которым агенты могут доверять. Запишите возможность один раз; Photon выводит вокруг себя интерфейсы, контракты и поведение во время выполнения:
- MCP сервер для Claude, ChatGPT, Cursor и агентов
- Встроенный интерфейс приложений для чат-клиентов, поддерживающих ресурсы приложений MCP
- Инструмент CLI для скриптов, демонстраций и автоматизации
- Веб-интерфейс Beam для людей
- Веб-маршруты, расписания, вебхуки, повторы, состояние и история аудита когда Возможности превращаются в производственный рабочий процесс
Photon — это бесплатное и открытое программное обеспечение, выпускаемое по лицензии MIT. Полная документация доступна на photon.portel.dev.
Связанный проект Portel: NCP предоставляет агентов один естественный интерфейс MCP для поиска и запуска инструментов по всему инструменту экосистемы. Photon создает надёжные возможности взаимодействия с агентами; NCP помогает агентам найти и использовать их вместе со всеми другими MCP.
Попробуй через две минуты:
Это открывает Beam, сгенерированный человеческий интерфейс. Добавить photon mcp install my-tool, когда
Вам нужна такая же возможность внутри Claude Desktop или другого MCP-клиента.
*Интерфейсы необязательны.
Эта страница переведена автоматически. Технические детали смотрите в оригинале.
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.
Установка
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"]
}
}
}