@spikeonstudio/negative-support-mcp
v1.0.2
Published
MCP server for the negative.support support-generation API (STL/OBJ/STEP)
Maintainers
Readme
negative-support-mcp
MCP server that exposes the negative.support support-generation workflow to compatible clients (for example Cursor). It wraps the official negative-support npm API described in the project documentation.
Repository: github.com/spikeon/negative-support-mcp
Requirements
- Node.js 18+ (ships with
npx; no separate install step for the MCP itself) - A negative.support license token (
ns_live_…) from negative.support after sign-in
Quick start (paste into MCP config)
You do not need to clone the repo or run npm install in this project. Use npx: it downloads dependencies into a cache the first time, then reuses them.
Put your real token in NEGATIVE_SUPPORT_TOKEN (or drop that block and use the negative_support_activate tool instead).
Install from GitHub (works today)
{
"mcpServers": {
"negative-support": {
"command": "npx",
"args": [
"-y",
"--package=github:spikeon/negative-support-mcp",
"negative-support-mcp"
],
"env": {
"NEGATIVE_SUPPORT_TOKEN": "ns_live_..."
}
}
}
}On Windows, if npx is not found, try "command": "npx.cmd" with the same args.
Install from npm (after you publish this package)
Once this package is published to npm as @spikeonstudio/negative-support-mcp (under the spikeonstudio npm org/user):
{
"mcpServers": {
"negative-support": {
"command": "npx",
"args": ["-y", "@spikeonstudio/negative-support-mcp"],
"env": {
"NEGATIVE_SUPPORT_TOKEN": "ns_live_..."
}
}
}
}Publishing is optional; the GitHub npx form above is enough for end users.
Releasing to npm (maintainers)
Pushes to main do not publish. A workflow runs npm publish when you push a version tag matching v*.
In npm, create an Automation access token (or Granular Access Token with publish permission for
@spikeonstudio/negative-support-mcp, or for all packages under the spikeonstudio user/org).In the GitHub repo: Settings → Secrets and variables → Actions → New repository secret → name
NPM_TOKEN, value = that token.On
main, setversioninpackage.jsonto the release you want (for example1.0.2), commit, and push.Tag and push (the tag must match the version you intend to ship, conventionally
v+ semver):git tag v1.0.2 git push origin v1.0.2
The workflow checks out the tag, runs npm ci, then npm publish (which runs prepublishOnly → npm run build). Each new version on npm must be unique; bump package.json before every release.
Why this works
dist/is committed so GitHub installs do not need TypeScript or a build step.npx -yruns thenegative-support-mcpbinary frompackage.jsonbin; npm installs this package’s runtimedependenciesautomatically.prepublishOnlyrebuildsdist/beforenpm publishso the registry tarball stays in sync with source.
Development (contributors)
git clone https://github.com/spikeon/negative-support-mcp.git
cd negative-support-mcp
npm install
npm run build
npm startOr with hot reload during development:
npm run devThe server uses stdio MCP and is meant to be started by an MCP host.
Tools
| Tool | Description |
|------|-------------|
| negative_support_activate | Activate the license for this process using your token. |
| negative_support_deactivate | Clear the active license locally (does not revoke the token). |
| negative_support_generate | Generate supports from a local STL, OBJ, STEP, or STP file; writes *_supports.stl and optionally a .3mf. |
negative_support_generate parameters
input_path(required): Absolute path to the model on the machine running this MCP server.output_stl_path: Optional; default is<basename>_supports.stlnext to the input.output_3mf_path: Optional; if set, writes a 3MF with model + support objects (similar to the CLI--3mfflag).format: Optionalstl|obj|step|stpif the extension is ambiguous.margin,angle,min_volume,skip_merge: Same meaning as in the official docs.
Resources
negative-support://docs: Short in-server summary; full reference remains at negative.support/docs.
License
MIT. This project is not affiliated with negative.support; it only integrates their published npm package and licensing model.
