Add the GovCon MCP to Hermes Agent with one command or a few lines in config.yaml, and sign in with your G2X account.
Hermes Agent is an open-source AI agent from Nous Research. You can run it in your terminal, in the Hermes Agent desktop app, or as a bot in chat apps such as Slack and Telegram.
This guide is for you if you use Hermes Agent and want it to work with G2X. When you're done, Hermes Agent can find opportunities, research companies and awards, read solicitation documents, and update your G2X watchlist, pipeline and CRM, all as your G2X account.
Hermes Agent connects to G2X at this address:
https://mcp.g2x.com/mcpIf you don't have Hermes Agent yet, install it. On Linux, macOS or WSL2, run:
curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bashOn Windows, run this in PowerShell:
iex (irm https://hermes-agent.nousresearch.com/install.ps1)You can also download the Hermes Agent desktop app from the Hermes Agent website.
If you already have Hermes Agent, update it first:
hermes updateCheck your version with hermes --version. Desktop app installs update from the app itself.
Choose one way. Both add a server named govcon that signs in with G2X's own registration. You can choose another name.
Run these in your terminal:
hermes config set mcp_servers.govcon.url https://mcp.g2x.com/mcphermes config set mcp_servers.govcon.auth oauthhermes config set mcp_servers.govcon.oauth.cimd falsehermes mcp login govconThe last command opens your browser so you can sign in (Step 3).
Open ~/.hermes/config.yaml and add G2X under mcp_servers:
mcp_servers: govcon: url: "https://mcp.g2x.com/mcp" auth: oauth oauth: cimd: falseSave the file. Then, in a new terminal window, run:
hermes mcp login govconUse a new terminal window, not a running Hermes Agent session: a running session waits only briefly, which may not be long enough for you to finish signing in.
cimd: false tells Hermes Agent to register with G2X directly. Keep it: without it, current Hermes Agent versions try a sign-in
method G2X does not use.
To connect without the tools that change your account, use the research address instead:
mcp_servers: govcon: url: "https://mcp.g2x.com/mcp/research" auth: oauth oauth: cimd: falseThis leaves out account-changing tools. It does not grant additional access to data.
Hermes Agent keeps your sign-in on your computer and renews it on its own. If it stops working, run
hermes mcp login govcon and sign in again.
If Hermes Agent runs on another machine, such as a cloud server, your browser can't send the sign-in back to it directly. Use one of these:
hermes mcp login govcon on the server. Open the sign-in link it prints in your
browser and sign in. Your browser then shows a connection error; that's expected. Copy the full address from the
browser's address bar and paste it where Hermes Agent asks for it.Do not paste tokens or credentials into a conversation.
Run:
hermes mcp test govconHermes Agent connects, lists the G2X tools it found, and exits with code 0 when the connection works.
Then start a chat:
hermes chatType /tools list to see the G2X tools. Hermes Agent shows each one with a mcp__govcon__ prefix, for example
mcp__govcon__g2x_search_opportunities.
Now ask a question:
Look up [Company Name or UEI] in G2X.
Hermes Agent should call G2X's company search, g2x_search_companies (shown as mcp__govcon__g2x_search_companies).
It may first call g2x_calibrate_session to read your company profile. G2X answers with links to its records, so
you can open the source behind an answer.
Each example below is from the GovCon MCP tool reference. The tool is the one G2X uses to answer it.
| Ask Hermes Agent | G2X tool | Changes your account? |
|---|---|---|
| "Find open cybersecurity opportunities at the VA due this quarter." | g2x_search_opportunities | No |
| "Summarize this company's federal contracts and which ones end in the next 180 days." | g2x_company_contract_history | No |
| "Which Army engineering contracts end in the next year, and which open notices could be their recompetes?" | g2x_recompete_radar | No |
| "List the solicitation documents and amendments on file for this opportunity." Then: "Read the whole statement of work for this opportunity as Markdown." | g2x_opportunity_documents, then g2x_opportunity_attachment_text | No |
| "Add this opportunity to my FY27 pipeline in the qualification stage." | g2x_add_to_pipeline | Yes |
A recompete match is not a confirmed recompete. See what you can ask for more.
To teach Hermes Agent everyday capture and business development work, add the GovCon skill.
Hermes Agent loads skills from ~/.hermes/skills/: download the skill as a ZIP
and copy the whole govcon-mcp folder there. Keep the references folder next to SKILL.md.
hermes -z answer says G2X tools are unavailable. Use hermes chat instead; tools can load a moment after start.hermes mcp test govcon and read what it reports. Check that the address is
https://mcp.g2x.com/mcp, not a G2X web page: an HTML reply means the address is a web page. Check that the server
isn't set to enabled: false and that a tools: include list doesn't leave G2X tools out. After you change
config.yaml, type /reload-mcp in Hermes Agent or start a new session.401. Your sign-in is missing or has ended. Run
hermes mcp login govcon from a new terminal window and sign in with your G2X account. If Hermes Agent runs as a bot in a
chat app, it can't open a browser for you: sign in once from a terminal and the bot picks up the new sign-in.429 when you reach a limit, 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. A 403 with not_entitled means your plan doesn't include that tool. See
the error guide.Still stuck? Contact G2X support with the error and the version of Hermes Agent you use. Do not include tokens or private document text.
401. Check that your G2X server has oauth: cimd: false (Step 2), then
run hermes mcp login govcon again. Without that line, current Hermes Agent versions use a sign-in method G2X does not accept.https://mcp.g2x.com/mcp/research. Those tools are not listed or
callable on the research connection.~/.hermes/mcp-tokens/govcon.json, readable only by your
user account on that computer. (From Hermes Agent's docs.)Review the G2X privacy policy and member guidelines.
Steps checked against Hermes Agent's MCP guide and MCP config reference.