Skip to main content
Use this guide to connect an AI provider API, command-line tool, or other MCP client to Govly. To use Govly in the hosted Claude app, follow Connect to Claude instead.

Before you start

You need:
  • A Govly account with a paid seat. Enterprise API access is not required to connect.
  • A client that supports remote HTTP MCP servers.
  • A personal Govly API key if your client only accepts a static bearer token.
Use Govly’s remote MCP server URL:

Choose an authentication method

Govly supports two connection methods:
  • OAuth — recommended whenever your client supports it. You sign in to Govly in a browser, approve access, and let the client manage the connection.
  • Personal API key — use this when a client only accepts a static bearer token or authorization header.

Connect with OAuth

1

Add a remote MCP server

In your client, add a remote MCP server named Govly with the URL https://app.govly.com/api/mcp.
2

Sign in to Govly

Follow the browser prompt and sign in to your existing Govly account. Govly’s OAuth flow does not create new users.
3

Approve access

Review the authorization request and approve the connection.
4

Test the connection

Ask the client to list its Govly tools or try a small request such as, “What workspaces do I have in Govly?”
Clients that support OAuth discovery do not require a separate OAuth client ID or client secret. Manage OAuth connections under Govly Settings → API → Connected Apps.

Connect with a personal API key

A personal API key lets an external client access Govly as you. Store it in a secret manager or environment variable, never commit it to source control, and revoke it immediately if it is exposed.

Create a personal API key

1

Open API settings

In Govly, go to Settings → API → API Keys.
2

Create a personal key

Under Personal API Keys, select New key and name it after the client that will use it.
3

Copy and store the key

Copy the gk_... token immediately. It is only shown once.
You can keep up to two active personal keys at a time. Personal keys are tied to a specific user and must not be shared across users or systems.

Configure your client

Most MCP clients accept a configuration block like this:
The exact configuration format and location vary by client. Use your client’s secure secret or authorization-token setting when available instead of saving the key directly in a configuration file.

Connect through an AI provider API

When an AI provider API supports remote MCP servers:
  1. Add a remote MCP server named govly.
  2. Use https://app.govly.com/api/mcp as the server URL.
  3. Use your personal Govly API key as the server authorization token.
  4. Require approval for tool calls while you test the integration.
  5. Start with a low-risk request, such as listing Govly tools or running one opportunity search.
Provider request formats differ, so use the provider’s current remote MCP documentation for exact field names and approval settings.

Verify the connection

Send a JSON-RPC tools/list request with your personal key:
A successful response lists the Govly tools available to your account, including search_opportunities, search_awards, search_contacts, document_read, document_download, and list_workspaces.

Shared or service accounts

If your team needs a shared agent or service account, email support@govly.com with:
  • The requested display name and email address.
  • A short description of how the account will be used.
Do not reuse a person’s API key for a shared integration.

Multiple Govly organizations

OAuth connections and personal API keys are scoped to the Govly organization where they were authorized or created. To connect another organization, authorize a separate OAuth connection while viewing that organization or create a separate personal API key from it.

Manage personal keys

Personal-key connections do not appear under Connected Apps. Manage, rotate, or revoke them under Govly Settings → API → API Keys. After rotating a key, update every client that used the previous value.

Troubleshooting

Still stuck? Email support@govly.com with the client you’re using and any error messages you’re seeing.