Skip to content

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

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

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 Resolved
@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

Comment thread docs/mcp.mdx
```bash
gemini mcp add mixpanel npx -y mcp-remote https://mcp.mixpanel.com/mcp \
--header "Authorization:Bearer Basic <base64-encoded-credentials>"
gemini mcp add --transport http --header "Authorization: ****** <base64-encoded-credentials>" mixpanel https://mcp.mixpanel.com/mcp

@Tofufu Tofufu Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be Authorization: Bearer Basic <base64-encoded-credentials>? @myronkaifung

@KimJ15

KimJ15 commented Nov 16, 2026

Copy link
Copy Markdown
Contributor

Closing this as stale. It was opened back in July and hasn’t had any activity since, so I’m tidying the backlog.

This isn’t a rejection. If you’d like to pick it back up, just reopen the issue!

@KimJ15 KimJ15 closed this Nov 16, 2026

This branch was successfully deployed

1 active deployment
staging — aef3fa96 Deployed Jul 28, 2026 by mintlify[bot]
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.

4 participants