Tvix

OpenCode

Connect Tvix to OpenCode via CLI setup. Add persistent memory to OpenCode for context-aware coding that remembers your preferences across sessions.

Run this command in your terminal

```bash theme={null}
npx -y tvix@latest --client opencode
```

This registers Tvix as an MCP server in OpenCode.

Authenticate with Tvix

```bash theme={null}
opencode mcp auth tvix
```

A browser window opens automatically for OAuth authentication.

Start using Tvix in OpenCode

Tvix is ready to use after authentication completes.

Next Steps

Bring Your Context

Import chat history, connect apps, and more.

Use Your Context

Chat with Memory, agent retrieval, and dashboard exploration.

Knowledge Wiki

Store factual knowledge alongside your memories.

Tvix MCP

See every MCP tool your agent can call.
Was this page helpful?