Zum Hauptinhalt springen

Start hier — Entwicklung & Integration

Zielgruppe: Entwicklerinnen, IT, Agenturen, Cursor / Claude / MCP — nicht die Redaktions-Anleitung (die liegt unter Navbar Redaktion).

Doku-Leitplan: Doku-Zielgruppen.


Architektur in 30 Sekunden

SchichtPfadRolle
Datenpackages/database (Prisma)Schema, Migrationen — nur über Dashboard schreiben
Kernapps/dashboardAPIs, Auth, Geschäftslogik, einziger direkter DB-Zugriff
Kanäleapps/center-website, apps/digital-signage, apps/center-managerAPI-Clients zum Dashboard
Sharedpackages/ui, packages/ai-context, packages/wayfinding, …Wiederverwendung
MCPpackages/mcp-cockpit-os, packages/mcp-cockpit-remoteClaude/Cursor-Tools gegen APIs
Dokucockpit-docs/Diese Site

Vertiefung: Plattform-Überblick · Reife & Betrieb.


Repo-Start

# Monorepo-Root — Node >= 22.13, pnpm
pnpm install
pnpm --filter dashboard dev # Dashboard lokal
DateiZweck
README.mdRoot-Überblick
db_structure.mdSchema-Referenz (nach DB-Änderung pflegen)
render.yamlDeployment-Services
.cursor/rules/Cursor-Regeln (Doku-Pflicht, DB-Safety, Next-Routes, …)
scripts/check-next-dynamic-route-slugs.mjsPflicht vor neuen API-Routen

APIs & Verträge (maßgeblich)

VertragWann
Public Center-Website APIv0, externe Frontends, öffentliche Reads
AgencyOS IntegrationPartner, Magic Link, Content-Push, Audit
WordPress PushPlugin-Sync
Dashboard API Center-ScopingSession, Rollen, centerId
OpenAPI/openapi/agencyos-integration.yaml, /openapi/public-wayfinding-read.yaml
JSON/ai-integration/cockpit-api-capabilities.json

Gap-Analysen (intern): Public API Gap · Center-Website Bundle.


MCP & AI-Coding-Tools

PaketTransportDoku
packages/mcp-cockpit-osStdio (Claude Desktop, Cursor)README
packages/mcp-cockpit-remoteHTTP (Claude Connector)Paket-README
packages/mcp-cockpit-os/V0_CUSTOM_INSTRUCTIONS.mdv0-Instruction-Quellen (Repo)

Env (Namen, keine Werte in Doku): COCKPIT_DASHBOARD_BASE_URL, COCKPIT_AGENCYOS_API_KEY, COCKPIT_ALLOW_CONTENT_PUSH, COCKPIT_MCP_HTTP_BEARER (Remote).

MCP-Server-Instructions verweisen auf den Public-API-Vertrag — bei Tool-Änderungen Vertrag und MCP synchron halten.

Redaktion (Claude ohne Code): Claude & MCP — andere Zielgruppe.


System erweitern — typische Einstiegspunkte

ÄnderungWo anfangen
Neues Dashboard-Menü / Modulapps/dashboard/src/config/navigation.ts, lib/modules.tsNavigation-Doku
Neue öffentliche API-Routeapps/dashboard/src/app/api/...ein Dynamic-Slug pro Ebene
Center-Website-Featureapps/center-website + ggf. Public API
Neues MCP-Toolpackages/mcp-cockpit-os/src/register-cockpit-tools.ts
Prisma-Schemapackages/databaseadditive Migration, db_structure.md
Website-Templateapps/center-website + Templates
WordPressTheme Development

Tutorial: Getting Started · Plugins: Plugin-Übersicht.


MEC / Legacy (nur bei Migration)

Eingeklappt in der Sidebar: CSS-Checklisten, mec-import, mec-shared-bausteine — nicht der Einstieg für neue Features.


Nächste Schritte

  1. Getting Started
  2. Public API-Vertrag
  3. Developer Guide — Übersicht
  4. Bei UI: mall-os-ui

Kontakt: sb@schickma.de

Nutzungsstatistik: Seitenaufrufe werden anonymisiert erfasst. Im Umami-Dashboard nach diesem Pfad filtern: /developer-guide/start-hier