Connect Claude Code or Codex
Configure Claude Code and Codex with your personal access token and automated installer.
Mios provides an automated installer that connects Claude Code and Codex to your team's memory in seconds.
Step 1: Create a personal access token
Before running the installer, generate a personal token:
- Sign in to https://app.mios-ai.com.
- Click your avatar and open Profile (
/pages/profile). - Scroll to the Personal Access Tokens section and click Create token.
- Copy the generated token immediately (it starts with
mios_pat_). Tokens are displayed only once for security reasons.
Step 2: Run the installer script
Open your local terminal and execute the following command:
sh
curl -fsSL https://app.mios-ai.com/install.sh | sh
The script performs the following setup steps interactively:
- Prompts for your personal token: Paste the token you generated in Step 1.
- Checks runtime dependencies: Checks whether Bun is installed on your machine and installs it automatically if missing.
- Registers MCP servers: Adds Mios to Claude Code and Codex using user scope, making Mios available across all your repositories.
- Installs lifecycle hooks: Configures the pre-edit, prompt context, and session stop hooks in your agent settings.
Step 3: Restart and test
After the installer script finishes:
- Restart your terminal application to ensure all environment paths and settings are reloaded.
- Navigate into any local git repository that is attached to a Mios project.
- Launch Claude Code or Codex:
sh
claude
- Submit a prompt asking about project decisions or guidelines. The agent will read context directly from your Mios workspace.