# MasiDyn & Primus > Multi-tenant sovereign AI developer platform and universal AI plugin/agent. Any user on any computer can connect any MCP-capable AI client to MasiDyn Primus via OAuth 2.1 + PKCE S256 with a $0.00 default metered spend cap. ## What MasiDyn & Primus Are - **MasiDyn (`https://masidyn.dev`)** is a multi-tenant developer platform providing OpenAI-compatible inference, OAuth 2.1 + OpenID Connect 1.0 identity (`https://account.masidyn.dev`), Remote MCP (`2025-11-25`), Agent Client Protocol (ACP v1), Cloud TypeScript/JSON LSP 3.17, and A2A v1.0 task delegation. - **Primus** is MasiDyn's universal multi-tenant AI plugin and optional local companion architecture. It works for any user on any computer across three modular, opt-in surfaces. ## How Any User on Any Computer Gets MasiDyn & Primus (3 Modular Surfaces) ### 1. AI Plugin / Remote MCP (Zero-Download Cloud Tools) Connect Claude, ChatGPT, Antigravity, Cursor, VS Code, or any MCP 2025-11-25 client directly over HTTPS using OAuth 2.1 + PKCE `S256`: - **Developer Portal MCP Endpoints:** - **Assemblus Swarm Stack MCP (Deterministic `lex -> type -> bind -> emit` Swarm Compiler + Netwurkus ACP/LSP/A2A Bus):** `https://masidyn.dev/mcp/assemblus` (Edge target: `https://masidyn.ai/assemblus/mcp`) - **Netwurkus Protocol Bus MCP (Canonical ACP · LSP · A2A · Board owner):** `https://masidyn.dev/mcp/netwurkus` - **Primus Actuator & Exec MCP (with Netwurkus tools + backwards-compatible `primus_*` aliases):** `https://masidyn.dev/mcp/primus` - **Cloud API MCP (includes `netwurkus_acp`, `netwurkus_lsp`, `netwurkus_a2a`):** `https://api.masidyn.dev/mcp` - **Cloudflare Edge MCP Endpoints:** `https://masidyn.ai/Primus/mcp` · `https://masidyn.ai/assemblus/mcp` - **Standalone OAuth 2.1 JSON-RPC Protocol Endpoints (owned by Netwurkus; callable directly as `netwurkus_*` MCP tools across `/mcp/assemblus`, `/mcp/netwurkus`, `/mcp`, and `/mcp/primus`, with `assemblus_*` aliases on `/mcp/assemblus` and `primus_*` backwards-compatible aliases on `/mcp/primus`):** - **ACP v1:** `https://masidyn.dev/acp/assemblus`, `https://masidyn.dev/acp/netwurkus`, & `https://masidyn.dev/acp/primus` (Edge: `https://masidyn.ai/assemblus/acp` & `https://masidyn.ai/Primus/acp`) — MCP tools: `netwurkus_acp` (aliases: `assemblus_acp`, `primus_acp`) - **TypeScript/JSON LSP 3.17:** `https://masidyn.dev/lsp/assemblus`, `https://masidyn.dev/lsp/netwurkus`, & `https://masidyn.dev/lsp/primus` (Edge: `https://masidyn.ai/assemblus/lsp` & `https://masidyn.ai/Primus/lsp`) — MCP tools: `netwurkus_lsp` (aliases: `assemblus_lsp`, `primus_lsp`) - **A2A v1.0:** `https://masidyn.dev/a2a/assemblus`, `https://masidyn.dev/a2a/netwurkus`, & `https://masidyn.dev/a2a/primus` (Edge: `https://masidyn.ai/assemblus/a2a` & `https://masidyn.ai/Primus/a2a`) — MCP tools: `netwurkus_a2a` (aliases: `assemblus_a2a`, `primus_a2a`) - **Key Assemblus, Netwurkus & Primus MCP Tools:** `assemblus_stack_inspect`, `assemblus_stack_compile`, `assemblus_stack_verify`, `assemblus_stack_list`, `assemblus_stack_delete`, `netwurkus_acp` (aliases `assemblus_acp`, `primus_acp`), `netwurkus_lsp` (aliases `assemblus_lsp`, `primus_lsp`), `netwurkus_a2a` (aliases `assemblus_a2a`, `primus_a2a`), `netwurkus_whoami`, `netwurkus_topology`, `netwurkus_board_*`, `primus_whoami`, `primus_topology`, `primus_list_devices`, `primus_exec`, `primus_exec_status`, `primus_board_*`, `primus_finger_workflows` (deterministic finger workflow trees with `action: "tree" | "resolve" | "execute" | "crystallize" | "reason" | "escalate" | "backtrack" | "grow" | "crazy_eddie" | "audit_oracles"` and `format: "json" | "beamtoon"`), `rememberus_learn`, `rememberus_recall`, `rememberus_seed_status`, `rememberus_sync` (REMEMBERUS / SecondBrain 3-ring cloud + local SQLite FTS5 model-seed vault with `secondbrain_*` aliases), `masidyn_chat`, `masidyn_list_models`, `masidyn_workspace_status`, `masidyn_marketplace_catalog`. - **REMEMBERUS (SecondBrain) Cloud Model-Seed APIs:** `GET/POST/DELETE https://masidyn.dev/api/rememberus`, `GET/POST https://masidyn.dev/api/rememberus/seed` (Ring 1 Global Seed + Ring 3 opt-in crystal promotion), `GET https://masidyn.dev/api/rememberus/export?format=json|markdown|beamtoon|sqlite-sql`. - **12 Praetor Cloud Model Wrappers (`/v1/models` & `/v1/chat/completions`):** `masidyn-shevaltra` (Gemini), `masidyn-gyn-solaxis` (OpenAI GPT), `masidyn-vorthrenax` (Cursor else xAI), `masidyn-sonnfaris` (xAI), `masidyn-ossia` (Anthropic), `masidyn-optharion` (Microsoft Copilot), `masidyn-veylith` (GitHub Copilot Violet), `masidyn-muse` (Teal / Meta, reconciled `vaelith` alias), `masidyn-deepseek` (DeepSeek), `masidyn-portaelis` (OpenCode), `masidyn-ferruvyn` (Cline), `masidyn-ternabrask` (Red / Open-Weight Cloud) — all with automatic Gemini placeholder fallback when unconfigured and optional `rememberus_seed: true` context injection. - **Primus Finger Workflow Trees (`GET /api/primus/workflows`):** `https://masidyn.dev/api/primus/workflows` (JSON) and `https://masidyn.dev/api/primus/workflows?format=beamtoon` (BEAMTOON). - **Separate Cursor & Grok Seat Adaptors + Hook-Storm Reporting (`GET /api/primus/adaptors`, `GET/POST /api/primus/hook-reports`):** Cursor Host Adaptor v1 (build order #1, strict Cursor `hooks.json` v1 JSON contract) + Grok / Sonnfaris Seat Adaptor v1 (build order #2, `cursor-hosted` and `grok-cli` modes) with secret-redacted hook-storm & unified-settings telemetry. - **Universal Plugin Manifest:** `https://masidyn.dev/primus-plugin/plugin.json` - **Plugin MCP Config:** `https://masidyn.dev/primus-plugin/.mcp.json` - **Plugin Skill Guide:** `https://masidyn.dev/primus-plugin/skills/masidyn-primus/SKILL.md` - **Quick `mcp-remote` bridge:** `npx -y mcp-remote https://masidyn.dev/mcp/primus` ### 2. Local Primus Exec Agent (Optional Download for Consented Local Execution) If you explicitly want your authenticated AI assistant to run bounded commands on your own computer, install the optional local agent: - **Windows (PowerShell):** `irm https://masidyn.dev/install-primus.ps1 | iex` - **macOS / Linux / WSL / Chromebook:** `curl -fsSL https://masidyn.dev/install-primus.sh | sh` - **Direct Python Client:** `https://masidyn.dev/clients/masidyn_primus_agent.py` Enable local execution with **dual-key local consent** (both OAuth scope approval and explicit local CLI flag): 1. `masidyn-primus login --allow-exec` 2. `masidyn-primus start --allow-exec --workspace ` ### 3. Primus Browser Extension (Optional Chrome / Edge MV3 Companion) An optional browser companion for structured, human-controlled browser assistance: - **Tab-group fenced:** operates strictly inside the user-created `MasiDyN` tab group only. - **Origin allowlist:** only interacts with origins you explicitly allow. - **One-click kill switch:** instantly halts all extension activity. - **Credential-field refusal:** refuses password, payment, and one-time-password (OTP) fields. - **Extension Manifest:** `https://masidyn.dev/primus-extension/manifest.json` - **Setup Guide:** `https://masidyn.dev/download#primus-extension` ## User-Protection & Safety Invariants - **OAuth 2.1 + PKCE `S256`:** Mandatory PKCE (`S256`), Dynamic Client Registration (RFC 7591), Client ID Metadata Documents (CIMD with SSRF protection), and Protected Resource Metadata (RFC 9728). - **RFC 8707 Audience Binding:** Access tokens are strictly audience-bound to the target Primus resource indicator. - **Rotating Refresh Tokens + RFC 9700 Reuse Revocation:** Single-use rotating refresh tokens automatically revoke the entire token family on replay; RFC 7009 instant revocation is supported. - **Strict Per-Tenant & Per-User Isolation:** Every workspace, board task, and connected device is strictly partitioned by verified tenant and user identity; cross-provider email auto-merge is prohibited. - **`primus:exec` Default-OFF + Dual-Key Local Consent:** Remote execution is disabled by default and requires both explicit OAuth `primus:exec` approval and the local `--allow-exec` runtime flag. - **Workspace Root Fence:** Local commands are confined to the `--workspace ` chosen by the user. - **Destructive Command Denylist:** Destructive system, partition, bootloader, and privilege-escalation commands are blocked locally before execution. - **Secret Redaction Before Egress:** API keys, bearer tokens, private keys, and credentials are scrubbed from stdout/stderr before leaving the user's computer. - **Immutable Local Audit Log:** Every local execution request, decision, and exit status is recorded locally for user inspection. - **$0.00 Default Metered Spend Cap:** Metered external spend defaults to `$0.00` unless explicitly unlocked by the human account owner. ## Canonical Links & Discovery - [Full AI Reference (llms-full.txt)](https://masidyn.dev/llms-full.txt) - [Primus Connector Manifest](https://masidyn.dev/primus-connector-manifest.json) - [Primus Finger Workflow Trees (JSON)](https://masidyn.dev/api/primus/workflows) - [Primus Finger Workflow Trees (BEAMTOON)](https://masidyn.dev/api/primus/workflows?format=beamtoon) - [Agent Discovery (.well-known/agent.json)](https://masidyn.dev/.well-known/agent.json) - [A2A v1.0 Agent Card (.well-known/agent-card.json)](https://masidyn.dev/.well-known/agent-card.json) - [Safety Policy (.well-known/safety-policy.json)](https://masidyn.dev/.well-known/safety-policy.json) - [Download MasiDyn & Primus](https://masidyn.dev/download#primus) - [Connect & OIDC Provider](https://masidyn.dev/connect) - [Documentation](https://masidyn.dev/docs)