feat: add MCPB bundle and fix npm package distribution

Two distribution methods now available:

1. npm (for Claude Code / developers):
   npm install -g vestige-mcp-server
   claude mcp add vestige vestige-mcp -s user

2. MCPB (for Claude Desktop / one-click install):
   Download vestige-1.1.0.mcpb from releases, double-click

Changes:
- Renamed npm package to vestige-mcp-server (vestige-mcp was taken)
- Fixed postinstall to download binaries from GitHub releases
- Added vestige-mcpb package with manifest and build script
- Uploaded .mcpb bundle to v1.1.0 release

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Sam Valladares 2026-01-27 00:15:17 -06:00
parent a104219db2
commit ed6aeadb70
7 changed files with 117 additions and 5 deletions

View file

@ -7,7 +7,7 @@ Built on 130 years of cognitive science research, Vestige provides biologically-
## Installation
```bash
npm install -g @vestige/mcp
npm install -g vestige-mcp-server
```
This automatically downloads the correct binary for your platform (macOS, Linux, Windows) from GitHub releases.
@ -107,7 +107,7 @@ export FASTEMBED_CACHE_PATH="$HOME/.fastembed_cache"
Reinstall the package:
```bash
npm install -g @vestige/mcp
npm install -g vestige-mcp-server
```
### Embeddings not downloading

View file

@ -1,6 +1,6 @@
{
"name": "@vestige/mcp",
"version": "1.1.0",
"name": "vestige-mcp-server",
"version": "1.0.0",
"description": "Vestige MCP Server - AI Memory System for Claude and other assistants",
"bin": {
"vestige-mcp": "bin/vestige-mcp.js",

View file

@ -7,6 +7,7 @@ const os = require('os');
const { execSync } = require('child_process');
const VERSION = require('../package.json').version;
const BINARY_VERSION = '1.1.0'; // GitHub release version for binaries
const PLATFORM = os.platform();
const ARCH = os.arch();
@ -34,7 +35,7 @@ const target = `${archStr}-${platformStr}`;
const isWindows = PLATFORM === 'win32';
const archiveExt = isWindows ? 'zip' : 'tar.gz';
const archiveName = `vestige-mcp-${target}.${archiveExt}`;
const downloadUrl = `https://github.com/samvallad33/vestige/releases/download/v${VERSION}/${archiveName}`;
const downloadUrl = `https://github.com/samvallad33/vestige/releases/download/v${BINARY_VERSION}/${archiveName}`;
const targetDir = path.join(__dirname, '..', 'bin');
const archivePath = path.join(targetDir, archiveName);

5
packages/vestige-mcpb/.gitignore vendored Normal file
View file

@ -0,0 +1,5 @@
# Built bundles
*.mcpb
# Downloaded binaries (fetched during build)
server/

View file

@ -0,0 +1,38 @@
# Vestige MCPB
One-click installation bundle for Claude Desktop.
## For Users
1. Download `vestige-1.1.0.mcpb` from [GitHub Releases](https://github.com/samvallad33/vestige/releases)
2. Double-click to install
3. Restart Claude Desktop
That's it. No npm, no terminal, no config files.
## For Developers
### Building the bundle
```bash
# Install mcpb CLI
npm install -g @anthropic-ai/mcpb
# Download binaries from GitHub release
./build.sh
# Pack
mcpb pack
```
### Structure
```
vestige-mcpb/
├── manifest.json # Bundle metadata
├── server/ # Platform binaries (downloaded)
│ ├── vestige-mcp-darwin-arm64
│ ├── vestige-mcp-linux-x64
│ └── vestige-mcp-win32-x64.exe
└── vestige-1.1.0.mcpb # Final bundle (generated)
```

35
packages/vestige-mcpb/build.sh Executable file
View file

@ -0,0 +1,35 @@
#!/bin/bash
set -e
VERSION="${1:-1.1.0}"
REPO="samvallad33/vestige"
echo "Building Vestige MCPB v${VERSION}..."
# Create server directory
mkdir -p server
# Download macOS ARM64
echo "Downloading macOS ARM64 binary..."
curl -sL "https://github.com/${REPO}/releases/download/v${VERSION}/vestige-mcp-aarch64-apple-darwin.tar.gz" | tar -xz -C server
mv server/vestige-mcp server/vestige-mcp-darwin-arm64
mv server/vestige server/vestige-darwin-arm64
# Download Linux x64
echo "Downloading Linux x64 binary..."
curl -sL "https://github.com/${REPO}/releases/download/v${VERSION}/vestige-mcp-x86_64-unknown-linux-gnu.tar.gz" | tar -xz -C server
mv server/vestige-mcp server/vestige-mcp-linux-x64
mv server/vestige server/vestige-linux-x64
# Download Windows x64
echo "Downloading Windows x64 binary..."
curl -sL "https://github.com/${REPO}/releases/download/v${VERSION}/vestige-mcp-x86_64-pc-windows-msvc.zip" -o /tmp/win.zip
unzip -q /tmp/win.zip -d server
mv server/vestige-mcp.exe server/vestige-mcp-win32-x64.exe
mv server/vestige.exe server/vestige-win32-x64.exe
rm /tmp/win.zip
# Make executable
chmod +x server/*
echo "Binaries downloaded. Run 'mcpb pack' to create bundle."

View file

@ -0,0 +1,33 @@
{
"manifest_version": "0.2",
"name": "vestige",
"display_name": "Vestige",
"version": "1.1.0",
"description": "AI memory system built on 130 years of cognitive science. FSRS-6 spaced repetition, synaptic tagging, and local-first storage.",
"author": {
"name": "Sam Valladares",
"url": "https://github.com/samvallad33"
},
"repository": {
"type": "git",
"url": "https://github.com/samvallad33/vestige"
},
"license": "MIT",
"server": {
"type": "binary",
"entry_point": "server/vestige-mcp-darwin-arm64",
"mcp_config": {
"command": "${__dirname}/server/vestige-mcp-darwin-arm64",
"args": [],
"env": {},
"platform_overrides": {
"win32": {
"command": "${__dirname}/server/vestige-mcp-win32-x64.exe"
},
"linux": {
"command": "${__dirname}/server/vestige-mcp-linux-x64"
}
}
}
}
}