Config File
Conjra uses cosmiconfig to discover configuration from your project.
Discovery order
Conjra searches for configuration in this order (first found wins):
conjra.config.tsconjra.config.jsconjra.config.jsonpackage.json(under"conjra"key)
Schema
interface ConjraConfig {
providers: string[];
mcpServerCommand?: string;
}providers
An array of provider names to pre-configure. Optional, defaults to [].
mcpServerCommand
A custom command path for the MCP server binary. Optional.
Examples
Minimal (package.json)
{
"conjra": {}
}With providers
{
"conjra": {
"providers": ["stripe", "supabase"]
}
}Using conjra.config.ts
export default {
providers: ["stripe", "supabase", "vercel"],
};Loading behavior
The loadConfig() function searches with cosmiconfig, validates with Zod, and returns parsed config or defaults. On failure, it returns { providers: [] } without throwing. The saveConfig() function exists as a stub and is not yet implemented.