OpenCode

Add the Alviss AI MCP server to OpenCode in opencode.json, sign in with your Alviss AI account through opencode mcp auth, and check or remove the stored sign-in.

MCP only works for teams that the Alviss AI staff has enabled it for. See Availability.

Add the Server

Add the server under mcp in your OpenCode configuration. Use ~/.config/opencode/opencode.json to make it available in all projects, or opencode.json in the project root for that project only.

{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "alviss": {
      "type": "remote",
      "url": "https://api.alviss.io/v1/mcp",
      "enabled": true
    }
  }
}

Don't add an oauth block or an Authorization header. OpenCode finds the sign-in settings on its own.

Sign In

  1. Run:

    opencode mcp auth alviss
  2. Your browser opens. Sign in with your Alviss AI account and accept the requested access. See Authentication.

  1. To confirm that you're signed in, run:

    opencode mcp list

If you skip these steps, OpenCode asks you to sign in the first time it uses the server.

Sign Out

opencode mcp logout alviss

Troubleshooting

To check the sign-in status and the connection to the server, run:

opencode mcp debug alviss