GOVCON MCP / DEVELOPER GUIDE
Connect your agent
to G2X.
The agentic context layer for GovCon. One hosted endpoint for G2X research and the account actions available to your assistant.
Quickstart
- Have a G2X account and review G2X plans. Choose a client that supports remote MCP over Streamable HTTP.
- Add
https://mcp.g2x.com/mcpas a remote MCP server. - Initialize the connection and discover schemas with
tools/list. - Complete your client's registered OAuth setup, sign in with G2X, then ask something like “Find federal cybersecurity opportunities.” Your client calls the appropriate tool.
This example shows the endpoint only. You also need the OAuth client ID registered for your client; get the correct setup from G2X support. Installing the agent skill does not connect or authorize your account.
{
"mcpServers": {
"govcon": {
"url": "https://mcp.g2x.com/mcp"
}
}
}Add the GovCon MCP skill for guidance on choosing tools, keeping citations and completing account workflows.
Tool discovery is available for client setup; every data or tool call requires an authenticated G2X account. The transport is stateless, so do not depend on a server session ID.
Authentication
Use G2X OAuth in clients that support it. Unauthenticated tool calls return HTTP 401 with a WWW-Authenticate header that links the OAuth protected-resource metadata. Follow the advertised authorization server's authorization-code flow with PKCE S256.
Use the OAuth registration for the client you are connecting. Claude Code, hosted Claude, ChatGPT and Cursor have different callback requirements. Contact G2X support for the correct client ID and setup. A G2X API key is not a replacement for this sign-in flow. Keep credentials in the client's connection settings, never in a URL or a prompt.
Every tool requires authentication. Your account determines access and allowances. Signing in never grants access to another account's watchlist, workspace or analysis.
Tool catalog
MCP tools/list is the authoritative source for input schemas, descriptions and annotations. Read the schema before constructing arguments. Record IDs must come from search results.
g2x_search_opportunities
Search opportunities by topic, agency, and NAICS.
g2x_search_records
Search government contracting records across supported datasets.
g2x_search_supplementary
Search SAM, state and local, DIBBS, and SBIR/STTR opportunities with supporting document passages.
g2x_opportunity_attachment_text
Return the complete text of an opportunity document on file, as Markdown or structured JSON, in exact chunks with a cursor to the next byte. Read one page instead when you ask for it.
g2x_get_record
Retrieve a record using its G2X identifier.
g2x_forecast_scan
Explore forecasts for upcoming procurement.
g2x_recompete_radar
Identify potential follow-on contract opportunities.
g2x_expiring_awards
Research awards approaching the end of their term.
g2x_search_companies
Search contractors by name.
g2x_get_graph_neighborhood
Explore a company's linked public records by UEI.
g2x_company_contract_history
Research a company's contract history.
g2x_teaming_partners
Research potential partners for your pursuit.
g2x_vehicle_usage
Explore use of a contract vehicle.
g2x_socioeconomic_status
Review a company's socioeconomic classifications.
g2x_search_events
Search upcoming conferences, industry days and agency events on the G2X calendar by topic, dates, state or format.
g2x_get_event
Review one event's dates, location, organizer, registration link, speakers and G2X page.
g2x_watch_records
Save records to your signed-in G2X account.
g2x_people_directory
Search discoverable member profiles within your G2X directory permissions.
g2x_company_signals
Find company news and social activity. Your G2X account access applies.
g2x_company_web_profile
Read public company profile information and posts. Your G2X account access applies.
g2x_opportunity_documents
List the documents on file for an opportunity with their readiness and version, without starting anything.
g2x_prepare_opportunity_documents
Open your workspace for an opportunity and prepare its documents for analysis.
g2x_shred_opportunity
Start a requirements extraction from selected documents.
g2x_qualify_opportunity
Start a qualification against your company profile.
g2x_compliance_matrix
Retrieve the compliance matrix from a qualification run.
g2x_get_analysis_run
Retrieve the status and results of your analysis run.
g2x_query
Filter and count procurement records, aggregate supported award measures, and open workbook results for larger queries.
g2x_nsn_lookup
Find an exact National Stock Number in the federal supply catalog.
g2x_nsn_search
Find federal supply items by description and supported classifications.
g2x_people_profiles
Find professional profile context within your account access and lookup allowance.
g2x_crm_find
Find accounts and contacts in your G2X CRM.
g2x_crm_get_record
Review an accessible account or contact before making a change.
g2x_crm_save_account
Create or update a company account in your G2X CRM.
g2x_crm_save_contact
Create or update a contact in your G2X CRM.
g2x_crm_add_note
Add the requested context to an accessible CRM record.
g2x_crm_log_interaction
Record a meeting or interaction in your G2X CRM.
g2x_crm_set_follow_up
Set the next follow-up on an accessible CRM record.
g2x_crm_add_task
Create a task linked to your CRM work.
g2x_usage
See how much of your G2X Lumen usage is used this session and this week, and when each resets.
Document formats and completeness
Ask for the complete document in Markdown, JSON or both. Markdown is for readable text; JSON preserves the supplied document structure. A page, excerpt or list of document names does not satisfy that request. Keep the document version, tables and citations with the result.
If your connection cannot return a complete artifact, use a supported source-document link. Do not present partial text as the full document or start analysis just to obtain it.
Capture workflow
- Find an opportunity and keep its record ID.
- Retrieve stored document content and existing analysis first. Keep each document's version and citations, and distinguish complete artifacts from excerpts.
- Use the user's chosen agent for new interpretation, qualification and drafting by default. Save requested outputs through supported G2X actions. Do not start hosted analysis merely to read documents or save work.
- Only if the user explicitly chooses G2X-hosted analysis, select the documents and use
g2x_shred_opportunityfor requirements org2x_qualify_opportunityfor company fit. Follow the connected tool schemas. - For a hosted run, poll
g2x_get_analysis_runwith the returned run ID. An accepted run is not a completed result. Retrieve the compliance matrix with the qualification run ID when its schema requires that identifier.
Make only the account changes the user asked for, and resolve an ambiguous target before acting. If a response is slow, resume the run by its existing ID instead of starting another.
Plans and usage
G2X pricing is the source for G2X plans and features. Sign in with your G2X account; its permissions apply to every tool. Your AI assistant or model subscription is separate.
The service applies usage and request limits. Each plan also sets a pace, a number of requests a minute, shared by all of your connections. Checking your usage or an analysis run's status does not count toward it. When a request goes past a limit, it returns HTTP 429 with a message that names the limit and when to try again, for example “You've reached your plan's limit of 30 requests a minute. Try again in 2 seconds.” Wait that long; repeating the request sooner will not increase your access.
Open your G2X account menu to check Lumen usage. An agent can report the balance only when its connection provides an account-usage capability. A request limit is not a price, and it is not a measure of your remaining Lumen usage. Do not estimate an account balance from the number of tool calls. Machine-readable access information.
When to add Tango
Use GovCon MCP to research markets, analyze opportunities and manage work in G2X. Add Tango by MakeGov when you need direct procurement data for your own software, data warehouse or custom analysis. Tango offers an API, SDKs and its own MCP connection.
G2X Professional members receive 50% off any Tango plan. Contact G2X support for help applying the member discount.
Errors & recovery
- 401: Reconnect using the authentication method configured in your client. For OAuth, check the client registration and callback with G2X support.
- 429: You reached a limit. The message says which one and when to try again; wait that long and do not retry in a loop.
- 503: G2X is busy right now. The request did not run; try again in a few seconds.
- Tool error: Inspect
isErrorand the returned message. Check the input schema, your access and the required preceding workflow step. - 405 on GET /mcp: Use MCP JSON-RPC POST requests with
Content-Type: application/jsonandAccept: application/json, text/event-stream. The endpoint is not a browser page.
When no record matches, refine the question instead of inventing a result. Use bounded retries and keep run IDs for analysis requests.
Machine discovery
- Agent skill manifest: complete package and file checksums
- llms.txt: product and documentation index
- llms-full.txt: complete text guide
- MCP server manifest: remote transport
- MCP server card: domain discovery
- API catalog: interface documentation
- Sitemap: public pages
Request the home page or this guide with Accept: text/markdown for the text version. Responses include Vary: Accept.
Versioning: the MCP handshake negotiates the protocol version. Tool schemas are discoverable at connection time, so review them when you upgrade your client.