Skip to main content

Overview

Use the remote oleander MCP server in OpenCode to connect your agent workflows directly to oleander.
Beta: MCP integration docs and workflow may change.

Prerequisites

Add the MCP server

Add the server:
opencode mcp add oleander --url https://oleander.dev/mcp

Authenticate

Complete the OAuth flow to authorize access with your oleander account:
opencode mcp auth oleander
OpenCode opens your browser for authorization and stores tokens in ~/.local/share/opencode/mcp-auth.json.

Verify

List configured MCP servers to confirm oleander was added:
opencode mcp list

Reset authentication

If you want to authenticate with a different org, log out and run the auth command again:
opencode mcp logout oleander
opencode mcp auth oleander
Alternatively, you can add the server manually in your OpenCode config (~/.config/opencode/opencode.json):
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "oleander": {
      "type": "remote",
      "url": "https://oleander.dev/mcp",
      "enabled": true
    }
  }
}
Then run opencode mcp auth oleander to authenticate.