Repository navigation
Conversation
Connect agents to Funnel's hosted MCP server at https://mcp.ai.funnel.io/mcp to list and load workspaces, find fields, query and re-slice cross-channel marketing data, and, with user approval, manage custom fields, exports, data sources, dashboards, portals, budgets, and scheduled tasks. Auth is OAuth 2.0 with PKCE against login.funnel.io. The authorization server has dynamic client registration disabled, so mcp.json pins Funnel's published public client ID (the one in Funnel's own Cursor setup snippet); the authorize endpoint accepts cursor://anysphere.cursor-mcp/oauth/callback for that client. Co-authored-by: Rohan Shah <rshah2020@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this adds
third_party/funnel: a plugin wrapping Funnel's official hosted MCP server athttps://mcp.ai.funnel.io/mcp(global region; EU users switch tomcp.eu.ai.funnel.ioper the README). Funnel is a marketing data hub covering Google Ads, Meta, TikTok Ads, LinkedIn Ads, Google Analytics, Microsoft Advertising, Shopify, HubSpot, and 600+ other platforms. Agents can list and load workspaces, find fields, query and re-slice cross-channel data, and, with user approval, manage custom fields, exports, data sources, dashboards, portals, budgets, and scheduled tasks.Files:
.cursor-plugin/plugin.json,mcp.json,README.md,CHANGELOG.md,LICENSE(MIT, same as other third-party plugins),assets/logo.png(Funnel's official green logomark SVG rasterized to 256×256 RGBA PNG with a transparent background). Marketplace entry and root README row tail-appended afterfolk.Tool list and behavior in the README come from Funnel's Quick start guide; no tools were invented.
Auth
The server requires OAuth. Funnel's authorization server (
login.funnel.io, Auth0) has dynamic client registration disabled, somcp.jsonpins Funnel's published public client ID4HiYmsg53mSStXa3UqfStADOhZ1tF6Y0viaauth.CLIENT_ID, exactly as Funnel's own Cursor setup snippet does (same shape as themeta-adsandxplugins). The PRM document also advertises thisclient_id. No secret is involved (token_endpoint_auth_methods_supportedincludesnone).Smoke test (from the VM, unauthenticated)
POST /mcp initialize→ clean HTTP 401, body{"error":{"code":-32001,"message":"Missing Bearer token"}}, headerWWW-Authenticate: Bearer error="invalid_token", resource_metadata="https://mcp.ai.funnel.io/.well-known/oauth-protected-resource/mcp"./.well-known/oauth-protected-resourceand/.well-known/oauth-protected-resource/mcp→ 200:resource=https://mcp.ai.funnel.io/mcp,authorization_servers=["https://login.funnel.io/"],scopes_supported=[openid, profile, email, offline_access],client_id=4HiYmsg53mSStXa3UqfStADOhZ1tF6Y0./.well-known/oauth-authorization-serverand/.well-known/openid-configuration) → 200: authorization code + refresh token grants, PKCES256supported,token_endpoint_auth_methods_supportedincludesnone, noregistration_endpoint,client_id_metadata_document_supported: true.POST https://login.funnel.io/oidc/registerwithredirect_uris=["cursor://anysphere.cursor-mcp/oauth/callback"]→ 400dynamic client registration is disabled. DCR did not accept the Cursor redirect because DCR is unavailable entirely.GET /authorize?client_id=4HiYmsg53mSStXa3UqfStADOhZ1tF6Y0&redirect_uri=cursor://anysphere.cursor-mcp/oauth/callback&code_challenge_method=S256&...→ 302 to Funnel's login page (accepted). A bogus redirect URI with the same client → 403Callback URL mismatch. So Cursor's desktop callback is registered on Funnel's client.tools/list, tool calls) was not tested without a Funnel user account.Validation
node scripts/validate-plugins.mjs→All plugins validated successfully.node scripts/generate-pstack-harness-trees.mjs --check→ up to date.Not done / caveats
cursor://redirect was verified against the pinned client; other Cursor redirect sets (web/cloud, Grok Bot) were not checked, since that would require knowing their callback URIs and they cannot be added to Funnel's client from our side.