Documentation Index
Fetch the complete documentation index at: https://docs.mains.dev/llms.txt
Use this file to discover all available pages before exploring further.
General
What platforms does Mains support?
What platforms does Mains support?
Which AI agents are supported?
Which AI agents are supported?
Do I need an API key?
Do I need an API key?
claude /login. For GitHub Copilot, you need an active Copilot subscription and GitHub CLI authentication (gh auth status). For OpenAI Codex, you need to authenticate via codex auth login.Where is my data stored?
Where is my data stored?
~/Library/Application Support/mains/mains.db on macOS. See the Privacy page for details.Workspaces
What happens when I create a workspace?
What happens when I create a workspace?
Can I run multiple agents at the same time?
Can I run multiple agents at the same time?
What happens when I archive a workspace?
What happens when I archive a workspace?
Connections
Which services can I connect?
Which services can I connect?
How are my credentials stored?
How are my credentials stored?
How often does data sync?
How often does data sync?
Troubleshooting
Claude Code agent is not available
Claude Code agent is not available
claude /login in your terminal to verify. Mains requires the Claude CLI binary to be accessible from your system PATH.GitHub Copilot agent is not available
GitHub Copilot agent is not available
gh auth status and ensure you have an active Copilot subscription. The Copilot CLI binary must be accessible from your system PATH.OpenAI Codex agent is not available
OpenAI Codex agent is not available
codex auth login in your terminal. The Codex binary must be accessible from your system PATH.Workspace worktree creation fails
Workspace worktree creation fails
git worktree list in your terminal to check existing worktrees, and git worktree prune to clean up stale entries.Agent run is stuck or unresponsive
Agent run is stuck or unresponsive
MCP server tools are not showing up
MCP server tools are not showing up
claude mcp add and verify with claude mcp list. Restart the workspace session after adding new servers.Synced issues are not appearing
Synced issues are not appearing
Database reset
Database reset
~/Library/Application Support/mains/mains.db and restart Mains. This removes all local data including workspaces, runs, and connection credentials.macOS security warning on first launch
macOS security warning on first launch
macOS Keychain prompt: "mains wants to use your confidential information"
macOS Keychain prompt: "mains wants to use your confidential information"
safeStorage API to encrypt sensitive data like connection tokens and API keys. macOS requires your permission before an app can access its own Keychain entry.- Click Allow to grant access for this session
- Click Always Allow to stop the prompt from appearing again
- Clicking Deny will prevent Mains from reading encrypted credentials, which may cause connection features to fail
