
Security News
pnpm 11.10 Hardens Registry Authentication to Block Token Redirection
pnpm 11.10 hardens registry auth to block token redirection, tightens pack-app and deploy, and makes the Rust port (v12) installable.
@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.
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
pnpm 11.10 hardens registry auth to block token redirection, tightens pack-app and deploy, and makes the Rust port (v12) installable.

Security News
/Research
Socket uncovered 17 malicious npm and PyPI packages typosquatting Paysafe, Skrill, and Neteller SDKs to steal developer secrets.

Security News
Node.js is debating whether AI-driven security report volume warrants moving more vulnerability reports into public workflows.