This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
This is the documentation repository for WunderGraph Cosmo - a Full Lifecycle GraphQL API Management Solution for managing Federated Graphs at scale. The documentation is built using Mintlify and written in MDX format.
pnpm add -g mintlifycd docs
mintlify devThe development server will start and you can preview changes locally. All documentation content is in the /docs directory.
If the development server isn't running properly:
mintlify install- CLI (wgc) - Command-line interface for managing the platform
- Control Plane - Central management system with Platform API and Node API
- Router - GraphQL Federation router that handles request routing and response aggregation
- Studio - Web interface for management, monitoring, and analytics
- Federated Graph: Unified GraphQL schema composed of multiple subgraphs
- Subgraph: Individual GraphQL service that contributes to a federated graph
- Monograph: Single GraphQL service without federation
- Namespaces: Environment isolation for graphs (dev, staging, prod)
- Feature Flags & Feature Subgraphs: Toggle-able subgraph replacements for incremental rollout
- Schema Contracts: Filtered graph versions using @tag directives
- **Cosmo Streams / EDFS: Connects to event streaming systems like Kafka, NATS, and Redis to power event-driven, federated operations through real-time subscriptions.
/docs/
├── cli/ # CLI documentation (wgc commands)
├── studio/ # Studio web interface docs
├── router/ # Router configuration and features
├── federation/ # GraphQL Federation concepts
├── control-plane/ # Control Plane architecture
├── deployments-and-hosting/# Deployment guides
├── tutorial/ # Step-by-step tutorials
├── concepts/ # Core concepts and architecture
├── getting-started/ # Quick start guides
└── images/ # Documentation images by topic
/docs/docs.json- Mintlify configuration (navigation, theme, integrations)/docs/style.css- Custom styling- MDX files throughout - Documentation content
- Use MDX format for all documentation
- Place images in the appropriate
/docs/images/subdirectory - Follow the existing navigation structure in
docs.json - Include code examples where appropriate
- Link between related documentation pages
- Create an MDX file in the appropriate directory
- Add the page to navigation in
/docs/docs.json - Test locally with
mintlify dev
Edit the navigation array in /docs/docs.json to modify the sidebar structure.
- Place images in
/docs/images/[topic]/ - Reference in MDX:

Changes are automatically deployed when merged to the main branch. Pull requests generate preview deployments for review.