Atlas / MCP servers / pkgxdev / Pkgx

PkgxSAFE

mcp/pkgxdev/pkgx

can your ai run anything? yes it can

Verdict
SAFE
Grade
B
Trust score
89 /100
Exposed tools
2 0r · 2w · 0d
Transport
stdio
License
—
Stars
23
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

A [Model Context Protocol] server that can run any Open Source tool via pkgx.

Usage

  1. Install [pkgx] (or not, we download it for you if you don’t)
  2. git clone https://github.com/pkgxdev/pkgx-mcp
  3. Consume in an MCP client (see below for configuration examples)

Cursor/Claude Configuation

  • ~/.cursor/mcp.json:
  • ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"pkgx": {
"command": "/path/to/pkgx-mcp/main.ts"
}
}
}

Or without pkgx, but with npx:

{
"mcpServers": {
"pkgx": {
"command": "npx",
"args": ["ts-node", "/path/to/pkgx-mcp/main.ts"]
}
}
}

MCP Inspector

npx @modelcontextprotocol/inspector ts-node ./main.ts

Suggested Prompts

Use pkgx to run a series of git commands and generate statistics about this
repository.

Security

Security? Hah.

But seriously, this is a dangerous tool. You are letting AI read any file on your computer†. We have the decency to run pkgx in a sandbox so at least a rogue AI can’t run rm -rf /. But we have not restricted reads because that seemed too limiting.

We need the MCP protocol to advance to allow the user to be prompted with UI to approve certain things that the AI cannot by itself do or something like that.

In the meantime USE WITH ABSURD AMOUNTS OF CAUTION.

† well, on macOS at least we prevent reads to ~/.ssh and ~/.aws, PRs welcome to exclude more and add Linux sandboxing.
[!IMPORTANT] The AI cannot write to your file system. On macOS anyway. On Linux we need you to PR that for us.

[Model Context Protocol]: https://github.com/modelcontextprotocol [pkgx]: https://pkgx.sh

Read from source at commit 3a4904c5df2dOBSERVED · 2026-10-09
02

Exposed tools (2)

0 read · 2 write · 0 destructive.

ToolRiskDescription
run-command-linewriteRun a command line with \
run-program-with-array-of-argswriteRun a single program with \
03

Trust audit

SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codePASS
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
none-observed
Network
declared (2 observation(s))
Shell
declared (2 observation(s))
Dependencies
not all pinned
Secrets in source
none-found

Findings (2)

LOWInventory / provenance · inv.no_license · CWE-1104
Why it matters. no LICENSE file and no repo licence
Fix. add a licence
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
package.json
@modelcontextprotocol/sdk, @types/node, typescript
Why it matters. 3 dependency range(s) float
Fix. pin exact versions or ship a lockfile

Gates applied: no_behavioural_pass, no_license.

Audited 2026-10-09 · audit v0.4.1 · source sha 3a4904c5df2dfull audit observations/trust-audit/mcp-server/pkgxdev__pkgx.json · Report an issue / request a re-scan
04

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-093a4904c5df2dSAFEB89first audit
05

Questions

What is the Pkgx MCP server?

can your ai run anything? yes it can

What tools does Pkgx expose?

2 in total: 0 read-only, 2 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.

Is Pkgx safe to connect to an agent?

The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.

What credentials does Pkgx need?

No credential environment variables were found in its source, so it appears to need none.

How does Pkgx run?

It speaks stdio, so it runs as a local process your client starts.

How current is this page?

The grade is for one exact copy of the source (3a4904c5df2d), read on 2026-10-09. The repository is watched and re-audited when it changes.

Advertisement