pkgx MCP
OfficialMentioned as a platform where the server can run, but currently lacks the filesystem write restrictions that are implemented for macOS.
Provides sandboxed execution of tools through pkgx on macOS, with file read access but restricted write capabilities to ensure AI cannot modify the filesystem.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@pkgx MCPrun jq to parse the package.json file and extract the version"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
pkgx MCP
A Model Context Protocol server that can run any Open Source tool via
pkgx.
Usage
Install
pkgx(or not, we download it for you if you don’t)git clone https://github.com/pkgxdev/pkgx-mcpConsume 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.tsRelated MCP server: Command Executor MCP Server
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
~/.sshand~/.aws, PRs welcome to exclude more and add Linux sandboxing.
The AI cannot write to your file system.
On macOS anyway. On Linux we need you to PR that for us.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Appeared in Searches
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/pkgxdev/mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server