Repository avatar
Other Tools
v0.1.1
active

vitruvian-desktop-relay-mcp

io.github.VitruvianSoftware/vitruvian-desktop-relay-mcp

Check on and control Vitruvian Desktop Relay on this Mac. Needs the vrelay connector installed.

Documentation

vitruvian-core

A Bazel monorepo for VitruvianSoftware's applications and the self-hosted platform that runs them.

vitruvian-core is a polyglot (TypeScript + Go) Bazel monorepo. It holds every first-party application, the Pulumi infrastructure that hosts them, the ArgoCD/GitOps definition of our self-hosted Kubernetes platform, and the tooling that ties it together. Each app is also mirrored one-way to its own repo in the VitruvianSoftware org via Copybara — but all development happens here.

New here? Read this page, then jump to the documentation hub — it routes you to a quick start for your role (app developer, platform engineer, operator, repo admin) and onward to the SDLC walkthrough, CONTRIBUTING.md (the day-to-day SOP), and the Guiding Principles (how we build, by app type).

Applications

AppTypeWhat it is
vitruvian-tabsSaaS web serviceBrowser tab-management product: a TypeScript API on Cloud Run, an MV3 browser extension, a web dashboard, and a CLI. The most mature deploy in the repo.
oauth-user-inspectorSaaS web serviceFull-stack OAuth/token inspector (React + Vite frontend + Express backend) served as one container on Cloud Run.
vitruviansoftware-devWebsiteThe public vitruviansoftware.dev Jekyll site. Edited here, exported to its standalone repo, which publishes it on GitHub Pages.
Vitruvian DevX CLICLI / developer toolLocal-dev orchestrator: provisions Lima VMs & devcontainers, ephemeral DBs/emulators, K3s clusters, and tunnel ingress.
Vitruvian HomelabCLI / developer toolDeclarative multi-node K3s homelab manager for macOS (Lima VZ).
vitruvian-slack-mcpAgent / MCP serviceSlack MCP server (dual-token; ~22 tools including Canvas CRUD).
vitruvian-codeAgent / MCP serviceTelegram bot + macOS menu-bar app that bridges chats to a local AI coding CLI.
vitruvian-atriumDesktop app (Vitruvian Atrium)macOS menu-bar utility hub (volume mixer, system monitor, app switcher, notch, capture). GPL-3.0-or-later fork, being renamed and refactored; not yet distributed.

Each application type has its own conventions — see the per-category playbook.

Platform & infrastructure

PathWhat it is
infrastructure/pulumi/Infrastructure as code (Go/Pulumi): per-app Cloud Run deploys, keyless deploy identities (Workload Identity Federation), this repo's own GitHub settings, and the bootstrap for the dev-local cluster.
packages/pulumi/Shared Pulumi library modules (library/) and foundation reference examples (examples/) consuming the library in-tree.
gitops/ArgoCD app-of-apps for the dev-local k3s homelab — Zitadel (IdP), Prometheus/Grafana/Loki/Tempo, CNPG, MinIO, Cilium, Envoy Gateway, sealed-secrets, cloudflared. Everything reconciles from git.
tools/The monorepo's own tooling: Bazel wrappers for Pulumi & GitOps, Copybara sync, OCI image rules.

Repository layout

.
├── apps/                            # Applications by tier (suites, web, cli, mcp, desktop, mobile, embedded)
│   ├── suites/vitruvian-tabs/       # Browser tab-management SaaS suite
│   ├── web/                         # Containerized web apps (oauth-user-inspector, backstage, gods-eye-view)
│   ├── cli/                         # Developer & platform CLIs (Vitruvian DevX CLI, Vitruvian Homelab)
│   ├── mcp/                         # Model Context Protocol servers (slack)
│   ├── desktop/                     # Native desktop applications (vitruvian-code, vitruvian-speaker, vitruvian-atrium)
│   ├── mobile/                      # Mobile apps (vitruvian-remote)
│   └── embedded/                    # Embedded firmware (vitruvian-deck)
├── packages/                        # Shared packages (packages/pulumi, design-system)
├── infrastructure/pulumi/           # IaC: Cloud Run, deploy identity, repo config, dev-local bootstrap
├── gitops/                          # ArgoCD app-of-apps (the self-hosted platform)
├── tools/                           # Bazel pulumi/gitops wrappers, Copybara, OCI
├── docs/                            # engineering guides, per-app docs, infrastructure, planning
├── .github/workflows/               # CI/CD, deploy, Copybara
├── AGENTS.md                        # guardrails for AI agents working in this repo
└── CONTRIBUTING.md                  # the developer SOP

Getting started

You'll need Bazelisk, Node 26.13.1 (pinned in .nvmrc), pnpm 10.20.0, Go, and — for cloud work — gcloud and gh. The full, exact setup is in CONTRIBUTING § Prerequisites & toolchain. Install Bazelisk as bazel: it provides the bazel command and pins the exact build via .bazelversion. The repo also declares a Bazel version range (bazel_compatibility in MODULE.bazel), so an out-of-range or non-Bazelisk bazel fails fast with a clear message instead of cryptic errors.

nvm use && npm install -g pnpm@10.20.0  # Node 26 + pnpm 10.20.0
bazel run //:doctor            # verify your toolchain has the right tools & versions
bazel build //...              # warms the remote cache
bazel test  //...              # full test sweep — what the merge queue runs

bazel run //:doctor checks the core toolchain; working on one app? bazel run //<app>:doctor checks that app's exact needs. Almost everything routes through Bazel, and bazel run //:tidy (gazelle + buildifier + formatters) is a required check — run it before every PR. This checkout may be shared across sessions/agents, so do isolated work in a git worktree.

Find your way

I want to…Start here
Understand the SDLC end-to-end (branch → PR → merge queue → deploy → release → promote)The SDLC
Change or maintain an existing appApp developer quick start, then the app's own README.md + CONTRIBUTING.md
Build a new appGuiding Principles (pick a category + hosting target) → onboarding checklist
Work on infrastructure / the platformPlatform engineer quick start
Operate, promote, or handle an incidentOperator quick start
Administer the repo (merge queue, CI, mirrors)Repo admin quick start
See every bazel run tool availableBazel targets & tools catalog
Understand what's not yet alignedApplication Alignment Gaps

How we build & ship (at a glance)

  • One build graph. Bazel (Bzlmod + Aspect rulesets) builds Go and TS; frontends and containerized web apps build via a Dockerfile or oci image, not Bazel. Work lands through the merge queue, never a local merge to the default branch.
  • Everything as code. Infrastructure, deploy identities, and this repo's own GitHub settings are Pulumi-managed; the dev-local cluster reconciles from git via ArgoCD (GitOps closed-loop — no click-ops). Infra ops run through bazel run //tools/pulumi:* and //tools/gitops:*, never ambient CLIs.
  • Keyless deploys. Cloud Run apps deploy via GitHub Actions Workload Identity Federation (no JSON keys), into a per-app GCP project, gated by a per-app GitHub Environment.
  • Secrets never live in git. Local dev uses gitignored files; CI injects the same values from pipeline secrets as env; app runtime secrets live in GCP Secret Manager; k8s secrets via sealed-secrets. See CONTRIBUTING § Secrets handling.
  • Edit here, mirror out. Apps sync one-way (monorepo → standalone repo) via Copybara — never edit a mirror.

The full rationale lives in the Guiding Principles; the honest current-state delta (and what to standardize first) is in the Alignment Gaps.

Documentation

docs/README.md is the hub — start there. Highlights:

The same tree renders as the Backstage TechDocs site (mkdocs.yml).

License

First-party code is MIT © 2026 VitruvianSoftware, with each app shipping its own LICENSE. License consistency across apps is tracked in the alignment gaps.

Exception: apps/desktop/vitruvian-atrium/ is a fork of a GPL-3.0-or-later project and stays GPL-3.0-or-later, including the files we add there. It is exempt from the MIT header checks, nothing outside it may depend on it, and distributing it requires publishing its source. See its UPSTREAM.md.

Subdirectories & System Boundaries

  • apps: Application packages by tier (suites, web, cli, mcp, desktop, mobile, embedded)
  • catalog: Curated tools list and distribution catalog
  • gitops: Declarative GitOps ArgoCD application suites and cluster manifests
  • infrastructure: Cloud and platform infrastructure as code (Pulumi / Go)
  • packages: Shared reusable libraries and foundation modules
  • tools: Repository tooling, build automation, and Bazel wrappers

Global Invariants

  • Bazel workspace hermeticity: all repository and development operations route through Bazel targets.
  • Monorepo single-source of truth: component mirrors in GitHub are downstream read-only replicas.
  • Version control isolation: secrets and credentials must never be committed to git.

Global Side Effects

  • CI/CD workflow triggers via GitHub Actions and automated merge queue progression.
  • Homelab Kubernetes platform state reconciliation via GitOps / ArgoCD.
  • Remote build and test caching interactions.

System Verification

  • Run: bazel test //...
MCPB
https://github.com/VitruvianSoftware/vitruvian-core/releases/download/vitruvian-relay-connector-v0.1.1/vitruvian-desktop-relay-mcp-0.1.1.mcpb
Install Command
# mcpb: https://github.com/VitruvianSoftware/vitruvian-core/releases/download/vitruvian-relay-connector-v0.1.1/vitruvian-desktop-relay-mcp-0.1.1.mcpb