Skip to main content

ChatGPT (OpenAI)

ChatGPT Integration

ChatGPT supports external tools through the Actions/Plugins system. For detailed configuration instructions, visit the official documentation.

Using Codex?

To connect the OpenAI Codex desktop app or CLI to the Timbr MCP server with OAuth, see the Codex guide.

To integrate Timbr:

Option 1: Custom GPT with Actions​

  1. Create a Custom GPT at chat.openai.com
  2. Go to Configure → Actions → Create new action
  3. Use the JSON link for the swagger.json OpenAPI schema from the link in the Timbr Swagger endpoint in your environment
  4. Configure Authentication:
    • Authentication Type: API Key
    • Auth Type: Custom Header
    • Header Name: x-api-key
    • API Key: Your Timbr API key (tk_...)

Option 2: Direct API Integration​

Use ChatGPT's function calling with the Timbr REST API directly (non-MCP) using a Timbr agent:

POST https://<your-timbr-server>/timbr/openapi/execute/prompt
Headers:
x-api-key: tk_your_api_key
agent: agent_name
Content-Type: application/json
Body:
{"prompt": "Show all customers"}

Use ChatGPT's function calling with the Timbr REST API directly (non-MCP) using an ontology:

POST https://<your-timbr-server>/timbr/openapi/execute/prompt
Headers:
x-api-key: tk_your_api_key
ontology: my_ontology
Content-Type: application/json
Body:
{"prompt": "Show all customers"}