Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Org-owned · Audited from source

Photon MCP server

by portel-dev/photonMIT licenceAudited 7 Oct 2026 · source fde76c1fe2d3

npm photon-vue-uissestdiostreamable-http★ 100
✕BLOCKGrade F · 50/100 · 7 Oct 2026 · fde76c1

Is it safe? No — BLOCK, grade F (50/100). It exposes 114 tools: 100 read, 12 write and 2 destructive. The audit recorded 46 findings (0 critical, 5 high, 7 medium, 24 low). Maintainer's description: Define intent once. Photon turns a single TypeScript file into CLI tools, MCP servers, and web interfaces.

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “Photon MCP server (portel-dev/photon)”. Retrieved 7 Oct 2026. https://modelsatlas.com/mcp/portel-dev/photon

Why this is BLOCK. The audit found 0 critical and 5 high findings; the most severe is Code injection at src/cli/commands/build.ts:1204. Each finding is listed below with its file and line.

Why this page is still public. People search for this server by name. Hiding it would leave them with the README's word alone; here they see what the code does. We list it so you can decide, and we do not show connect commands for BLOCK servers.

Trust audit

Audit 0.4.1 · full source read 7 Oct 2026

Trust score50/100✕BLOCK F
0 critical5 high7 medium24 low10 info

46 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.

What the source does

  • FilesystemDeclared11 observations
  • NetworkDeclared9 observations
  • ShellDeclared10 observations
  • DependenciesNot pinnedSome ranges float
  • SecretsFoundSee the findings

Findings (46)

Sorted by severity · the 25 most severe of 46 are listed

HIGHCode injectioncode.eval_exec · src/cli/commands/build.ts:1204
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
if (process.platform === 'darwin') exec('open "' + beamUrl + '"');
Why
evaluates text as code
Fix
remove; use a parser or a dispatch table
HIGHCode injectioncode.eval_exec · src/cli/commands/build.ts:1205
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
else if (process.platform === 'win32') exec('start "" "' + beamUrl + '"');
Why
evaluates text as code
Fix
remove; use a parser or a dispatch table
HIGHCode injectioncode.eval_exec · src/cli/commands/build.ts:1206
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
else exec('xdg-open "' + beamUrl + '" 2>/dev/null');
Why
evaluates text as code
Fix
remove; use a parser or a dispatch table
HIGHCode injectioncode.eval_exec · src/serv/db/d1-client.ts:18
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
exec(query: string): Promise<D1ExecResult>;
Why
evaluates text as code
Fix
remove; use a parser or a dispatch table
HIGHCode injectioncode.eval_exec · src/shared/sqlite-runtime.ts:129
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
return await new Function('m', 'return import(m)')(modName);
Why
evaluates text as code
Fix
remove; use a parser or a dispatch table
MEDIUMInventory / provenanceinv.binary · src/shared/asset-encoding.ts
F-13 Inventory / provenanceCWE-1104Layer L0
asset-encoding.ts
Why
a compiled or binary member cannot be reviewed from source
Fix
ship source, or explain the binary in the README
MEDIUMInformation disclosuredisclose.log_secret · src/cli/commands/auth.ts:117
F-12 Information disclosureCWE-209 · CWE-532Layer L1
console.log(token);
Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.generic · tests/auth-delivery.test.ts:14
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.generic · tests/auth-endpoints.test.ts:75
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.generic · tests/auth-endpoints.test.ts:1169
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMPrompt injectionprompt.hidden_style · examples/todo/ui/dashboard.photon.md:17
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
<div data-method="add" data-trigger="click" style="display: none;"></div>
Why
No further detail recorded for this rule.
Fix
—
MEDIUMFilesystem / pathmcp.destructive_tools
F-05 Filesystem / pathCWE-22 · CWE-59Layer L3
confirm_delete, deleteTask
Why
2 tool(s) can delete or overwrite
Fix
prefer a read-only mode or scoped tokens; the page states the blast radius
LOWInventory / provenanceinv.binary · tests/asset-encoding.test.ts
F-13 Inventory / provenanceCWE-1104Layer L0
asset-encoding.test.ts
Why
a compiled or binary member cannot be reviewed from source
Fix
ship source, or explain the binary in the README
LOWInventory / provenanceinv.hidden_file · .release-it.json
F-13 Inventory / provenanceCWE-1104Layer L0
.release-it.json
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInventory / provenanceinv.hidden_file · packages/vscode-photon/.vscodeignore
F-13 Inventory / provenanceCWE-1104Layer L0
.vscodeignore
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWFilesystem / pathfs.traversal · src/auto-ui/beam.ts:2171
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
const bundlePath = path.join(__dirname, '../../dist/beam.bundle.js');
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/auto-ui/beam.ts:2195
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
content = await readText(path.join(__dirname, '../../dist', bundleName));
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/auto-ui/beam.ts:2216
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
const workerPath = path.join(__dirname, '../../dist/beam-ts-worker.js');
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/auto-ui/beam/external-mcp-manager.ts:13
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import type { ClientType as Client } from '../../mcp/sdk-v2-2026/client.js';
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/auto-ui/beam/external-mcp-manager.ts:14
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { logger } from '../../shared/logger.js';
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · docs/guides/CONVERT-FRONTEND-APP.md:137
F-04 Network egressCWE-200 · CWE-319Layer L1
curl -s -o /dev/null -w '%{http_code}\n' http://127.0.0.1:35678/api/ui/main/
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · docs/guides/CONVERT-FRONTEND-APP.md:138
F-04 Network egressCWE-200 · CWE-319Layer L1
curl -s -o /dev/null -w '%{http_code}\n' http://127.0.0.1:35678/api/ui/main/assets/main.js
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · docs/guides/CONVERT-FRONTEND-APP.md:139
F-04 Network egressCWE-200 · CWE-319Layer L1
curl -s -o /dev/null -w '%{http_code}\n' http://127.0.0.1:35678/api/ui/main/assets/main.css
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · docs/guides/CONVERT-FRONTEND-APP.md:151
F-04 Network egressCWE-200 · CWE-319Layer L1
curl -X POST http://127.0.0.1:3000/api/v1/photon/stereogram/tools/open \
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · docs/guides/MCP-JWT-AUTH.md:183
F-04 Network egressCWE-200 · CWE-319Layer L1
export PHOTON_MCP_JWT_AUDIENCE=http://127.0.0.1:3000/mcp
Why
No further detail recorded for this rule.
Fix
—

Tools it exposes

114 declared in source · 2 destructive

100 read12 write2 destructive

2 tools can delete or overwrite. An agent that can be talked into calling a tool can be talked into calling this one, so give it a token scoped to what you need.

ToolWhat it doesRisk
confirm_deleteTask that requires confirmationdestructive
deleteTaskDelete taskdestructive
addAdd a new todo itemwrite
computeRun a computationwrite
createTaskCreate taskwrite
deployNo description in the sourcewrite
editToolEdit somethingwrite
execRun via toolwrite
executeRun commandwrite
pingSend a ping — the server will push a pong back via channel notificationwrite
runRunwrite
saveSave a recordwrite
settingsView or update settingswrite
setupSet up ${unresolved.name} — call this tool to begin.write
000-before-boundaryInserted before the old offset boundaryread
BasicMinimal hello-world photonread
_instancesList all available instances.read
_redoRedo the last undone mutation. Re-applies a previously undone change.read
_undoUndo the last state mutation. Reverts the most recent tool callread
_useSwitch to a named instance. Pass empty name for default. Omit name to select interactively.read
ag-uiSupports AG-UI protocol for agent-to-agent UIread
alphaAlpha methodread
analystData analysis agentread
analyzeAnalyze a datasetread
approvalWait for approvalread
askAsk for a nameread
autoapp.helperHelperread
autoapp.mainMain entryread
backgroundDurable background taskread
betaBeta toolread
browseBrowse menuread
buildBuildread
calendarCalendar managementread
currentGet weatherread
delegateNo description in the sourceread
demo.echoEcho inputread
destructiveDestructive fixtureread
disabledReturn falseread
doStuffNo description in the sourceread
documentedHelperHelper @internalread
echoIdempotent instance echoread
emptyNo description in the sourceread
evalEvaluate expressionread
eventsList eventsread
failReturn a business failureread
failing_jobRequired failing taskread
fetchNo description in the sourceread
forecastGet forecastread
goNo description in the sourceread
greetSynchronous greetingread
helperNo description in the sourceread
hiddenNo description in the sourceread
invalidReturn an invalid declared resultread
json_schema_2020_12_toolTool with JSON Schema 2020-12 featuresread
labelReturn a stringread
listList all todo itemsread
lookupRoute lookupread
mainOpen the demo appread
metricsReport process memory for load verificationread
mixedNo description in the sourceread
multi_inputTask requiring multiple inputsread
mutateNon-idempotent mutationread
myapp.helperHelperread
myapp.mainMain entryread
no-namespaceSystem toolread
nothingReturn nullread
notifyBroadcast a list invalidationread
openOpen the UI.read
photon-beamPhoton Beam MCP Server — interactive photon runtimeread
photon.methodValidread
photon_context_getRead the current semantic Beam/application context for this session.read
photon_get_current_page_summaryReturn the title, route, URL, and first visible paragraphs from the current Photon documentation page.read
photon_list_docsList Photon documentation pages, optionally filtered by section such as guides, reference, internals, tutorials, or start.read
photon_navigateRequest navigation to a registered Photon view in the current application.read
photon_open_docs_pageNavigate the current browser tab to a Photon documentation page by route or URL.read
photon_search_docsSearch the Photon documentation site for pages about MCP, CLI, Beam, WebMCP, deployment, docblock tags, output formats, and other Photon topics.read
photon_skill_readRead a declared Photon SKILL.md by name when more guidance is needed.${skillCatalog ?read
plainNo description in the sourceread
pongReply to a channel messageread
protocol_error_jobProtocol-error taskread
reportGenerate reportread
reportRootsReport current rootsread
reportedReports an upstream error resultread
rowsList rowsread
sampleAsk the client modelread
searchSearchread
sequenceAsk and then sampleread
showShow the UIread
slow_computeDurable computationread
statefulMaintains state across interactionsread
statusWatch statusread
streamNo description in the sourceread
streamingSupports streaming responses via SSEread
summarizeSummarizeread
tagsList tagsread
testA test toolread
test_custom_headerCustom routing header fixtureread
test_input_required_result_promptPrompt requiring inputread
test_prompt_with_argumentsPrompt with argumentsread
test_prompt_with_embedded_resourcePrompt with embedded resourceread
test_prompt_with_imagePrompt with imageread
test_simple_promptSimple promptread
test_tool_with_taskMRTR then task compositionread
throwsThrows an upstream transport failureread
todoA todo list managerread
tool1Test toolread
tool_executionExecutes tools via MCP protocolread
unsafeUnsafe routeread
unsafeSchemaDeclare a forbidden external referenceread
urlPerform URL elicitationread
validValid external resultread
visibleVisible descriptionread
weatherWeather serviceread
zeroReturn zeroread

Audit history

  1. ✕BLOCK F 50 / 100

    First audit · fde76c1fe2d3

README badge

Badges show the current verdict, BLOCK included

ModelsAtlas: BLOCK FMODELSATLASBLOCK · F

A badge cannot be hidden by the maintainer while the verdict is BLOCK. Fix the findings, push, and the re-audit updates it.

Questions about Photon MCP server

What is the Photon MCP server?
Define intent once. Photon turns a single TypeScript file into CLI tools, MCP servers, and web interfaces.
What tools does Photon expose?
114 in total: 100 read-only, 12 that write, and 2 that can delete or overwrite (confirm_delete, deleteTask). Every one is listed on this page with its risk.
Is Photon safe to connect to an agent?
No — not without reading the findings first. The audit graded it F (50/100) and found 5 critical or high issues in the source. Each one is listed on this page with the file and line it is on. Separately from the audit: 2 of its tools can destroy data, so scope the token you give it to what you actually need.
What credentials does Photon need?
It reads CLOUDFLARE_API_TOKEN, CONFIG_RUNTIME_API_KEY, GITHUB_TOKEN, PHOTON_A2A_AUTH, PHOTON_MCP_AUTHORIZATION_SERVER, PHOTON_MCP_AUTH_MODE, PHOTON_MCP_OAUTH_ISSUER, PHOTON_MCP_OAUTH_KV_ID, PHOTON_OAUTH_ENCRYPTION_KEY, PHOTON_OAUTH_HOST_SUBJECTS, PHOTON_OAUTH_JWT_SECRET and PHOTON_OAUTH_KEY_ID from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does Photon run?
It speaks sse, stdio and streamable-http, so it runs as a local process your client starts. It is published on npm as photon-vue-ui at 0.0.0.
How current is this page?
The grade is for one exact copy of the source (fde76c1fe2d3), read on 2026-10-07. The repository is watched and re-audited when it changes.
I already installed Photon. What should I do?
Remove it from your client's MCP configuration, then rotate any API keys and tokens that were in your environment while it ran.
Can the verdict change?
Yes. The repository is watched and re-audited when its source changes. If the findings are removed the verdict updates, and the history on this page shows it.

Sources

  • portel-dev/photon on GitHub — the source we read, its licence, stars and activityObserved · 7 Oct 2026
  • ModelsAtlas trust audit — BLOCK verdict for commit fde76c1fe2d3Observed · 7 Oct 2026

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.