0n3
MCP servers · Detect & Refine · MCP server

Connect Gemini CLI to Detect & Refine

One line gives Gemini CLI your Detect & Refine account as tools: 3 endpoints, track, grade, lookup grade, called with your own connection. No key in the prompt, a receipt for every call, revoke Gemini CLI's access alone any time.

Get the line for Gemini CLIConnect Detect & Refine first

Three steps

  1. Create a free 0n3 account and connect Detect & Refine. Paste a key or sign in; it lands in your vault, encrypted.
  2. Install 0n3 into Gemini CLI. Google's terminal agent. One command at user scope.
  3. Ask Gemini CLI: whoami. Then: "Track in Detect & Refine".
Install (user scope)
gemini mcp add --scope user --transport http 0n3 https://0n3.app/mcp -H "Authorization: Bearer <your 0n token>"

The line above carries a placeholder; 0n3.app/install mints a real key named for Gemini CLI and fills it in.

What Gemini CLI can then do in Detect & Refine

Track · Beacon ingestion — find-or-create dr_clicks row, upsert dr_sessions by uuid1
TrackPOST /api/track
Grade · Rule-based + Groq openai/gpt-oss-20b refinement, persists to dr_ai_scores1
GradePOST /api/grade
Lookup grade · Fetch latest grade for a session_id, click_id, or click_id_value0
Fetch latest grade for a session_id, click_id, or click_id_value
Rollup · Counts by grade, network, and crm_pipeline (sale/nurture/dead/x)0
Counts by grade, network, and crm_pipeline (sale/nurture/dead/x)
Export to sheet · Append graded rows to a Google Sheet via OAuth (composes with google_sheets)0
Append graded rows to a Google Sheet via OAuth (composes with google_sheets)
More · Everything else this app exposes.1
StatsGET /api/stats

Detect & Refine in other AI clients

Claude Code + Detect & RefineMCP server + skillClaude (desktop & claude.ai) + Detect & RefineconnectorChatGPT + Detect & Refineconnector · GPT actionCodex CLI + Detect & RefineMCP serverCursor + Detect & RefineMCP serverVS Code (Copilot) + Detect & RefineMCP serverWindsurf + Detect & RefineMCP server

Gemini CLI with other apps

Hostinger363 endpointsTelegram132 endpointsPipedrive95 endpointsResend67 endpointsSquare57 endpointsLinkedIn50 endpointsSlack45 endpointsFigma32 endpointsCloudConvert32 endpointseBay25 endpointsQuickBooks21 endpointsCloudflare21 endpoints