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-mcp- 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
~/.sshand~/.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.
Recommend MCP Servers 💡
google-calendar
This MCP server allows Claude to interact with your Google Calendar, enabling capabilities like listing events, creating meetings, and finding free time slots.
@timlukahorstmann/mcp-weather
A Model Context Protocol (MCP) server that provides hourly and daily weather forecasts using the AccuWeather API.
conport
Context Portal (ConPort) is a database-backed Model Context Protocol (MCP) server that acts as a project's memory bank, building a project-specific knowledge graph to supercharge AI assistants and developer tools within IDEs. It enables powerful Retrieval Augmented Generation (RAG) for context-aware development.
promptexecution/cratedocs-mcp
An MCP server that provides tools for Rust crate documentation lookup, allowing LLMs to access crate docs, search crates, and look up specific items.
milatechtransfer/paperpal
MCP Extension that helps with searching and writing literature reviews by accessing arxiv, Hugging Face papers, and semantic scholar
pdf-mcp-server
A comprehensive PDF manipulation toolkit that integrates with Claude AI via MCP, enabling users to merge, split, encrypt, optimize, and analyze PDFs using natural language commands.