@ebowwa/mcp-run-path
v1.0.1
Published
MCP server for PATH manipulation across all package managers (npm, bun, pnpm, yarn, deno)
Downloads
47
Maintainers
Readme
@ebowwa/run-path-mcp
MCP server for PATH manipulation across all package managers.
Install
bun add @ebowwa/run-path-mcpUsage
Add to Claude Code
Add to your ~/.claude.json or .claude/config.json:
{
"mcpServers": {
"run-path": {
"command": "bun",
"args": ["/path/to/run-path-mcp/dist/index.js"]
}
}
}Tools
Main PATH Tools
| Tool | Description |
|------|-------------|
| get_run_path | Get augmented PATH with all package manager binaries |
| get_run_path_env | Get complete env object with augmented PATH |
Package Manager Specific
| Tool | Description |
|------|-------------|
| get_bun_path | PATH with only Bun paths |
| get_npm_path | PATH with only npm paths |
| get_pnpm_path | PATH with only pnpm paths |
| get_yarn_path | PATH with only Yarn paths |
Utility Tools
| Tool | Description |
|------|-------------|
| detect_package_managers | Detect installed package managers |
| get_bin_paths | List all binary directories |
Example
// Call get_run_path_env before spawning processes
{
"cwd": "/Users/user/project"
}Returns:
{
"PATH": "/Users/user/project/node_modules/.bin:/Users/user/.bun/bin:/usr/local/bin:...",
"HOME": "/Users/user",
...
}Supported Package Managers
- npm / npx -
node_modules/.bin, npm global prefix - bun -
~/.bun/bin,~/.bun/install/global/ - pnpm -
PNPM_HOME, pnpm global bin - yarn -
~/.yarn/bin, yarn global dir - deno -
~/.deno/bin
Transport
Currently uses stdio transport. HTTP/SSE transport planned for future versions.
License
MIT
