Repository navigation
GRO-107: Update MCP docs to recommend direct connection - #104
myronkaifung with Copilot wants to merge 3 commits into
Conversation
…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
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
Confidence Score: 3/5The invalid Gemini service-account authorization examples need to be corrected before merging. Both changed Gemini examples instruct users to send Files Needing Attention: docs/mcp.mdx
|
| 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
| ```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 |
There was a problem hiding this comment.
Should this be Authorization: Bearer Basic <base64-encoded-credentials>? @myronkaifung
|
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! |
Docs for Cursor (OAuth) and Gemini CLI (OAuth + Service Accounts) were recommending
npx mcp-remoteas a stdio proxy. Both clients now support native HTTP transport, so the proxy is unnecessary.Changes
command/argsmcp-remote config with directurlfield (consistent with the existing Cursor Service Accounts config)gemini mcp add mixpanel npx -y mcp-remote ...withgemini mcp add --transport http ...; settings.json useshttpUrlinstead ofcommand/argsenv-based header injection with--transport http --headerCLI flag andhttpUrl/headersin settings.jsonBefore (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-remotereference in the "Building Custom Integrations" section is intentionally preserved — it remains relevant for developers building custom OAuth clients.