Problem
The current AGENTS.md and README.md provide manual setup instructions. Users need to:
- Install Node.js v22 via their package manager
- Install Meteor via
curl
- Install MongoDB
- Run
meteor npm ci
- Install MCP server connectivity (API key generation, opencode config)
This is error-prone, especially since:
- Meteor has no MacPorts port on macOS — users must use the
curl installer and manually configure PATH
- Different OS/package manager combinations (Homebrew, MacPorts, apt, dnf, etc.) require different commands
- New contributors shouldn't need to read through docs to get started
- MCP onboarding requires browser console steps (find projectId, call generateApiKey, copy-paste key)
Proposed Solution
install.sh — automated, idempotent setup script that detects OS and package manager, installs Node.js v22, Meteor, and npm deps
mcp-install.sh — one-command MCP setup: detects running ViziQuer, auto-generates API key via localhost endpoint, configures opencode (jq merge)
POST /api/v1/mcp-install endpoint — localhost-only, auto-creates project if needed, generates API key, returns it
Files
| File |
Purpose |
install.sh |
Automated prereq install + meteor npm ci |
mcp-install.sh |
One-command MCP setup (auto key + opencode config) |
app/imports/platform/server/api_router.js |
Added POST /api/v1/mcp-install (localhost-only, auto project + key) |
Acceptance Criteria
Related
Problem
The current
AGENTS.mdandREADME.mdprovide manual setup instructions. Users need to:curlmeteor npm ciThis is error-prone, especially since:
curlinstaller and manually configurePATHProposed Solution
install.sh— automated, idempotent setup script that detects OS and package manager, installs Node.js v22, Meteor, and npm depsmcp-install.sh— one-command MCP setup: detects running ViziQuer, auto-generates API key via localhost endpoint, configures opencode (jqmerge)POST /api/v1/mcp-installendpoint — localhost-only, auto-creates project if needed, generates API key, returns itFiles
install.shmeteor npm cimcp-install.shapp/imports/platform/server/api_router.jsPOST /api/v1/mcp-install(localhost-only, auto project + key)Acceptance Criteria
install.shworks on macOS with MacPortsinstall.shworks on macOS with Homebrewinstall.shworks on Debian/Ubuntu (apt)mcp-install.shauto-generates API key with zero manual stepsmcp-install.shconfigures opencode ifjq+~/.config/opencode/opencode.jsonexistPOST /api/v1/mcp-installis localhost-only, auto-creates project if neededRelated