Overview
Connect your AI client to Avocado Legal
Avocado Legal is a private South African legal retrieval system. Your AI client connects through the MCP connector below — not through Dify uploads or direct database access.
https://avocado-mcp.scholtz.dpdns.org/sse
The connector uses Google sign-in. You must be on the operator allow-list before OAuth will succeed. If you are not yet approved, use the request access section below first.
Access
Request test-user access
Avocado Legal MCP is in private testing. To connect, an operator must add your Google account in two places:
- The VM
allowed-emailslist for MCP OAuth - Google OAuth test users (while the consent app remains in testing mode)
Send a request with:
- Your full name
- The Google email you will sign in with
- Which AI client you plan to use (Claude Desktop, Claude Code, Cursor, Codex, etc.)
- A one-line note on your intended use (e.g. litigation research, firm pilot)
Typical turnaround is manual — you will receive confirmation once your email is added.
Prerequisites
Before you install
- Your Google email is approved (see above)
- You have a supported MCP-capable AI client installed
Node.jsis available if your client needs themcp-remotebridge
Claude Desktop
Connector UI (recommended)
Claude Code
CLI setup
Run in your terminal (or paste into Claude Code as a setup prompt):
claude mcp remove avocado-legal -s local claude mcp add --transport sse --scope local avocado-legal https://avocado-mcp.scholtz.dpdns.org/sse claude mcp get avocado-legal
If Claude reports Needs authentication, complete the browser OAuth prompt when it appears.
Codex / Cursor / local agents
mcp-remote bridge
Use this when the client shows Auth unsupported for remote MCP OAuth. The bridge opens browser sign-in and exposes a local stdio MCP server.
{
"mcpServers": {
"avocado-legal": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://avocado-mcp.scholtz.dpdns.org/sse"
]
}
}
}
Codex users: add the same bridge to ~/.codex/config.toml:
[mcp_servers.avocado-legal] command = "npx" args = ["-y", "mcp-remote", "https://avocado-mcp.scholtz.dpdns.org/sse"] startup_timeout_sec = 60 tool_timeout_sec = 120
After connection
First verification prompts
Ask your AI: Use the Avocado Legal MCP connector and run legal_vector_stats.
Ask your AI: Search rules and procedures for urgent application requirements. Quote exact MCP-CHUNK passages before summarising.
Troubleshooting
Common issues
- OAuth denied / not on allow-list — request access above; wait for confirmation.
- Auth unsupported — switch to the
mcp-remotebridge config. - 401 in browser — normal for direct URL visits; test through your AI client instead.
- Tools not listed — restart the client after config changes; re-run OAuth.