Skip to main content

Start here — Development & Integration

Target Group: Developers, IT, Agencies, Cursor / Claude / MCP — not the editorial guide (which is located under the Navbar Editorial).

Documentation Guideline: Documentation Target Groups.


Architecture in 30 Seconds

LayerPathRole
Datapackages/database (Prisma)Schema, Migrations — write only via Dashboard
Coreapps/dashboardAPIs, Auth, Business Logic, only direct database access
Channelsapps/center-website, apps/digital-signage, apps/center-managerAPI clients to the Dashboard
Sharedpackages/ui, packages/ai-context, packages/wayfinding, …Reusability
MCPpackages/mcp-cockpit-os, packages/mcp-cockpit-remoteClaude/Cursor tools against APIs
Docscockpit-docs/This site

Deep Dive: Platform Overview · Maturity & Operation.


Repo Setup

# Monorepo Root — Node >= 22.13, pnpm
pnpm install
pnpm --filter dashboard dev # Dashboard locally
FilePurpose
README.mdRoot Overview
db_structure.mdSchema Reference (maintain after DB changes)
render.yamlDeployment Services
.cursor/rules/Cursor Rules (Documentation requirement, DB Safety, Next Routes, …)
scripts/check-next-dynamic-route-slugs.mjsMandatory before new API routes

APIs & Contracts (binding)

ContractWhen
Public Center Website APIv0, external frontends, public reads
AgencyOS IntegrationPartners, Magic Link, Content Push, Audit
WordPress PushPlugin Sync
Dashboard API Center ScopingSession, Roles, centerId
OpenAPI/openapi/agencyos-integration.yaml, /openapi/public-wayfinding-read.yaml
JSON/ai-integration/cockpit-api-capabilities.json

Gap analyses (internal): Public API Gap · Center Website Bundle.


MCP & AI Coding Tools

PackageTransportDocumentation
packages/mcp-cockpit-osStdio (Claude Desktop, Cursor)README
packages/mcp-cockpit-remoteHTTP (Claude Connector)Package README
packages/mcp-cockpit-os/V0_CUSTOM_INSTRUCTIONS.mdv0 Instruction Sources (Repo)

Env (Names, no values in documentation): COCKPIT_DASHBOARD_BASE_URL, COCKPIT_AGENCYOS_API_KEY, COCKPIT_ALLOW_CONTENT_PUSH, COCKPIT_MCP_HTTP_BEARER (Remote).

MCP Server Instructions refer to the Public API contract — keep Contract and MCP in sync with tool changes.

Editorial (Claude without code): Claude & MCP — different target group.


Extending the System — Typical Entry Points

ChangeWhere to Start
New Dashboard Menu / Moduleapps/dashboard/src/config/navigation.ts, lib/modules.tsNavigation Docs
New Public API Routeapps/dashboard/src/app/api/...one dynamic slug per level
Center Website Featureapps/center-website + possibly Public API
New 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 Overview.


MEC / Legacy (only for Migration)

Collapsed in the sidebar: CSS checklists, mec-import, mec-shared-components — not the entry point for new features.


Next Steps

  1. Getting Started
  2. Public API Contract
  3. Developer Guide — Overview
  4. For UI: mall-os-ui

Contact: sb@schickma.de

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