Complete reference for firebender.json configuration options
firebender.json
file must be located in the project root directory for project-wide configuration, or in ~/.firebender/firebender.json
for personal configuration.
string[]?
Array of glob patterns for files that Firebender should not analyze without explicit permission.
Example:
Object<string, ServerConfig>?
Configure Model Context Protocol (MCP) servers to provide custom tools for Firebender Agent.
string?
- The command to execute for the MCP server (required if url is not provided)string?
- The URL for HTTP-based MCP servers (required if command is not provided)string[]?
- Array of arguments to pass to the commandObject<string, string>?
- Environment variables to set for the MCP serverObject<string, string>?
- HTTP headers for URL-based serversstring?
Optional path to a file containing environment variables for MCP servers. Can be either a full path or a relative path from the project root.
Example:
(string | RuleConfig)[]?
Define guidelines for Firebender to follow when generating code. Can contain both global rules (strings) and path-specific rules (objects).
string
- A rule that applies to all filesstring | string[]?
- Optional glob pattern(s) to match file paths for specific rules. Can be a single pattern or an array of patterns.string[]
- Array of rules to apply only to matching filesstring | string[]
- Path(s) to files containing additional rules. Can be either a single path or an array of paths. Paths can be absolute or relative to the project root.CommandConfig[]?
Define custom commands that can be executed through Firebender’s interface. Commands are markdown files containing prompts or instructions for the AI.
string
- The name of the command as it appears in the UIstring
- Path to the command file. Supports ~
expansion for home directory, absolute paths, and relative paths (relative to project root for project config, ~/.firebender
for personal config)