NPM Publisher MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| NPM_TOKEN | No | Optional NPM authentication token. Can be used instead of logging in with npm login. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| npm_validateB | Validate package.json and check prerequisites for NPM publishing |
| npm_login_statusB | Check NPM authentication status and logged-in user |
| npm_version_bumpB | Bump package version (patch, minor, or major) |
| npm_check_publishedC | Check if a specific version of the package exists on NPM |
| npm_publishC | Publish package to NPM registry |
| git_statusB | Check Git repository status (uncommitted changes, branch info) |
| git_create_tagC | Create a Git tag for the current version |
| git_commit_and_pushC | Commit changes and push to remote repository |
| publish_workflowA | Complete publishing workflow: bump version, commit, tag, and publish to NPM |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 9 tools
Each tool targets a distinct step (validate, login status, version bump, publish check, publish, git status, tag, commit/push). The only boundary blur is publish_workflow, which chains together npm_version_bump, git_commit_and_push, git_create_tag, and npm_publish that already exist as standalone tools, so an agent must decide between the composite and the granular path.
Tools follow a clear prefix_action convention with npm_ and git_ namespaces, which makes resource grouping obvious. The lone outlier is publish_workflow, which drops the prefix pattern, though its meaning remains clear.
Nine tools is well-scoped for a publish-workflow server, with each tool earning its place across npm and git concerns. Adding more would likely introduce redundancy rather than coverage.
The lifecycle is largely covered: validation, auth check, version check, bump, tag, commit/push, publish, plus a one-shot workflow. Minor gaps exist around unpublish, dist-tag/latest management, and scoped/registry selection, but agents can work around these.