Skip to content

GRO-107: Update MCP docs to recommend direct connection - #104

Open
myronkaifung with Copilot wants to merge 3 commits into
mainfrom
copilot/gro-107-update-mcp-docs
Open

GRO-107: Update MCP docs to recommend direct connection#104
myronkaifung with Copilot wants to merge 3 commits into
mainfrom
copilot/gro-107-update-mcp-docs

Conversation

Copilot AI commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

Docs for Cursor (OAuth) and Gemini CLI (OAuth + Service Accounts) were recommending npx mcp-remote as a stdio proxy. Both clients now support native HTTP transport, so the proxy is unnecessary.

Changes

  • Cursor OAuth: Replace command/args mcp-remote config with direct url field (consistent with the existing Cursor Service Accounts config)
  • Gemini CLI OAuth: Replace gemini mcp add mixpanel npx -y mcp-remote ... with gemini mcp add --transport http ...; settings.json uses httpUrl instead of command/args
  • Gemini CLI Service Accounts: Replace mcp-remote + env-based header injection with --transport http --header CLI flag and httpUrl/headers in settings.json

Before (Cursor OAuth):

{
  "mcpServers": {
    "mixpanel": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://mcp.mixpanel.com/mcp"]
    }
  }
}

After:

{
  "mcpServers": {
    "mixpanel": {
      "url": "https://mcp.mixpanel.com/mcp"
    }
  }
}

The mcp-remote reference in the "Building Custom Integrations" section is intentionally preserved — it remains relevant for developers building custom OAuth clients.

@linear-code

linear-code Bot commented Jul 17, 2026

Copy link
Copy Markdown

GRO-107

…d Gemini CLI

- Cursor OAuth: use direct `url` format instead of `npx mcp-remote`
- Gemini CLI OAuth: use `--transport http` and `httpUrl` instead of `npx mcp-remote`
- Gemini CLI Service Accounts: use `--transport http --header` and `httpUrl`/`headers` instead of mcp-remote with stdio args

Fixes https://linear.app/mixpanel/issue/GRO-107/update-mcp-docs-to-recommend-direct-connection
Copilot AI changed the title [WIP] Update MCP docs to recommend direct connection GRO-107: Update MCP docs to recommend direct connection Jul 17, 2026
Copilot AI requested a review from myronkaifung July 17, 2026 17:54
@mintlify

mintlify Bot commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
mixpanel-docs 🟢 Ready View Preview Jul 17, 2026, 5:57 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@myronkaifung
myronkaifung marked this pull request as ready for review July 28, 2026 23:15
@myronkaifung
myronkaifung requested a review from a team as a code owner July 28, 2026 23:15
@myronkaifung
myronkaifung enabled auto-merge (squash) July 28, 2026 23:17
Comment thread docs/mcp.mdx
@greptile-apps

greptile-apps Bot commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Confidence Score: 3/5

The invalid Gemini service-account authorization examples need to be corrected before merging.

Both changed Gemini examples instruct users to send ****** where the documented authentication contract requires Bearer Basic, causing copied configurations to fail authentication.

Files Needing Attention: docs/mcp.mdx

Important Files Changed

Filename Overview
docs/mcp.mdx Converts Cursor and Gemini examples to direct HTTP, but the Gemini service-account headers no longer contain the required authorization scheme.

Reviews (1): Last reviewed commit: "Merge branch 'main' into copilot/gro-107..." | Re-trigger Greptile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants