Connect via CLI

Connect GovTribe MCP to your CLI tool of choice.

Option 1: Claude Code

Bash/Zsh:

API_KEY="your_actual_api_key_here"

claude mcp add-json govtribe "$(cat <<EOF
{
  "type": "http",
  "url": "https://govtribe.com/mcp",
  "headers": {
    "Authorization": "Bearer ${API_KEY}"
  }
}
EOF
)"

Fish Shell:

set -l API_KEY "your_actual_api_key_here"

set -l json (printf '{
  "type": "http",
  "url": "https://govtribe.com/mcp",
  "headers": {
    "Authorization": "Bearer %s"
  }
}' $API_KEY | string collect)

claude mcp add-json govtribe "$json"

Option 2: Gemini – CLI

This guide assumes you already have npm installedarrow-up-right and have created an API keyarrow-up-right under your GovTribe account.

Step 1: Install Gemini

Step 2: Add GovTribe MCP

Open Gemini's configuration file:

And append GovTribe's MCP server:

Last updated

Was this helpful?