Appearance
OpenAI
Responses API (API key)
Pass TKP as a remote MCP tool, with your Personal Access Token as a header:
json
{
"model": "gpt-5",
"input": "Search the knowledge base for ...",
"tools": [
{
"type": "mcp",
"server_label": "tkp",
"server_url": "{APP_URL}/mcp",
"headers": {
"Authorization": "Bearer <token>"
},
"require_approval": "never"
}
]
}require_approval controls whether the model must ask before calling a tool; set it per-tool or leave the default (approval required) while you're still trying things out.
ChatGPT (OAuth)
In ChatGPT, open Settings → Connectors → Create → Add custom connector and enter {APP_URL}/mcp as the MCP server URL. ChatGPT discovers that TKP requires OAuth and walks you through the authorization flow in a browser.