Skip to content

feat(teams): repo restructure for personal + teams dual-edition architecture#321

Merged
Dumbris merged 3 commits intomainfrom
029-mcpproxy-teams
Mar 8, 2026
Merged

feat(teams): repo restructure for personal + teams dual-edition architecture#321
Dumbris merged 3 commits intomainfrom
029-mcpproxy-teams

Conversation

@Dumbris
Copy link
Contributor

@Dumbris Dumbris commented Mar 8, 2026

Summary

Establishes the foundational architecture for supporting two MCPProxy editions (Personal and Teams) from the same repository using Go build tags.

  • Build tag architecture: go build → personal (default), go build -tags teams → teams edition
  • Teams skeleton: internal/teams/ package with feature registry and init() registration pattern
  • Edition detection: Binary self-identifies in --version, startup logs, and /api/v1/status
  • Docker distribution: Multi-stage Dockerfile for teams server (distroless runtime)
  • Release workflow: Extended with teams Linux matrix entries + Docker GHCR push
  • Native tray placeholders: native/macos/ (Swift) and native/windows/ (C#) for future native apps
  • Spec updated: FR-039 through FR-044 covering build & distribution requirements

Distribution Matrix

Platform Personal Teams
macOS DMG (future Swift tray) Homebrew / binary
Windows MSI/EXE (future C# tray) N/A
Linux tar.gz Docker, .deb, tar.gz

Test plan

  • go build ./cmd/mcpproxy produces personal edition
  • go build -tags teams ./cmd/mcpproxy produces teams edition
  • mcpproxy --version shows "personal" / "teams" correctly
  • go test -tags teams ./internal/teams/... — 3/3 pass
  • go test ./internal/... -v — all pass (except pre-existing internal/server timeout)
  • ./scripts/run-linter.sh — 0 issues
  • ./scripts/test-api-e2e.sh — 61/71 pass (10 failures pre-existing)
  • Release workflow YAML validates
  • CI passes on this PR

claude added 2 commits March 6, 2026 21:45
Multi-user MCP proxy for teams of 2-50 people with identity provider
authentication, per-user workspaces, credential isolation, server
templates, and admin management.

8 user stories (P1-P8), 38 functional requirements, 10 success criteria.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…tecture [#29]

Establish build tag architecture to support two editions (personal and teams) from
the same codebase. Personal is the default build; teams requires -tags teams.

- Add edition detection via build tags (edition.go / edition_teams.go)
- Add teams feature registry (internal/teams/) with init() registration pattern
- Add edition to version output, startup logs, and /api/v1/status
- Add Dockerfile for teams server distribution (distroless runtime)
- Add Makefile targets: build-teams, build-docker, build-deb
- Extend release workflow with teams Linux matrix + Docker GHCR push
- Add native/ placeholder directories for future Swift/C# tray apps
- Add frontend/src/{views,components}/teams/ skeleton directories
- Update spec with FR-039 through FR-044 (build & distribution requirements)
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Mar 8, 2026

Deploying mcpproxy-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 1308259
Status: ✅  Deploy successful!
Preview URL: https://fdc9f8da.mcpproxy-docs.pages.dev
Branch Preview URL: https://029-mcpproxy-teams.mcpproxy-docs.pages.dev

View logs

@github-actions
Copy link

github-actions bot commented Mar 8, 2026

📦 Build Artifacts

Workflow Run: View Run
Branch: 029-mcpproxy-teams

Available Artifacts

  • archive-darwin-amd64 (24 MB)
  • archive-darwin-arm64 (21 MB)
  • archive-linux-amd64 (13 MB)
  • archive-linux-arm64 (11 MB)
  • archive-windows-amd64 (23 MB)
  • archive-windows-arm64 (21 MB)
  • frontend-dist-pr (0 MB)
  • installer-dmg-darwin-amd64 (26 MB)
  • installer-dmg-darwin-arm64 (24 MB)

How to Download

Option 1: GitHub Web UI (easiest)

  1. Go to the workflow run page linked above
  2. Scroll to the bottom "Artifacts" section
  3. Click on the artifact you want to download

Option 2: GitHub CLI

gh run download 22816933233 --repo smart-mcp-proxy/mcpproxy-go

Note: Artifacts expire in 14 days.

Comment out teams matrix entries and Docker build job in release workflow.
Personal edition releases are unaffected. Uncomment when teams MVP is complete.
@Dumbris Dumbris merged commit 00058fd into main Mar 8, 2026
41 checks passed
@Dumbris Dumbris deleted the 029-mcpproxy-teams branch March 8, 2026 10:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants