
Security News
npm v12 Ships With Install Scripts Off by Default, Begins Deprecating 2FA-Bypass Tokens
npm v12 is generally available, turning install scripts off by default and beginning the deprecation of 2FA-bypass publishing tokens.
@jspm/local-mcp
Advanced tools
A local-first MCP server for managing JSPM import maps in real projects.
@jspm/local-mcpA local-first Model Context Protocol server for managing JSPM import maps inside a real project directory. Uses @jspm/generator to keep the full import map correct instead of hand-editing only the imports section.
Built for coding agents with filesystem access to your repo (Codex, Claude Code / Claude Desktop, Cursor, VS Code MCP).
| Tool | Description | Inputs |
|---|---|---|
get_status | Returns the active project path, map target, environment conditions, and generator options. | none |
get_importmap | Returns the current import map as JSON with the list of installed top-level specifiers. Requires set_project first. | none |
| Tool | Description | Inputs |
|---|---|---|
set_project | Sets the active project directory. | path: string |
set_target | Choose importmap file or HTML injection mode. | target: string, fileName?: string, esModuleShims?: boolean |
set_env | Switch between "production" and "development". | `environment: "production" |
| Tool | Description | Inputs |
|---|---|---|
set_generator_options | Configure CommonJS, TypeScript, SystemJS, integrity, fetch retries, default provider, and more. | commonJS?, typeScript?, system?, integrity?, fetchRetries?, defaultProvider?, cache?, providers?, resolutions?, ignore?, reinstall? |
set_provider | Set default provider (e.g. "jspm.io", "jsdelivr", "unpkg") and scoped overrides. | defaultProvider?, overrides?, reinstall? |
remove_provider_override | Remove one or more scoped provider overrides. | specifiers: string[], reinstall? |
set_cache | Configure cache mode (true, false, or "offline"). | `cache: boolean |
set_resolution | Add or update package resolution overrides. | resolutions: {specifier, target}[], reinstall? |
remove_resolution | Remove package resolution overrides. | specifiers: string[], reinstall? |
set_ignore | Replace the list of specifiers JSPM ignores during tracing. | specifiers: string[], reinstall? |
| Tool | Description | Inputs |
|---|---|---|
install_package | Install one or more packages via the configured provider. | packages: {packageName, version?}[] |
uninstall_package | Remove one or more packages from the import map. | `packageName: string |
trace_file | Trace imports from local source files and add required mappings. | fileNames: string[] |
1. set_project({ path: "/absolute/path/to/project" })
2. set_target({ target: "html", fileName: "index.html" })
3. install_package({ packages: [{ packageName: "react" }, { packageName: "react-dom" }] })
4. trace_file({ fileNames: ["src/main.js"] })
npx -y @jspm/local-mcp
Or globally:
npm install -g @jspm/local-mcp
jspm-local-mcp
All clients use the same pattern:
{
"mcpServers": {
"jspm": {
"command": "npx",
"args": ["-y", "@jspm/local-mcp"]
}
}
}
For VS Code / GitHub Copilot, use the "servers" key instead of "mcpServers".
If npx is unavailable, point directly to the installed executable:
{
"command": "node",
"args": ["/path/to/jspm-mcp/dist/cli.js"]
}
npm install
npm run build
npm start
For auto-reload during development:
npm run dev (watches src/ and rebuilds dist/ on save)node --watch /path/to/jspm-mcp/dist/cli.jsThe --watch flag restarts the server automatically when dist/ changes.
npm run build
npm publish --access public
prepublishOnly rebuilds dist before publish.
MIT
FAQs
A local-first MCP server for managing JSPM import maps in real projects.
The npm package @jspm/local-mcp receives a total of 23 weekly downloads. As such, @jspm/local-mcp popularity was classified as not popular.
We found that @jspm/local-mcp demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
npm v12 is generally available, turning install scripts off by default and beginning the deprecation of 2FA-bypass publishing tokens.

Research
/Security News
Socket tracks the activity as Operation “Muck and Load”: a threat actor uses commit-farming workflows, public dead drops, and protected archives to stage Windows RAT and infostealer malware.

Security News
pnpm 11.10 hardens registry auth to block token redirection, tightens pack-app and deploy, and makes the Rust port (v12) installable.