# NİBGAT® Docs — Core-Complex Developer Documentation > Official developer portal (`https://docs.nibgat.space`) for the NİBGAT® Core-Complex platform: REST APIs, N - Auth SSO & OAuth 2.0 + PKCE, N - Git & OCI Container Registry v2, N - Font & CDN, `ncli`, `nmcp` (Model Context Protocol), CI/CD release-to-deploy pipelines, self-hosted runners, and official SDKs. ## Base URLs - **Developer Docs**: `https://docs.nibgat.space` - **Core Complex API Gateway**: `https://core.nibgat.space` - **N - Git & OCI Container Registry v2**: `https://git.nibgat.space` (API: `https://git.nibgat.space/api/v1`) - **N - Auth SSO Portal**: `https://nauth.nibgat.space` - **N - Char Identity Portal**: `https://nchar.nibgat.space` - **N - Mail Webmail**: `https://mail.nibgat.space` - **N - Font Typography CDN**: `https://fonts.nibgat.space` (`https://fonts.nibgat.space/ncore.css`) - **Media & Object CDN**: `https://cdn.nibgat.space` - **N - Buyment Commerce & Billing**: `https://buyment.nibgat.space` (Landing: `/`, Console: `/console`, API: `https://core.nibgat.space/nbuyment`) - **N - Cloud Infrastructure & Hardware**: `https://cloud.nibgat.space` (Landing: `/`, Console: `/console`, API: `https://core.nibgat.space/ncloud`) - **CLI Portal**: `https://cli.nibgat.space` - **MCP Portal**: `https://mcp.nibgat.space` - **NCore UI Kit 2.0 Docs**: `https://ncore.nibgat.space` (`https://ncore.nibgat.space/llms.txt`) - **Core-Complex Hub**: `https://nibgat.space` ## Standard API Response Envelope All Core-Complex and N - Git API responses follow a consistent JSON envelope: ```json { "isError": false, "code": 200, "message": "OK", "payload": {} } ``` ## Documentation Pages ### Overview & Architecture - [Overview](https://docs.nibgat.space/): Ecosystem map, services, base URLs, and quick-start navigation. - [Getting Started](https://docs.nibgat.space/getting-started): Base URLs, CSRF & Bearer headers, rate limits, pagination, and standard error codes. - [Architecture](https://docs.nibgat.space/architecture): Multi-service Core-Complex architecture, Zero-Trust boundary, TLS/HSTS, OCI Registry + S3 encrypted storage tiers, DNS & CDN layers. ### Authentication & Security - [Authentication](https://docs.nibgat.space/auth): N - Auth SSO cookies (`x-nauth-csrf: 1`), OAuth 2.0 + PKCE S256 (`/nauth/oauth/authorize`, `/nauth/oauth/token`, `/nauth/oauth/userinfo`, `/nauth/oauth/revoke`), TOTP/SMS/Email 2FA, N - Git PAT (`ngit_pat_*`), Scoped Runner Tokens (`ngit_run_*`), and Deploy Keys. - [Security](https://docs.nibgat.space/security): HMAC-SHA256 webhook verification (`X-NGit-Signature-256`), replay protection (`X-NGit-Timestamp` / `X-NGit-Delivery`), SSRF prevention, and AES-256-GCM local CLI credential vault. ### API Reference - [Core Complex API](https://docs.nibgat.space/api/core): N - Auth, N - Char, N - Notifier & Mail, Front & N - Support, Organization, and Static Data endpoints on `https://core.nibgat.space`. - [N - Git API](https://docs.nibgat.space/api/git): Profile, quota, organizations, teams, repositories, tree/blob/archive, commits, compare, branches, branch protection, collaborators, issues, pull requests, releases, webhooks, deploy keys, runners, deployments, PATs, SSH keys, and audit logs on `https://git.nibgat.space/api/v1`. - [OCI Container Registry](https://docs.nibgat.space/api/registry): Docker/OCI v2 login, build, push, pull (`git.nibgat.space//:`), repository listing, and tag deletion. - [N - Font & CDN](https://docs.nibgat.space/api/media): `https://fonts.nibgat.space/ncore.css`, Geist & JetBrains Mono WOFF2 preloads, and `https://cdn.nibgat.space` immutable media delivery. - [N - Buyment API](https://docs.nibgat.space/api/buyment): Public catalog, prepaid TRY wallet, cart & coupons, PayTR / Bank Transfer checkout, subscriptions, addresses, billing profiles, and official e-Fatura/e-Archive invoices on `https://core.nibgat.space/nbuyment`. - [N - Cloud API](https://docs.nibgat.space/api/cloud): Global regions (`tr-ist-1` live, 6 global regions coming soon), `NC - Pulse` / `NC - Rig` servers, `NC - Flux` serverless containers, `NC - Hive` clusters, `NC - Crate` / `NC - Lock` S3 & WORM, `NC - Safe` backups, `NC - Prism` / `Mesh` / `Route` networking, browser VNC, private S3 snapshots, audit logs, and `NC - Iron` & `NC - Forge` physical hardware orders on `https://core.nibgat.space/ncloud`. - [Webhooks & Payment Callbacks](https://docs.nibgat.space/api/webhooks): Constant-time HMAC-SHA256 PayTR callbacks and `Idempotency-Key` replay safety. ### `ncli` — Command-Line Interface (`@nibgat/ncli@2.0.9`) - [ncli Overview](https://docs.nibgat.space/cli): Install via `npm install -g @nibgat/ncli` and manage Core-Complex, N - Git, N - Mail, N - Support, N - Buyment, N - Cloud, Pipelines, and Runners from the terminal. - [ncli Auth](https://docs.nibgat.space/cli/auth): Zero-trust authentication (`ncli auth login`, `--browser`, `--token-stdin`, 2FA, AES-256-GCM local vault). - [ncli Commands](https://docs.nibgat.space/cli/commands): Full command reference (`health`, `profile`, `git` including `git pr` list/create/view/comment/close/reopen/merge and `git branches` list/create/delete, `mail`, `support`, `front`, `buyment`, `cloud`, `pipeline`, `runner`). - [ncli Pipelines](https://docs.nibgat.space/cli/pipelines): Client-side release workflow (`ncli pipeline init` with auto-detection for `web:build`/`build:web`/`build-doc` and `dist`/`website/dist`, `ncli pipeline validate`, `ncli pipeline release v1.0.0`). - [ncli Runner](https://docs.nibgat.space/cli/runner): Server-side runner provisioning (`ncli runner init`, `ncli runner install`, `ncli runner doctor`, systemd hardening, Nginx TLS reverse proxy). ### `nmcp` — Model Context Protocol Server (`@nibgat/nmcp@2.0.9`) - [nmcp Overview](https://docs.nibgat.space/mcp): Install via `npx -y @nibgat/nmcp` or `npm install -g @nibgat/nmcp`; exposes 60 MCP tools, shares encrypted credentials with `ncli`, and supports `--read-only` and authenticated `--http` (default port 3842). For NCore UI Kit projects, also supports the local `npx ncore-mcp` design-system MCP server. - [nmcp Setup](https://docs.nibgat.space/mcp/setup): Ready-to-copy JSON configurations for Antigravity, Claude Desktop, Cursor, OpenCode, and Windsurf. - [nmcp Tools & Resources](https://docs.nibgat.space/mcp/tools): Complete catalog of 60 MCP Tools (including `ngit_pulls_*` and `ngit_branches_*`), Resources (`nibgat://...`), Prompts, Zod validation, and secret redaction. ### CI/CD Pipelines & SDKs - [CI/CD Pipelines](https://docs.nibgat.space/pipelines): Release-to-Deploy architecture, Managed vs Self-Hosted Runner comparison, and HMAC webhook verification. - [.ngit-deploy.json Schema](https://docs.nibgat.space/pipelines/schema): Complete schema reference with Docker and static web deployment examples. - [SDKs & UI Kit](https://docs.nibgat.space/sdks): `ncore-ui-kit` v2.0 Beta (`2.0.0-beta.8`, 140+ components including 7 new components: `HUDBackground`, `PageHeader`, `MediaBanner`, `AuthGate`, `DiffViewer`, `EmbedFrame`, `PhoneInput`, plus `PageContainer` `backdrop`, `Card` `glass`/`hud`, `CodeViewer`, `CopyButton`, `spacious` standard, unified URL scheme allowlist, auto-secret `CreditCardInput`/`InputOTP`, strict Agent Bridge approval, safe `NAuthUserMenu` `isAutoFetchSession={false}` default + `isCompact`, AI skill `npx ncore-setup-skill`, local MCP server `npx ncore-mcp`, `@nibgat/ncore-agent`, `https://ncore.nibgat.space/llms.txt`), `core-complex-client` (`2.4.1+`, SSO Portal, OAuth 2.0 PKCE, `NBuymentClient`, `NCloudClient`), and `nauth-front` (`2.1.9+`).