uniform-sdk
Uniform SDK
Framework-agnostic developer reference for integrating Uniform into applications. Covers authentication, the Uniform CLI, routing via Project Map, and the content API clients used to read and write Uniform content from code.
Key principles
Always use MCP tools for content operations
CRITICAL: Never manipulate YAML or JSON files in the uniform-data folder directly. Always use the Uniform MCP tool for creating, modifying, or deleting components, content types, or any other Uniform entity. After making changes via MCP, run npm run uniform:pull to sync the latest state to disk.
Pin all Uniform packages to the same version
All @uniformdev/* npm packages in a project must use the same version. Mismatched versions cause hard-to-debug dependency conflicts and runtime errors. When installing or upgrading, ensure every Uniform package resolves to the identical version number.