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

MCP server · Org-owned · Audited from source

PCTX MCP server

by portofcontext/pctxMIT licenceAudited 5 Oct 2026 · source ce11c1ff05fb

npm nasa-mcp-example 1.0.0stdiostreamable-http★ 279
!CAUTIONGrade B · 88/100 · 5 Oct 2026 · ce11c1f
279GitHub stars

Is it safe? With care — CAUTION, grade B (88/100). It exposes 13 tools: 12 read, 1 write and 0 destructive. The audit recorded 22 findings (0 critical, 0 high, 2 medium, 16 low). Maintainer's description: pctx is the execution layer for agentic tool calls. It auto-converts agent tools and MCP servers into code that runs in secure sandboxes for token-efficient workflows.

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “PCTX MCP server (portofcontext/pctx)”. Retrieved 5 Oct 2026. https://modelsatlas.com/mcp/portofcontext/pctx

Trust audit

Audit 0.4.1 · full source read 5 Oct 2026

Trust score88/100!CAUTION B
0 critical0 high2 medium16 low4 info

22 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

  • FilesystemDeclared4 observations
  • NetworkDeclared5 observations
  • ShellNone observedNothing seen in the source
  • DependenciesNot pinnedSome ranges float
  • SecretsNone foundNo keys in source

“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.

Five audit layers

LayerWhat we checkResult
L0 ProvenanceRepo owner, licence, archive status, activityWARN 7 findings
L1 Static sourceSecrets, path traversal, supply chainWARN 10 findings
L2 InstructionsPrompt injection and authority framing in docs and tool descriptionsPASS 5 findings
L3 InventoryDeclared tools match the sourcePASS
L4 SandboxRun in isolation and watch behaviourSKIPPED

Provenance & runtime

Who published it, and what the audit could and could not run

Provenance

  • Repository owner portofcontextOrganizationAccount type recorded when we read the repository.
  • PackagePublished on npmnasa-mcp-example at version 1.0.0
  • LicenceMITFrom the repository, as read at the audited commit.
  • Last push4 days agoActivity of the repository when we read it.
  • Source commit readce11c1ff05fbThe audit covers exactly this commit, read on 5 Oct 2026.

Runtime

  • Sandbox runNot run yetThis audit read the source only; it did not execute the server.
  • Tool inventory13 declaredRead from the source and classed read, write or destructive.

Every value here is read from the record's own repository and audit.Suggest a correction

Findings (22)

Sorted by severity

MEDIUMNetwork egressnet.raw_ip · crates/pctx/src/commands/start.rs:60
F-04 Network egressCWE-200 · CWE-319Layer L1
"http://127.0.0.1".to_string(),
Why
No further detail recorded for this rule.
Fix
—
LOWInventory / provenanceinv.hidden_file · .readthedocs.yaml
F-13 Inventory / provenanceCWE-1104Layer L0
.readthedocs.yaml
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInventory / provenanceinv.hidden_file · examples/nasa-mcp/.railwayignore
F-13 Inventory / provenanceCWE-1104Layer L0
.railwayignore
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWFilesystem / pathfs.traversal · crates/pctx/src/commands/mcp/dev/renderers.rs:470
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
const CLI_DOCS: &str = include_str!("../../../../../../docs/CLI.md");
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · crates/pctx/src/commands/start.rs:21
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
const LOGO: &str = include_str!("../../../../assets/ascii-logo.txt");
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · crates/pctx_mcp_server/src/utils/mod.rs:3
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
pub(crate) static LOGO: &str = include_str!("../../../../assets/ascii-logo.txt");
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · scripts/build-python.sh:8
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
SYMLINK_TARGET="../../../../crates/pctx_code_mode/descriptions"
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · crates/pctx_session_server/tests/metadata.rs:73
F-04 Network egressCWE-200 · CWE-319Layer L1
"http://127.0.0.1".to_string(),
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · crates/pctx_session_server/tests/utils.rs:18
F-04 Network egressCWE-200 · CWE-319Layer L1
"http://127.0.0.1".to_string(),
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · crates/pctx_session_server/tests/utils.rs:49
F-04 Network egressCWE-200 · CWE-319Layer L1
"http://127.0.0.1".to_string(),
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · docs/CLI.md:65
F-04 Network egressCWE-200 · CWE-319Layer L1
* `--allowed-origin <ALLOWED_ORIGINS>` — Allowed CORS origins. Can be specified multiple times. Defaults to localhost only (<http://localhost>, <http://127.0.0.1>, http://[`::1`]). Specify your own or
Why
No further detail recorded for this rule.
Fix
—
LOWSupply chainsupply.unpinned · examples/nasa-mcp/package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
@modelcontextprotocol/sdk, dotenv, express, node-fetch, zod
Why
5 dependency range(s) float
Fix
pin exact versions or ship a lockfile
LOWPrompt injectionprompt.credential_read · docs/config.md:489
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
The value is read from the environment variable at runtime.
Why
asks the agent to read credentials
Fix
—
LOWSupply chainprompt.pipe_to_shell · README.md:33
F-08 Supply chainCWE-829 · CWE-1357Layer L2
curl --proto '=https' --tlsv1.2 -LsSf https://raw.githubusercontent.com/portofcontext/pctx/main/install.sh | sh
Why
No further detail recorded for this rule.
Fix
—
LOWSupply chainprompt.pipe_to_shell · RELEASING.md:79
F-08 Supply chainCWE-829 · CWE-1357Layer L2
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/portofcontext/pctx/releases/latest/download/pctx-installer.sh | sh
Why
No further detail recorded for this rule.
Fix
—
LOWSupply chainprompt.pipe_to_shell · pctx-py/README.md:36
F-08 Supply chainCWE-829 · CWE-1357Layer L2
curl --proto '=https' --tlsv1.2 -LsSf https://raw.githubusercontent.com/portofcontext/pctx/main/install.sh | sh
Why
No further detail recorded for this rule.
Fix
—
LOWPrompt injectionprompt.transfer_instruction · docs/upstream-mcp-servers.md:119
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
When running as a stdio MCP server (e.g. configured in Claude Desktop's `mcpServers`), the entire process lifetime is treated as a single session. A global session ID is assigned at startup, and all `
Why
an instruction to move sensitive data to an outside destination
Fix
remove; a skill never needs the user's secrets off the machine
INFOInventory / provenanceinv.oversize · crates/pctx_code_execution_runtime/src/just-bash/bundle.js
F-13 Inventory / provenanceCWE-1104Layer L0
crates/pctx_code_execution_runtime/src/just-bash/bundle.js
Why
1088825 bytes not read
Fix
—
INFOInventory / provenanceinv.oversize · crates/pctx_type_check_runtime/src/typescript.min.js
F-13 Inventory / provenanceCWE-1104Layer L0
crates/pctx_type_check_runtime/src/typescript.min.js
Why
9020174 bytes not read
Fix
—
INFOInventory / provenanceinv.oversize · crates/pctx_type_check_runtime/ts-libs.json
F-13 Inventory / provenanceCWE-1104Layer L0
crates/pctx_type_check_runtime/ts-libs.json
Why
2377890 bytes not read
Fix
—
INFOInventory / provenanceinv.oversize · pctx-py/uv.lock
F-13 Inventory / provenanceCWE-1104Layer L0
pctx-py/uv.lock
Why
1188958 bytes not read
Fix
—

Tools it exposes

13 declared in source · 0 destructive

12 read1 write0 destructive
ToolRiskWhat it does
addwriteAdd two numbers together
browse_asteroidsreadNo description in the source
concatreadConcatenate two strings with a separator
dividereadDivide x by y
echoreadEcho back a message with metadata
greetreadGenerate a greeting message
lookup_asteroidreadNo description in the source
lookup_satellitereadNo description in the source
multiplyreadMultiply two numbers together
reverse_stringreadReverse a string and return metadata
search_asteroidsreadNo description in the source
search_satellitesreadNo description in the source
subtractreadSubtract b from a

Install

Package version 1.0.0 · audited commit ce11c1f

Read the findings first. The most severe is Inventory / provenance (medium) at pctx-py/src/pctx_client/descriptions/data.

One-click links open your editor with the config below filled in, exactly as the snippets show it, pinned to version 1.0.0. The audit covers commit ce11c1f only.

claude mcp add nasa-mcp-example --env NASA_API_KEY=${NASA_API_KEY} --env OPENROUTER_API_KEY=${OPENROUTER_API_KEY} -- npx -y [email protected]

The command pins the package version recorded in the source (1.0.0); the audit covers commit ce11c1ff05fb. Transport: stdio · streamable-http. Reads these environment variables: NASA_API_KEY, OPENROUTER_API_KEY. Give it the narrowest token it needs.

Audit history

  1. !CAUTION B 88 / 100

    First audit · ce11c1ff05fb

README badge

For maintainers · updates on every re-audit

ModelsAtlas: CAUTION BMODELSATLASCAUTION · B
[![ModelsAtlas: CAUTION B](https://modelsatlas.com/mcp/portofcontext/pctx/badge.svg)](https://modelsatlas.com/mcp/portofcontext/pctx/)

The badge always shows the latest audit; a maintainer cannot pin an old verdict.

Other ratings

Cited, never blended into our score

No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.

Questions about PCTX MCP server

What is the PCTX MCP server?
pctx is the execution layer for agentic tool calls. It auto-converts agent tools and MCP servers into code that runs in secure sandboxes for token-efficient workflows.
What tools does PCTX expose?
13 in total: 12 read-only, 1 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is PCTX safe to connect to an agent?
With care. The audit graded it B (88/100) and found 22 things worth knowing before you trust this server, listed below with the exact line each was found on.
What credentials does PCTX need?
It reads NASA_API_KEY and OPENROUTER_API_KEY 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 PCTX run?
It speaks stdio and streamable-http, so it runs as a local process your client starts. It is published on npm as nasa-mcp-example at 1.0.0.
How current is this page?
The grade is for one exact copy of the source (ce11c1ff05fb), read on 2026-10-05. The repository is watched and re-audited when it changes.

Sources

  • portofcontext/pctx on GitHub — the source we read, its licence, stars and activityObserved · 5 Oct 2026
  • ModelsAtlas trust audit — CAUTION verdict for commit ce11c1ff05fbObserved · 5 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.