Connect the G2 API
Integrate the G2 API through Modiva’s unified REST API and hosted MCP server. Read products, categories and reviews from the G2 software marketplace through one unified API and MCP server. OAuth, token refresh, rate limits and 7 typed tools are handled for you — connect once and call G2 from any agent or app through a single endpoint.
What you can do with the G2 API
- ✓ Products & categories
- ✓ Reviews & ratings
- — Buyer intent & market signals
- — Write operations
- — Webhooks (Poll via the product/review tools)
G2 MCP tools & scopes
- accounts_
- get · identity
- products_
- list · get
- categories_
- list · get
- reviews_
- list · get
OAuth scopes requested
- Read your G2 profile identity
- Read products and categories
- Read product ratings and reviews
- Read vendors
Connect G2 in your agent
# Add Modiva's MCP server to your agent
{
"mcpServers": {
"modiva": {
"url": "https://mcp.modiva.ai",
"headers": { "Authorization": "Bearer $MODIVA_MCP_KEY" }
}
}
}
# Then connect G2 and call its tools, e.g.
accounts_list(provider="g2")Frequently asked questions
How do I connect the G2 API with Modiva?
Create a Modiva account, generate an MCP key, and connect G2 from your dashboard. Modiva runs the full OAuth flow and stores the encrypted token for you — no client secrets in your code.
What can I do with the G2 API through Modiva?
Read products, categories and reviews from the G2 software marketplace through one unified API and MCP server. You get 7 typed tools grouped by resource (accounts_, products_, categories_, reviews_), callable over REST or the MCP server.
Do I need to handle OAuth or token refresh myself?
No. Modiva handles the G2 OAuth handshake, token storage (envelope-encrypted) and automatic refresh. You call a single unified endpoint.
Can an AI agent use the G2 API?
Yes — that is the point. Modiva exposes G2 as Model Context Protocol (MCP) tools, so agents like Claude, Cursor or your own app can read and act on G2 through one endpoint.
G2 playbooks & guides
Free, step-by-step playbooks on growing with G2 — what works, plus how to run it with Modiva.