Skip to main content

G2

G2's official MCP server lets agents read reviews, buyer intent, and product data as the person who signs in. The server is https://mcp.g2.com/mcp over HTTP. It is the G2 card with the Official badge.

G2 does not support dynamic client registration. A direct connection starts with an OAuth app in the G2 Developer Portal. Paste that app's client ID and secret into Willow. Each person then signs in with their own G2 account. Calls use that account's access. The server uses the G2 API rate limit of 100 requests per second. Past that, G2 blocks access for 60 seconds. See G2 MCP Server.

Before you start​

  • A G2 account that can see the data you want
  • Products registered on G2, when the data should be scoped to a product you own
  • The subscription and entitlements for that data. Market Intelligence requires an Enterprise package
  • Access to the G2 Developer Portal. If the organization slug is already taken, a G2 admin adds you to that organization

Set up G2​

  1. In Willow, go to MCP Servers → + Add MCP server, open the G2 card with the Official badge, and click + Use.
  2. Setup asks G2 to register Willow. That does not complete. Willow says Willow couldn't register itself with G2 and shows the redirect URL. Copy that URL. The same URL is on the server Setup tab:
    • SaaS: https://{org}.withwillow.ai/{org}/api/auth/callback
    • On-prem: {CONNECT_URL}/{org}/api/auth/callback
  3. In the Developer Portal, open OAuth Apps and select New OAuth App.
  4. Enter a name, a privacy policy URL, and a terms of service URL. Both URLs have to be public pages that load. A placeholder or a broken link can keep the app from being approved.
  5. Paste Willow's redirect URL. G2 matches it exactly. G2's sample clients listen on http://localhost:<PORT>/callback, and G2 limits http://localhost to local development. Willow's sign-in uses the URL from the Setup tab.
  6. Select Confidential. Willow stores the client secret.
  7. Under Permissions, select Read next to each endpoint this connection should use. An endpoint you leave unchecked stays unavailable. Then select Save.
  8. On the app, select Details and copy the Client ID and Secret. The Details panel also lists the scope names for the permissions you selected.

Set up Willow​

  1. Paste the Client ID and Client secret.
  2. Open Advanced settings and set Scopes. For your own OAuth app, Willow requests only the scopes in that list. An empty list sends no scope, and G2 rejects the sign-in. Include openid and profile. G2 requires both for authentication. Add the scope for each Read permission you selected. Copy the names from the app's Details panel. G2 publishes the set below.
  3. Click Check connection and sign in to G2. Assign groups and Publish.
ScopeWhat it allows
openidOAuth authentication. Required.
profileOAuth authentication. Required.
products.readProduct catalog
products.reviews.readProduct reviews
products.video_reviews.readVideo reviews
products.snippets.readProduct snippets
products.attachments.readScreenshots and downloads
product.badges.readProduct badges
ds_reviews.readData Solutions reviews
vendors.readVendors
questions.readProduct questions
buyer_intent.readBuyer intent
performance_analytics.readPerformance analytics (ROI)
g2_activate.readG2 Activate company-unlock data
g2_activate.writeUnlock companies with G2 Activate credits
research_boards.readResearch boards
research_boards.writeCreate, update, and delete research boards

Troubleshooting​

Willow couldn't register itself with G2. G2 has no dynamic client registration. Create the OAuth app above and paste the client ID and secret.

The redirect URL is rejected. Copy the URL from the Setup tab again. A localhost callback is for G2's local sample clients and does not match Willow.

"requested scope is invalid, unknown, or malformed." A requested scope is missing from this app. Open Details, keep only the scope names listed there, and include openid and profile.

401 after sign-in succeeds. G2 checks the access token with its token introspection endpoint. For an OAuth app that is not the MCP server's own app, G2 has to enable cross-application token introspection. Their docs say to contact the G2 platform team and ask them to confirm that for your app.

Sign-in returns to Willow without a state parameter. G2's docs say its OAuth server returns the authorization code and omits state. Willow's callback needs state to finish sign-in. No setting on the OAuth app changes that.

Additional Resources​