Skip to content

About

Thin MCP app catalog, zero-PII role hub, and onboarding service on mstack

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

mstack Hub

Single-tenant internal MCP App Store — app catalog, role bundles, zero-PII onboarding, and access requests for organizations running on markustripp/mstack.

Architecture overview & screenshots: mstack.mext.at · Core Rust MCP stack: mstack · Flagship CMS: Headcode CMS

Built in Rust (axum, rmcp 3.11 with skills-fs, native embedded turso 0.9, multi-issuer JWKS sub-only auth).

What it does (v0.1)

  • App Catalog (private -> public): Register internal mcp services, webapps, claude-apps (@ui-sdk/web), and external-mcp SaaS connectors with usage_md, app-defined roles, tags, and passive 60s /health checks.
  • Role Bundles & Overrides: Group apps + roles into bundles (e.g. marketing, engineering), assign bundles to users or one-time invites, and apply per-user allow/deny overrides with optional expires_in_hours (just-in-time access).
  • Zero-PII Onboarding & Access Requests: Identify callers strictly by (iss, sub). Onboard teammates with hashed one-time invite tokens (invite_create / invite_redeem). Team members see all public company apps, copy ready-to-run MCP commands via my_setup, and request missing access via access_request_create.
  • Optional mstack-auth Bridge: Exposes secret-guarded /internal/role and /internal/resources so mstack-auth can auto-discover internal MCP resources and embed the user's effective role into RFC 9068 access tokens. Standalone mstack services stay 100% standalone-compatible.

Quick start (local)

cargo run -- serve
# or seed sample apps & bundles first:
cargo run -- seed seed.example.json
node scripts/smoke.mjs http://127.0.0.1:3080/mcp

CLI

mstack-hub [serve | migrate
            | invite create <editor|admin> [label]
            | member add <iss> <sub> <editor|admin> [label]
            | bundle assign <iss> <sub> <bundle-slug> [label]
            | seed <seed.json>
            | backup <dest.db>]

Environment variables

  • MSTACK_URL — Public base URL (e.g. https://hub.example.com)
  • AUTH_ISSUERS — Comma-separated trusted OAuth 2.1 issuer URLs
  • MSTACK_HUB_SECRET — Shared secret for mstack-auth calls to /internal/role and /internal/resources
  • MSTACK_DATA_DIR — Data directory for hub.db and backups/ (default ./data)
  • MSTACK_SKILLS_DIR — Directory containing MCP skills (default ./skills)
  • MSTACK_EVENT_URL / MSTACK_EVENT_SECRET — Optional HMAC-SHA256 webhook receiver for outbox events

Ecosystem

License

MIT

About

Thin MCP app catalog, zero-PII role hub, and onboarding service on mstack

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages