Overview
CodeFire exposes your project data (tasks, notes, sessions, file tree) to AI coding tools via the CodeFireMCP server. Once configured, your AI agent has persistent memory and awareness of your work across sessions. The MCP server binary is located at:Supported CLIs
The easiest way to connect Claude Code is using the one-click installer in CodeFire. Alternatively, configure manually:
// ~/.gemini/settings.json
{
"mcpServers": {
"codefire": {
"command": "~/Library/Application Support/CodeFire/bin/CodeFireMCP",
"args": []
}
}
}
# ~/.codex/config.toml
[mcp_servers.codefire]
command = "~/Library/Application Support/CodeFire/bin/CodeFireMCP"
args = []
// ~/.opencode/config.json
{
"mcpServers": {
"codefire": {
"command": "~/Library/Application Support/CodeFire/bin/CodeFireMCP",
"args": []
}
}
}
Auto-Discovery of Projects
CodeFire automatically discovers all your Claude Code projects by scanning~/.claude/projects/. Each project directory name is decoded to resolve the original filesystem path.
How Project Discovery Works
- Scan ~/.claude/projects/ — CodeFire reads all directories in this folder
- Decode directory names — Claude encodes absolute paths by replacing
/,,., and-with-. CodeFire uses a backtracking algorithm to resolve the ambiguous encoding back to the original path - Import sessions — For each project, CodeFire indexes all
.jsonlsession files and parses token usage, tool invocations, and files changed - Update database — All projects and sessions are stored in
~/Library/Application Support/CodeFire/codefire.db
Supported Project Structures
CodeFire works with any project structure that Claude Code supports. It detects:- Package managers (npm, yarn, pnpm, bun, pip, poetry, cargo, etc.)
- Git repositories and branches
- Framework types (Next.js, React, Vue, Python, Rust, etc.)
- Build and test commands
Troubleshooting
MCP Server Not Found
Symptom: CLI reports “codefire server not found” or “command not found” Solution:- Verify the binary exists:
- Ensure it’s executable:
- Check your CLI config file has the correct path with proper escaping
Projects Not Auto-Discovered
Symptom: CodeFire home view shows no projects Solution:- Verify
~/.claude/projects/exists and contains project directories: - Open CodeFire settings (Cmd+,) → CodeFire Engine → toggle “MCP server auto-start”
- Restart CodeFire
- If projects still don’t appear, check that the project directories haven’t been deleted from disk
CLI Can’t Connect to MCP Server
Symptom: CLI starts but MCP tools aren’t available Solution:- Check CodeFire is running (the app must be open for the MCP server to respond)
- Restart your CLI session
- Check the MCP server logs in CodeFire (Settings → CodeFire Engine → View Logs)
- Ensure no other process is using the same MCP server name
Session Data Not Updating
Symptom: New Claude Code sessions don’t appear in CodeFire Solution:- CodeFire watches
.jsonlfiles with a 5-second debounce. Wait a few seconds after your session ends - Check Settings → CodeFire Engine → “Auto-snapshot sessions” is enabled
- Manually refresh the sessions view (click the refresh icon)
- Verify the
.jsonlfile exists in~/.claude/projects/<your-project>/
Next Steps
Gmail Integration
Sync emails to auto-create tasks
Workflows
Common workflows and best practices
