Back to Home
descoped icon

mcp-pkg-local

Verified Safe

by descoped

Overview

Provides an MCP tool for LLMs to scan, index, and understand local dependency source code in Python and Node.js projects, enabling intelligent code analysis and generation.

Installation

Run Command
npx @descoped/mcp-pkg-local

Environment Variables

  • DEBUG_SHELL_RPC
  • DEBUG_VOLUME
  • DEBUG_ADAPTER
  • PRESERVE_TEST_DIRS_ON_FAILURE
  • USE_SYSTEM_TEMP
  • CI
  • DEBUG
  • BOTTLE_CACHE_ROOT
  • PKG_LOCAL_TIMEOUT_MULTIPLIER
  • UV_PYTHON_INSTALL_MIRROR
  • PIP_AVAILABLE
  • UV_AVAILABLE
  • PIP_VERSION
  • UV_VERSION
  • UV_PYTHON_PREFERENCE
  • UV_NO_PROGRESS
  • UV_NO_COLOR
  • PIP_CACHE_DIR
  • PIP_DISABLE_PIP_VERSION_CHECK
  • PIP_NO_COLOR
  • PIP_PROGRESS_BAR
  • FORCE_COLOR
  • PIP_REQUIRE_VIRTUALENV

Security Notes

The server executes system commands via Shell-RPC (e.g., `which`, `pip install`, `uv sync`). Input validation with Zod and tool-specific argument schemas are in place to mitigate arbitrary command injection. The `read-package` tool is explicitly designed as read-only. No hardcoded secrets or direct arbitrary network calls are apparent from the server's code; network interactions are a side-effect of underlying package manager commands which are monitored and controlled by the robust timeout system.

Similar Servers

Stats

Interest Score30
Security Score9
Cost ClassLow
Avg Tokens250
Stars1
Forks0
Last Update2026-01-19

Tags

MCPLLMAIPackage AnalysisSource CodePythonNode.jsDependency Management