MCP server · Org-owned · Audited from source
PCTX MCP server
by portofcontext/pctxMIT licenceAudited 5 Oct 2026 · source ce11c1ff05fb
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.
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
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
| Layer | What we check | Result |
|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | WARN 7 findings |
L1 Static source | Secrets, path traversal, supply chain | WARN 10 findings |
L2 Instructions | Prompt injection and authority framing in docs and tool descriptions | PASS 5 findings |
L3 Inventory | Declared tools match the source | PASS |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED |
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 npm
nasa-mcp-exampleat 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
MEDIUMInventory / provenanceinv.symlink · pctx-py/src/pctx_client/descriptions/data
pctx-py/src/pctx_client/descriptions/data
- Why
- link not followed
- Fix
- —
MEDIUMNetwork egressnet.raw_ip · crates/pctx/src/commands/start.rs:60
"http://127.0.0.1".to_string(),
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · crates/pctx/src/commands/mcp/dev/renderers.rs:470
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
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
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
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
"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
"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
"http://127.0.0.1".to_string(),
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · docs/CLI.md:65
* `--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
@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
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
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
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
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
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
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
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
crates/pctx_type_check_runtime/ts-libs.json
- Why
- 2377890 bytes not read
- Fix
- —
INFOInventory / provenanceinv.oversize · pctx-py/uv.lock
pctx-py/uv.lock
- Why
- 1188958 bytes not read
- Fix
- —
Tools it exposes
13 declared in source · 0 destructive
| Tool | Risk | What it does |
|---|---|---|
add | write | Add two numbers together |
browse_asteroids | read | No description in the source |
concat | read | Concatenate two strings with a separator |
divide | read | Divide x by y |
echo | read | Echo back a message with metadata |
greet | read | Generate a greeting message |
lookup_asteroid | read | No description in the source |
lookup_satellite | read | No description in the source |
multiply | read | Multiply two numbers together |
reverse_string | read | Reverse a string and return metadata |
search_asteroids | read | No description in the source |
search_satellites | read | No description in the source |
subtract | read | Subtract 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]{
"mcpServers": {
"nasa-mcp-example": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"NASA_API_KEY": "${NASA_API_KEY}",
"OPENROUTER_API_KEY": "${OPENROUTER_API_KEY}"
}
}
}
}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
- !CAUTION B 88 / 100
First audit ·
ce11c1ff05fb
README badge
For maintainers · updates on every re-audit
[](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?
What tools does PCTX expose?
Is PCTX safe to connect to an agent?
What credentials does PCTX need?
How does PCTX run?
How current is this page?
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.
- What is the PCTX MCP server?
- What tools does PCTX expose?
- Is PCTX safe to connect to an agent?