MCP server · Org-owned · Audited from source
Photon MCP server
by portel-dev/photonMIT licenceAudited 7 Oct 2026 · source fde76c1fe2d3
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.
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
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
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
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
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
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
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
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
console.log(token);
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMHard-coded secretssecret.generic · tests/auth-delivery.test.ts:14
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
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
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMFilesystem / pathmcp.destructive_tools
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
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
LOWFilesystem / pathfs.traversal · src/auto-ui/beam.ts:2171
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
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
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
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
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
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
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
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
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
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
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.
| Tool | What it does | Risk |
|---|---|---|
confirm_delete | Task that requires confirmation | destructive |
deleteTask | Delete task | destructive |
add | Add a new todo item | write |
compute | Run a computation | write |
createTask | Create task | write |
deploy | No description in the source | write |
editTool | Edit something | write |
exec | Run via tool | write |
execute | Run command | write |
ping | Send a ping — the server will push a pong back via channel notification | write |
run | Run | write |
save | Save a record | write |
settings | View or update settings | write |
setup | Set up ${unresolved.name} — call this tool to begin. | write |
000-before-boundary | Inserted before the old offset boundary | read |
Basic | Minimal hello-world photon | read |
_instances | List all available instances. | read |
_redo | Redo the last undone mutation. Re-applies a previously undone change. | read |
_undo | Undo the last state mutation. Reverts the most recent tool call | read |
_use | Switch to a named instance. Pass empty name for default. Omit name to select interactively. | read |
ag-ui | Supports AG-UI protocol for agent-to-agent UI | read |
alpha | Alpha method | read |
analyst | Data analysis agent | read |
analyze | Analyze a dataset | read |
approval | Wait for approval | read |
ask | Ask for a name | read |
autoapp.helper | Helper | read |
autoapp.main | Main entry | read |
background | Durable background task | read |
beta | Beta tool | read |
browse | Browse menu | read |
build | Build | read |
calendar | Calendar management | read |
current | Get weather | read |
delegate | No description in the source | read |
demo.echo | Echo input | read |
destructive | Destructive fixture | read |
disabled | Return false | read |
doStuff | No description in the source | read |
documentedHelper | Helper @internal | read |
echo | Idempotent instance echo | read |
empty | No description in the source | read |
eval | Evaluate expression | read |
events | List events | read |
fail | Return a business failure | read |
failing_job | Required failing task | read |
fetch | No description in the source | read |
forecast | Get forecast | read |
go | No description in the source | read |
greet | Synchronous greeting | read |
helper | No description in the source | read |
hidden | No description in the source | read |
invalid | Return an invalid declared result | read |
json_schema_2020_12_tool | Tool with JSON Schema 2020-12 features | read |
label | Return a string | read |
list | List all todo items | read |
lookup | Route lookup | read |
main | Open the demo app | read |
metrics | Report process memory for load verification | read |
mixed | No description in the source | read |
multi_input | Task requiring multiple inputs | read |
mutate | Non-idempotent mutation | read |
myapp.helper | Helper | read |
myapp.main | Main entry | read |
no-namespace | System tool | read |
nothing | Return null | read |
notify | Broadcast a list invalidation | read |
open | Open the UI. | read |
photon-beam | Photon Beam MCP Server — interactive photon runtime | read |
photon.method | Valid | read |
photon_context_get | Read the current semantic Beam/application context for this session. | read |
photon_get_current_page_summary | Return the title, route, URL, and first visible paragraphs from the current Photon documentation page. | read |
photon_list_docs | List Photon documentation pages, optionally filtered by section such as guides, reference, internals, tutorials, or start. | read |
photon_navigate | Request navigation to a registered Photon view in the current application. | read |
photon_open_docs_page | Navigate the current browser tab to a Photon documentation page by route or URL. | read |
photon_search_docs | Search the Photon documentation site for pages about MCP, CLI, Beam, WebMCP, deployment, docblock tags, output formats, and other Photon topics. | read |
photon_skill_read | Read a declared Photon SKILL.md by name when more guidance is needed.${skillCatalog ? | read |
plain | No description in the source | read |
pong | Reply to a channel message | read |
protocol_error_job | Protocol-error task | read |
report | Generate report | read |
reportRoots | Report current roots | read |
reported | Reports an upstream error result | read |
rows | List rows | read |
sample | Ask the client model | read |
search | Search | read |
sequence | Ask and then sample | read |
show | Show the UI | read |
slow_compute | Durable computation | read |
stateful | Maintains state across interactions | read |
status | Watch status | read |
stream | No description in the source | read |
streaming | Supports streaming responses via SSE | read |
summarize | Summarize | read |
tags | List tags | read |
test | A test tool | read |
test_custom_header | Custom routing header fixture | read |
test_input_required_result_prompt | Prompt requiring input | read |
test_prompt_with_arguments | Prompt with arguments | read |
test_prompt_with_embedded_resource | Prompt with embedded resource | read |
test_prompt_with_image | Prompt with image | read |
test_simple_prompt | Simple prompt | read |
test_tool_with_task | MRTR then task composition | read |
throws | Throws an upstream transport failure | read |
todo | A todo list manager | read |
tool1 | Test tool | read |
tool_execution | Executes tools via MCP protocol | read |
unsafe | Unsafe route | read |
unsafeSchema | Declare a forbidden external reference | read |
url | Perform URL elicitation | read |
valid | Valid external result | read |
visible | Visible description | read |
weather | Weather service | read |
zero | Return zero | read |
Safer alternatives
All cloud & infra servers →kurajs/kura
Kura — the knowledgebase for humans and agents. Agent-native docs infrastructure, built on June.
SEOSiri-Official/developers-seosiri-com
SEOSiri Official enterprise developer portal & Cloudflare edge topology for AI Search Governance, AEO/GEO Analytics, Schema Validation, Core Web Vitals, DNS Security, and Autonomous AI Agent Tooling for Claude Desktop, Cursor AI, and enterprise AI engines.
toolstop/toolstop
Small, stateless MCP servers served from toolstop.dev
Audit history
- ✕BLOCK F 50 / 100
First audit ·
fde76c1fe2d3
README badge
Badges show the current verdict, BLOCK included
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?
What tools does Photon expose?
Is Photon safe to connect to an agent?
What credentials does Photon need?
How does Photon run?
How current is this page?
I already installed Photon. What should I do?
Can the verdict change?
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.
- What is the Photon MCP server?
- What tools does Photon expose?
- Is Photon safe to connect to an agent?