@yawlabs/npmjs-mcp 0.8.0 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +241 -127
  2. package/dist/index.js +2 -2
  3. package/package.json +5 -1
package/README.md CHANGED
@@ -1,29 +1,42 @@
1
1
  # @yawlabs/npmjs-mcp
2
2
 
3
- MCP server for the [npm](https://www.npmjs.com) registry. Package intelligence, security audits, dependency analysis, and org management from any MCP-compatible AI assistant.
3
+ [![npm version](https://img.shields.io/npm/v/@yawlabs/npmjs-mcp)](https://www.npmjs.com/package/@yawlabs/npmjs-mcp)
4
+ [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
5
+ [![GitHub stars](https://img.shields.io/github/stars/YawLabs/npmjs-mcp)](https://github.com/YawLabs/npmjs-mcp/stargazers)
6
+ [![CI](https://github.com/YawLabs/npmjs-mcp/actions/workflows/ci.yml/badge.svg)](https://github.com/YawLabs/npmjs-mcp/actions/workflows/ci.yml) [![Release](https://github.com/YawLabs/npmjs-mcp/actions/workflows/release.yml/badge.svg)](https://github.com/YawLabs/npmjs-mcp/actions/workflows/release.yml)
4
7
 
5
- ## Quick start
8
+ **Run npm registry operations from Claude Code, Cursor, and any MCP client.** 63 tools covering the full registry surface: package intelligence, security audits, dependency analysis, org/team management, and the write ops that normally fight you locally (`npm deprecate`, `npm dist-tag`, `npm owner`, `npm unpublish`).
6
9
 
7
- ```bash
8
- npx @yawlabs/npmjs-mcp
9
- ```
10
+ Built and maintained by [Yaw Labs](https://yaw.sh).
10
11
 
11
- ## Setup
12
+ [![Add to mcp.hosting](https://mcp.hosting/install-button.svg)](https://mcp.hosting/install?name=npm&command=npx&args=-y%2C%40yawlabs%2Fnpmjs-mcp&env=NPM_TOKEN&description=npm%20registry%20-%20package%20intel%2C%20security%2C%20dependency%20analysis%2C%20write%20ops&source=https%3A%2F%2Fgithub.com%2FYawLabs%2Fnpmjs-mcp)
12
13
 
13
- No API key is required for read-only tools (search, packages, downloads, security, analysis). For authenticated tools (auth, access, orgs, hooks), set your npm token:
14
+ One click adds this to your [mcp.hosting](https://mcp.hosting) account so it syncs to every MCP client you use. Or install manually below.
14
15
 
15
- ```bash
16
- export NPM_TOKEN="your-token"
17
- ```
16
+ ## Why this one?
17
+
18
+ Other npm MCP servers wrap `npm search` and call it done. This one doesn't.
18
19
 
19
- ### Claude Code
20
+ - **Full registry HTTP surface** — 63 tools across reads, writes, orgs, teams, hooks, provenance, trusted publishers, and ops health. Not just `npm view`.
21
+ - **Write ops that actually work in agents** — `npm_deprecate`, `npm_dist_tag_set`, `npm_owner_add`, `npm_unpublish_version` go directly to the HTTP API with your token. No 2FA prompts, no `--otp` hunts, no `ENEEDAUTH` from a session-bound `.npmrc`.
22
+ - **Agent-aware failure surfacing** — write tools detect non-interactive context and return specific human-runnable commands (`npm login --auth-type=web`) instead of looping on unrecoverable errors.
23
+ - **Safety by default** — `npm_unpublish_*` requires `confirm: true`. `npm_owner_remove` blocks you from locking yourself out. `npm_deprecate` validates the message format (em-dash, no trailing period) that npmjs.com's API actually accepts.
24
+ - **Ops playbook built in** — `npm_ops_playbook` returns the canonical tool-vs-CLI-vs-CI decision matrix so your agent picks the right path on the first try.
25
+ - **Tool annotations** — every tool declares `readOnlyHint`, `destructiveHint`, `idempotentHint`, and `openWorldHint`, so MCP clients can skip confirmation on safe ops.
26
+ - **No API key required for reads** — search, packages, downloads, security, dep tree, licenses all work anonymously. Auth is opt-in via `NPM_TOKEN`.
27
+ - **Instant startup** — ships as a single bundled file with zero runtime dependencies. No 5-minute `node_modules` install.
28
+ - **Input hardening** — package names, scopes, versions, dist-tags, and team names are all regex-validated against npm's actual constraints. Defends against CRLF and path-traversal in URL construction.
29
+
30
+ ## Quick start
20
31
 
21
- Add to your MCP config:
32
+ **1. Create `.mcp.json` in your project root**
33
+
34
+ macOS / Linux / WSL:
22
35
 
23
36
  ```json
24
37
  {
25
38
  "mcpServers": {
26
- "npmjs": {
39
+ "npm": {
27
40
  "command": "npx",
28
41
  "args": ["-y", "@yawlabs/npmjs-mcp"]
29
42
  }
@@ -31,153 +44,254 @@ Add to your MCP config:
31
44
  }
32
45
  ```
33
46
 
34
- With authentication:
47
+ Windows:
35
48
 
36
49
  ```json
37
50
  {
38
51
  "mcpServers": {
39
- "npmjs": {
40
- "command": "npx",
41
- "args": ["-y", "@yawlabs/npmjs-mcp"],
42
- "env": {
43
- "NPM_TOKEN": "your-token"
44
- }
52
+ "npm": {
53
+ "command": "cmd",
54
+ "args": ["/c", "npx", "-y", "@yawlabs/npmjs-mcp"]
45
55
  }
46
56
  }
47
57
  }
48
58
  ```
49
59
 
50
- ### Claude Desktop
60
+ > **Why the extra step on Windows?** Since Node 20, `child_process.spawn` cannot directly execute `.cmd` files (that's what `npx` is on Windows). Wrapping with `cmd /c` is the standard workaround.
61
+
62
+ **2. Restart and approve**
63
+
64
+ Restart Claude Code (or your MCP client) and approve the npm MCP server when prompted.
51
65
 
52
- Add to `claude_desktop_config.json`:
66
+ **3. (Optional) Add your npm token for write operations**
67
+
68
+ Read-only tools work without any setup. For write tools (`deprecate`, `dist-tag`, `owner`, `team_*`, `org_member_*`, `unpublish`, `hook_*`, `access_set*`, `token_revoke`), add `NPM_TOKEN` to the `env` block:
53
69
 
54
70
  ```json
55
71
  {
56
72
  "mcpServers": {
57
- "npmjs": {
73
+ "npm": {
58
74
  "command": "npx",
59
75
  "args": ["-y", "@yawlabs/npmjs-mcp"],
60
76
  "env": {
61
- "NPM_TOKEN": "your-token"
77
+ "NPM_TOKEN": "npm_xxxxxxxxxxxx"
62
78
  }
63
79
  }
64
80
  }
65
81
  }
66
82
  ```
67
83
 
84
+ Use a [Granular Access Token](https://docs.npmjs.com/creating-and-viewing-access-tokens#creating-granular-access-tokens) scoped to just the packages and orgs you want your agent to manage.
85
+
86
+ That's it. Now ask your AI assistant:
87
+
88
+ > "Deprecate my-old-pkg 1.x with a pointer to v2"
89
+ >
90
+ > "What's the dep tree for fastify look like three levels deep?"
91
+ >
92
+ > "Audit express for known CVEs and tell me the fix"
93
+ >
94
+ > "Who are the maintainers of next.js and when did each one last publish?"
95
+
96
+ ## Configuration
97
+
98
+ | Environment variable | Default | Description |
99
+ |---|---|---|
100
+ | `NPM_TOKEN` | (none) | npm access token. Required only for write/auth/org/access/hooks tools. A Granular Access Token is strongly preferred over a Classic Automation token. |
101
+ | `NPM_REGISTRY` | `https://registry.npmjs.org` | Alternate registry (enterprise/private). Must support the npm HTTP API shape. |
102
+
103
+ **Alternate MCP clients:**
104
+
105
+ | Client | Config file |
106
+ |---|---|
107
+ | Claude Code | `.mcp.json` (project root) or `~/.claude.json` (global) |
108
+ | Claude Desktop | `~/Library/Application Support/Claude/claude_desktop_config.json` (macOS) |
109
+ | Cursor | `~/.cursor/mcp.json` |
110
+ | Windsurf | `~/.codeium/windsurf/mcp_config.json` |
111
+ | VS Code | `.vscode/mcp.json` |
112
+
113
+ Use the same JSON block shown above in any of these.
114
+
68
115
  ## Tools (63)
69
116
 
70
- ### Search
71
- - `npm_search` — Search the npm registry with qualifiers (keywords, author, scope)
72
-
73
- ### Packages
74
- - `npm_package`Get package metadata (description, dist-tags, maintainers, license)
75
- - `npm_version`Get detailed metadata for a specific version
76
- - `npm_versions`List all published versions with dates
77
- - `npm_readme`Get README content
78
- - `npm_dist_tags`Get dist-tags (latest, next, beta, etc)
79
- - `npm_types`Check TypeScript type support (built-in types or @types/*)
80
-
81
- ### Dependencies
82
- - `npm_dependencies`Get dependency lists (prod, dev, peer, optional)
83
- - `npm_dep_tree`Resolve transitive dependency tree (configurable depth)
84
- - `npm_license_check`Check licenses of a package and its direct deps
85
-
86
- ### Downloads
87
- - `npm_downloads`Get total download count for a period
88
- - `npm_downloads_range`Get daily download breakdown
89
- - `npm_downloads_bulk` — Compare downloads for up to 128 packages
90
- - `npm_version_downloads` — Per-version download counts
91
-
92
- ### Security
93
- - `npm_audit` — Check packages for known vulnerabilities
94
- - `npm_audit_deep` — Full audit with CVSS scores, CWEs, fix recommendations
95
- - `npm_signing_keys`Get registry ECDSA signing keys
96
-
97
- ### Analysis
98
- - `npm_compare` — Compare 2-5 packages side-by-side
99
- - `npm_health`Assess maintenance, downloads, security, deprecation status
100
- - `npm_maintainers`Get maintainers and their publish history
101
- - `npm_release_frequency`Analyze release cadence and gaps
102
-
103
- ### Registry
104
- - `npm_registry_stats` — Total npm-wide download counts
105
- - `npm_recent_changes` — Recent package publishes from the CouchDB changes feed
106
- - `npm_ops_playbook` — Canonical recipes for npm operations (call this FIRST when unsure which tool to use)
107
-
108
- ### Provenance
109
- - `npm_provenance`Get Sigstore provenance attestations (SLSA, publish)
110
-
111
- ### Trusted Publishers (requires NPM_TOKEN)
112
- - `npm_trusted_publishers` List OIDC trust relationships with CI/CD providers
113
-
114
- ### Auth (requires NPM_TOKEN)
115
- - `npm_whoami`Check authenticated user
116
- - `npm_profile`Get profile, email, 2FA status
117
- - `npm_tokens`List access tokens
118
- - `npm_verify_token` — One-call capability check (call this FIRST when debugging write failures)
119
- - `npm_user_packages` List packages published by a user
120
-
121
- ### Access (requires NPM_TOKEN)
122
- - `npm_collaborators`List package collaborators and permissions
123
- - `npm_package_access`Get package access settings
124
-
125
- ### Organizations (requires NPM_TOKEN)
126
- - `npm_org_members` — List org members and roles
127
- - `npm_org_packages` — List org packages
128
- - `npm_org_teams`List org teams
129
- - `npm_team_packages`List team package permissions
130
-
131
- ### Workflows
132
- - `npm_check_auth` — Auth health check with headless publish feasibility
133
- - `npm_publish_preflight` Pre-publish validation checklist
134
-
135
- ### Write Operations (requires NPM_TOKEN with write scope)
136
-
137
- These bypass the CLI/2FA friction that causes `npm deprecate` and similar commands to 422 locally. All use the HTTP API with your `NPM_TOKEN`.
138
-
139
- - `npm_deprecate`Deprecate a package or specific versions (validates message format)
140
- - `npm_undeprecate`Clear deprecation
141
- - `npm_unpublish_version`Unpublish a specific version (requires `confirm: true`)
142
- - `npm_unpublish_package`Unpublish an entire package (requires `confirm: true`)
143
- - `npm_dist_tag_set`Point a dist-tag at a version
144
- - `npm_dist_tag_remove`Remove a dist-tag (except `latest`)
145
- - `npm_owner_add`Add a maintainer (resolves user via `/-/user/`)
146
- - `npm_owner_remove`Remove a maintainer (prevents lockout)
147
- - `npm_access_set`Set public/private/restricted access
148
- - `npm_access_set_mfa`Configure 2FA requirement for publish (none/publish/automation)
149
- - `npm_team_grant` / `npm_team_revoke` Grant/revoke team permissions on a package
150
- - `npm_team_create` / `npm_team_delete` — Create/delete a team in an org
151
- - `npm_team_member_add` / `npm_team_member_remove` — Manage team members
152
- - `npm_org_member_set` / `npm_org_member_remove` Add/remove org members, set roles
153
- - `npm_token_revoke`Revoke an access token by key (creation requires a password and isn't exposed)
154
-
155
- ### Webhooks (requires NPM_TOKEN)
156
- - `npm_hook_add`Register a webhook on a package, scope, or user
157
- - `npm_hook_list` — List webhooks (optional package filter)
158
- - `npm_hook_get` Fetch a single webhook
159
- - `npm_hook_update` — Update endpoint/secret of a webhook
160
- - `npm_hook_remove` — Delete a webhook
161
-
162
- ### Operation Decision Matrix
117
+ ### Search (1)
118
+ - **npm_search** — Search the npm registry with qualifiers (keywords, author, scope).
119
+
120
+ ### Packages (6)
121
+ - **npm_package**Metadata: description, dist-tags, maintainers, license, repository.
122
+ - **npm_version**Detailed metadata for a specific version.
123
+ - **npm_versions**All published versions with dates.
124
+ - **npm_readme** — README content.
125
+ - **npm_dist_tags**Dist-tags (latest, next, beta, etc).
126
+ - **npm_types** — TypeScript type support (built-in types or `@types/*`).
127
+
128
+ ### Dependencies (3)
129
+ - **npm_dependencies**Dependency lists (prod, dev, peer, optional).
130
+ - **npm_dep_tree**Transitive dependency tree (configurable depth).
131
+ - **npm_license_check**License audit of a package and its direct deps.
132
+
133
+ ### Downloads (4)
134
+ - **npm_downloads**Total download count for a period.
135
+ - **npm_downloads_range**Daily download breakdown.
136
+ - **npm_downloads_bulk** — Compare downloads for up to 128 packages.
137
+ - **npm_version_downloads** — Per-version download counts.
138
+
139
+ ### Security (3)
140
+ - **npm_audit** — Check packages for known vulnerabilities.
141
+ - **npm_audit_deep** — Full audit with CVSS scores, CWEs, fix recommendations.
142
+ - **npm_signing_keys**Registry ECDSA signing keys.
143
+
144
+ ### Analysis (4)
145
+ - **npm_compare** — Compare 25 packages side-by-side.
146
+ - **npm_health**Maintenance, downloads, security, deprecation summary.
147
+ - **npm_maintainers**Maintainers and publish history.
148
+ - **npm_release_frequency**Release cadence and gaps.
149
+
150
+ ### Registry (3)
151
+ - **npm_registry_stats** — Total npm-wide download counts.
152
+ - **npm_recent_changes** — Recent publishes from the CouchDB changes feed.
153
+ - **npm_ops_playbook** — Canonical recipes for npm operations. **Call this first** when unsure which tool to use.
154
+
155
+ ### Provenance & trust (2)
156
+ - **npm_provenance** — Sigstore attestations (SLSA, publish).
157
+ - **npm_trusted_publishers** — OIDC trust relationships with CI/CD providers.
158
+
159
+ ### Auth (5, requires NPM_TOKEN)
160
+ - **npm_whoami** — Authenticated user.
161
+ - **npm_profile** Profile, email, 2FA status.
162
+ - **npm_tokens**List access tokens.
163
+ - **npm_verify_token**One-call capability check. **Call this first** when debugging write failures.
164
+ - **npm_user_packages**Packages published by a user.
165
+
166
+ ### Access & orgs (6, requires NPM_TOKEN)
167
+ - **npm_collaborators** — Package collaborators and permissions.
168
+ - **npm_package_access** Package access settings.
169
+ - **npm_org_members**Org members and roles.
170
+ - **npm_org_packages**Org packages.
171
+ - **npm_org_teams** — Org teams.
172
+ - **npm_team_packages** Team package permissions.
173
+
174
+ ### Workflows (2)
175
+ - **npm_check_auth**Auth health check with headless publish feasibility.
176
+ - **npm_publish_preflight**Pre-publish validation checklist.
177
+
178
+ ### Write operations (19, requires NPM_TOKEN with write scope)
179
+
180
+ These bypass the CLI/2FA friction that makes `npm deprecate` and friends fail locally. All use the HTTP API with your `NPM_TOKEN`.
181
+
182
+ - **npm_deprecate** Deprecate a package or specific versions (validates message format).
183
+ - **npm_undeprecate** — Clear deprecation.
184
+ - **npm_unpublish_version** Unpublish a version. Requires `confirm: true`.
185
+ - **npm_unpublish_package** — Unpublish an entire package. Requires `confirm: true`.
186
+ - **npm_dist_tag_set**Point a dist-tag at a version.
187
+ - **npm_dist_tag_remove**Remove a dist-tag (refuses `latest`).
188
+ - **npm_owner_add**Add a maintainer (resolves user via `/-/user/`).
189
+ - **npm_owner_remove**Remove a maintainer (prevents self-lockout).
190
+ - **npm_access_set**Set public/private/restricted access.
191
+ - **npm_access_set_mfa**Configure 2FA requirement (none/publish/automation).
192
+ - **npm_team_grant** / **npm_team_revoke** Grant/revoke team permissions on a package.
193
+ - **npm_team_create** / **npm_team_delete** Create/delete a team in an org.
194
+ - **npm_team_member_add** / **npm_team_member_remove** Manage team members.
195
+ - **npm_org_member_set** / **npm_org_member_remove** Manage org membership and roles.
196
+ - **npm_token_revoke**Revoke an access token by key.
197
+
198
+ ### Webhooks (5, requires NPM_TOKEN)
199
+ - **npm_hook_add** Register a webhook on a package, scope, or user.
200
+ - **npm_hook_list**List webhooks (optional package filter).
201
+ - **npm_hook_get** — Fetch a single webhook.
202
+ - **npm_hook_update** Update endpoint/secret.
203
+ - **npm_hook_remove**Delete a webhook.
204
+
205
+ ## Operation decision matrix
163
206
 
164
207
  | Operation | Preferred path | Why |
165
208
  |---|---|---|
166
- | Read (search/view/stats) | These MCP tools, no auth required | Fast, zero friction |
167
- | Deprecate / dist-tag / owner | `npm_deprecate`, `npm_dist_tag_*`, `npm_owner_*` | HTTP API, no CLI auth issues |
209
+ | Read (search/view/stats) | These MCP tools, no auth | Fast, zero friction |
210
+ | Deprecate / dist-tag / owner / team / hook | `npm_deprecate`, `npm_dist_tag_*`, etc. | HTTP API, no CLI 2FA friction |
168
211
  | Publish | CI tag-push workflow | Version discipline, provenance, org token |
169
212
  | Unpublish | `npm_unpublish_version` (with `confirm: true`) | Safer than CLI; irreversible within 72h |
170
- | CLI fallback (only if MCP returns 422) | `npm login --auth-type=web` then `npm <op>` | End-user interactive path |
213
+ | CLI fallback (rare) | `npm login --auth-type=web` then `npm <op>` | Only if MCP returns 422 |
214
+
215
+ Call `npm_ops_playbook` at the start of any session to get the up-to-date matrix.
216
+
217
+ ## Examples
218
+
219
+ ### Audit a dependency
220
+
221
+ ```
222
+ > "What vulnerabilities does lodash 4.17.20 have and what's the fix?"
223
+ → npm_audit_deep({ name: "lodash", version: "4.17.20" })
224
+ ```
225
+
226
+ ### Deprecate a package
227
+
228
+ ```
229
+ > "Deprecate @myorg/legacy-sdk with a pointer to @myorg/sdk"
230
+ → npm_deprecate({ name: "@myorg/legacy-sdk", message: "Renamed to @myorg/sdk — install that instead" })
231
+ ```
232
+
233
+ ### Compare package health
234
+
235
+ ```
236
+ > "Compare fastify vs express vs koa for maintenance health"
237
+ → npm_compare({ names: ["fastify", "express", "koa"] })
238
+ → npm_health({ name: "fastify" }) // ...etc
239
+ ```
240
+
241
+ ### Rotate a dist-tag
242
+
243
+ ```
244
+ > "Point @myorg/pkg@latest at 3.2.1"
245
+ → npm_dist_tag_set({ name: "@myorg/pkg", tag: "latest", version: "3.2.1" })
246
+ ```
247
+
248
+ ### Debug a write failure
249
+
250
+ ```
251
+ > "My deprecate keeps returning 422 — what's wrong?"
252
+ → npm_verify_token() // Confirms token scope, packages, 2FA state
253
+ → npm_ops_playbook() // Returns the canonical retry sequence
254
+ ```
255
+
256
+ ## Troubleshooting
257
+
258
+ **"Error: NPM_TOKEN is required"**
259
+
260
+ - The tool you called needs auth. Add `NPM_TOKEN` to the `env` block of your MCP config and restart the client.
261
+ - Prefer a [Granular Access Token](https://docs.npmjs.com/creating-and-viewing-access-tokens#creating-granular-access-tokens) scoped to just the packages and orgs you want touched.
262
+
263
+ **"HTTP 401 Unauthorized" or "HTTP 403 Forbidden"**
264
+
265
+ - Your token lacks scope on the target package. Call `npm_verify_token` — it reports which packages and orgs the token can actually write.
266
+ - If the package requires 2FA for writes, your token must be an automation token or come from an OIDC trusted publisher. A user token will 403.
267
+
268
+ **"HTTP 422 Unprocessable" on deprecate**
171
269
 
172
- Call `npm_ops_playbook` at the start of any session for the up-to-date matrix.
270
+ - Common cause: message format. Use an em-dash and no trailing period: `"Renamed to @x/y install that instead"`, not `"Renamed to @x/y. Install that instead."`
271
+ - Another: specifying a `versions` range that doesn't match any published version. Call `npm_versions` to confirm.
173
272
 
174
- ## Features
273
+ **Windows: MCP server doesn't start**
274
+
275
+ - Use the `cmd /c npx ...` pattern from the Quick start section. Node 20+ can't spawn `.cmd` files directly.
276
+
277
+ ## Requirements
278
+
279
+ - Node.js 18+
280
+ - (Optional) npm access token for write operations
281
+
282
+ ## Contributing
283
+
284
+ ```bash
285
+ git clone https://github.com/YawLabs/npmjs-mcp.git
286
+ cd npmjs-mcp
287
+ npm install
288
+ npm run lint # Biome check
289
+ npm run lint:fix # Auto-fix
290
+ npm run build # tsc + esbuild bundle
291
+ npm test # node --test
292
+ ```
175
293
 
176
- - **63 tools** covering search, packages, deps, downloads, security, analysis, auth, orgs, access, provenance, trust, publish workflows, write operations, and registry webhooks
177
- - **No API key required** for read-only tools — authenticated tools opt-in via NPM_TOKEN
178
- - **Zero runtime dependencies** — Single bundled file for instant `npx` startup
179
- - **Agent-aware publish tools** — Detects non-interactive context, provides human hand-off actions instead of unworkable retries
180
- - **MCP annotations** — Every tool declares read-only, destructive, and idempotent hints
294
+ See [CONTRIBUTING.md](CONTRIBUTING.md) for the full workflow, including release process.
181
295
 
182
296
  ## License
183
297
 
package/dist/index.js CHANGED
@@ -23178,7 +23178,7 @@ var writeTools = [
23178
23178
  openWorldHint: true
23179
23179
  },
23180
23180
  inputSchema: external_exports.object({
23181
- name: external_exports.string().describe("Package name (e.g. '@yawlabs/tokenmeter-mcp')"),
23181
+ name: external_exports.string().describe("Package name (e.g. '@yawlabs/spend')"),
23182
23182
  message: external_exports.string().describe("Deprecation message. Empty string to clear deprecation (use npm_undeprecate instead)."),
23183
23183
  versionRange: external_exports.string().optional().describe("Semver range. Omit to deprecate ALL versions. Example: '<1.0.0' or '0.3.x'."),
23184
23184
  force: external_exports.boolean().optional().describe("Bypass message format validation (default: false).")
@@ -23987,7 +23987,7 @@ var writeTools = [
23987
23987
  ];
23988
23988
 
23989
23989
  // src/index.ts
23990
- var version2 = true ? "0.8.0" : (await null).createRequire(import.meta.url)("../package.json").version;
23990
+ var version2 = true ? "0.9.0" : (await null).createRequire(import.meta.url)("../package.json").version;
23991
23991
  var subcommand = process.argv[2];
23992
23992
  if (subcommand === "version" || subcommand === "--version") {
23993
23993
  console.log(version2);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yawlabs/npmjs-mcp",
3
- "version": "0.8.0",
3
+ "version": "0.9.0",
4
4
  "description": "npm registry MCP server — package intelligence, security audits, and dependency analysis for AI assistants",
5
5
  "license": "MIT",
6
6
  "author": "YawLabs <contact@yaw.sh>",
@@ -39,6 +39,10 @@
39
39
  "prepublishOnly": "npm run build"
40
40
  },
41
41
  "dependencies": {},
42
+ "overrides": {
43
+ "hono": "^4.12.14",
44
+ "@hono/node-server": "^1.19.13"
45
+ },
42
46
  "devDependencies": {
43
47
  "@biomejs/biome": "^1.9.4",
44
48
  "@modelcontextprotocol/sdk": "^1.29.0",