@yawlabs/npmjs-mcp 0.11.5 → 0.11.7
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.
- package/README.md +8 -7
- package/dist/index.js +1 -1
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
[](https://github.com/YawLabs/npmjs-mcp/stargazers)
|
|
6
6
|
[](https://github.com/YawLabs/npmjs-mcp/actions/workflows/ci.yml) [](https://github.com/YawLabs/npmjs-mcp/actions/workflows/release.yml)
|
|
7
7
|
|
|
8
|
-
**Run npm registry operations from Claude Code, Cursor, and any MCP client.**
|
|
8
|
+
**Run npm registry operations from Claude Code, Cursor, and any MCP client.** 64 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`).
|
|
9
9
|
|
|
10
10
|
Built and maintained by [Yaw Labs](https://yaw.sh).
|
|
11
11
|
|
|
12
|
-
[](https://mcp.hosting/install?name=npm&command=npx&args=-y%2C%40yawlabs%2Fnpmjs-mcp&
|
|
12
|
+
[](https://mcp.hosting/install?name=npm&command=npx&args=-y%2C%40yawlabs%2Fnpmjs-mcp&description=npm%20registry%20-%20package%20intel%2C%20security%2C%20dependency%20analysis%2C%20write%20ops&source=https%3A%2F%2Fgithub.com%2FYawLabs%2Fnpmjs-mcp)
|
|
13
13
|
|
|
14
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.
|
|
15
15
|
|
|
@@ -17,7 +17,7 @@ One click adds this to your [mcp.hosting](https://mcp.hosting) account so it syn
|
|
|
17
17
|
|
|
18
18
|
Other npm MCP servers wrap `npm search` and call it done. This one doesn't.
|
|
19
19
|
|
|
20
|
-
- **Full registry HTTP surface** —
|
|
20
|
+
- **Full registry HTTP surface** — 64 tools across reads, writes, orgs, teams, hooks, provenance, trusted publishers, and ops health. Not just `npm view`.
|
|
21
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
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
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.
|
|
@@ -112,7 +112,7 @@ That's it. Now ask your AI assistant:
|
|
|
112
112
|
|
|
113
113
|
Use the same JSON block shown above in any of these.
|
|
114
114
|
|
|
115
|
-
## Tools (
|
|
115
|
+
## Tools (64)
|
|
116
116
|
|
|
117
117
|
### Search (1)
|
|
118
118
|
- **npm_search** — Search the npm registry with qualifiers (keywords, author, scope).
|
|
@@ -163,13 +163,14 @@ Use the same JSON block shown above in any of these.
|
|
|
163
163
|
- **npm_verify_token** — One-call capability check. **Call this first** when debugging write failures.
|
|
164
164
|
- **npm_user_packages** — Packages published by a user.
|
|
165
165
|
|
|
166
|
-
### Access & orgs (
|
|
166
|
+
### Access & orgs (7, requires NPM_TOKEN)
|
|
167
167
|
- **npm_collaborators** — Package collaborators and permissions.
|
|
168
168
|
- **npm_package_access** — Package access settings.
|
|
169
169
|
- **npm_org_members** — Org members and roles.
|
|
170
170
|
- **npm_org_packages** — Org packages.
|
|
171
171
|
- **npm_org_teams** — Org teams.
|
|
172
172
|
- **npm_team_packages** — Team package permissions.
|
|
173
|
+
- **npm_team_members** — Team members and roles.
|
|
173
174
|
|
|
174
175
|
### Workflows (2)
|
|
175
176
|
- **npm_check_auth** — Auth health check with headless publish feasibility.
|
|
@@ -234,7 +235,7 @@ Call `npm_ops_playbook` at the start of any session to get the up-to-date matrix
|
|
|
234
235
|
|
|
235
236
|
```
|
|
236
237
|
> "Compare fastify vs express vs koa for maintenance health"
|
|
237
|
-
→ npm_compare({
|
|
238
|
+
→ npm_compare({ packages: ["fastify", "express", "koa"] })
|
|
238
239
|
→ npm_health({ name: "fastify" }) // ...etc
|
|
239
240
|
```
|
|
240
241
|
|
|
@@ -276,7 +277,7 @@ Call `npm_ops_playbook` at the start of any session to get the up-to-date matrix
|
|
|
276
277
|
|
|
277
278
|
## Requirements
|
|
278
279
|
|
|
279
|
-
- Node.js
|
|
280
|
+
- Node.js 20+ (the CI matrix tests 20 and 22; `package.json` declares `engines.node: ">=20"`)
|
|
280
281
|
- (Optional) npm access token for write operations
|
|
281
282
|
|
|
282
283
|
## Contributing
|
package/dist/index.js
CHANGED
|
@@ -34210,7 +34210,7 @@ var writeTools = [
|
|
|
34210
34210
|
];
|
|
34211
34211
|
|
|
34212
34212
|
// src/index.ts
|
|
34213
|
-
var version2 = true ? "0.11.
|
|
34213
|
+
var version2 = true ? "0.11.7" : (await null).createRequire(import.meta.url)("../package.json").version;
|
|
34214
34214
|
var subcommand = process.argv[2];
|
|
34215
34215
|
if (subcommand === "version" || subcommand === "--version" || subcommand === "-v" || subcommand === "-V") {
|
|
34216
34216
|
console.log(version2);
|
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yawlabs/npmjs-mcp",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.7",
|
|
4
|
+
"mcpName": "io.github.YawLabs/npmjs-mcp",
|
|
4
5
|
"description": "npm registry MCP server — package intelligence, security audits, and dependency analysis for AI assistants",
|
|
5
6
|
"license": "MIT",
|
|
6
7
|
"author": "YawLabs <contact@yaw.sh>",
|