diff --git a/packages/vestige-mcp-npm/README.md b/packages/vestige-mcp-npm/README.md index f567ce0..2523cd4 100644 --- a/packages/vestige-mcp-npm/README.md +++ b/packages/vestige-mcp-npm/README.md @@ -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 diff --git a/packages/vestige-mcp-npm/package.json b/packages/vestige-mcp-npm/package.json index 966e1da..00f6f8c 100644 --- a/packages/vestige-mcp-npm/package.json +++ b/packages/vestige-mcp-npm/package.json @@ -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", diff --git a/packages/vestige-mcp-npm/scripts/postinstall.js b/packages/vestige-mcp-npm/scripts/postinstall.js index 4c301ad..43e0be7 100644 --- a/packages/vestige-mcp-npm/scripts/postinstall.js +++ b/packages/vestige-mcp-npm/scripts/postinstall.js @@ -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); diff --git a/packages/vestige-mcpb/.gitignore b/packages/vestige-mcpb/.gitignore new file mode 100644 index 0000000..3c57101 --- /dev/null +++ b/packages/vestige-mcpb/.gitignore @@ -0,0 +1,5 @@ +# Built bundles +*.mcpb + +# Downloaded binaries (fetched during build) +server/ diff --git a/packages/vestige-mcpb/README.md b/packages/vestige-mcpb/README.md new file mode 100644 index 0000000..53192a5 --- /dev/null +++ b/packages/vestige-mcpb/README.md @@ -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) +``` diff --git a/packages/vestige-mcpb/build.sh b/packages/vestige-mcpb/build.sh new file mode 100755 index 0000000..11b019b --- /dev/null +++ b/packages/vestige-mcpb/build.sh @@ -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." diff --git a/packages/vestige-mcpb/manifest.json b/packages/vestige-mcpb/manifest.json new file mode 100644 index 0000000..4f1e38b --- /dev/null +++ b/packages/vestige-mcpb/manifest.json @@ -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" + } + } + } + } +}