Connect to ChatGPT (API)
This guide walks you through connecting GovTribe MCP (Beta) to the ChatGPT API.
Difficulty Level: Advanced
Time to Integrate: ~15-20 Minutes
Best For: Developers
Prerequisites
You must create and sign in to an OpenAI account.
Once signed in, follow the official Developer Quickstart for OpenAI & obtain an OpenAI API key.
Obtain a GovTribe API key from support for use with the GovTribe MCP server.
GovTribe MCP is authenticated as a GovTribe user. Your GovTribe account permissions determine what data/tools are available.
Step 1 — Visit OpenAI Platform
Navigate to the OpenAI Platform create chat page.
Click
+ Addunder theToolsmenu, and selectMCP server

Step 2 — Configure MCP Server
Click
+ Serverin the pop upAdd the url
https://govtribe.com/mcp, create a label/description, and paste your API key


Step 3: Configure Available Tools
Confirm which tools you want enabled, scroll to the bottom, and press Add

Step 4: Test the MCP Server
You can now configure any prompts you'd like and test the GovTribe MCP as needed.

Step 5: Copy as Code Snippet
Navigate to the
three dot menuin the upper right hand corner, which opens a dropdownClick the
Codemenu option, and see your test prompt represented as API calls


Last updated
Was this helpful?
