@mimikkai/opencode-mimikkai-connect
v1.0.2
Published
MimikkAi auth plugin for OpenCode — device authorization + LiteLLM gateway
Maintainers
Readme
MimikkAi Connect for OpenCode
OpenCode plugin for MimikkAi — device authorization flow + LiteLLM gateway integration.
Installation
opencode plugin @mimikkai/opencode-mimikkai-connectAuthentication
# Login via device authorization
opencode providers login --provider mimikkai-connect --method "Device Authorization"
# Or use the interactive flow
opencode auth loginA browser opens — confirm the displayed code. The plugin fetches your LiteLLM virtual key and syncs available models automatically.
CLI Commands
| Command | Description |
|---------|-------------|
| opencode plugin @mimikkai/opencode-mimikkai-connect | Install the plugin |
| opencode providers login --provider mimikkai-connect --method "Device Authorization" | Authenticate with MimikkAi |
| opencode providers logout mimikkai-connect | Remove stored credentials |
| opencode providers list | List configured providers |
Environment Variables
| Variable | Default | Description |
|----------|---------|-------------|
| LOG_LEVEL | warn | Set to debug for verbose logging |
| OPENCODE_CONFIG_DIR | ~/.config/opencode | Config directory path |
License
MIT License.
