Connect ChatGPT to Performance Hub
On this page
Instructions current as of 26 November 2026 (AEST). Vendor MCP support changes frequently - verify against the linked sources if something looks different.
ChatGPT can call remote MCP servers from the web (custom MCP plugins) and from Codex-backed surfaces that share ~/.codex/config.toml. Performance Hub's MCP server speaks Streamable HTTP at:
https://app.performancehub.co/mcp
Auth that works with ChatGPT
ChatGPT's custom MCP connector UI supports OAuth, No authentication, or mixed OAuth / no authentication. It does not offer a field for a static Authorization: Bearer header or x-mcp-api-key.
Performance Hub MCP keys are sent as Bearer or x-mcp-api-key headers. Those header-based keys are not usable in ChatGPT's connector form. Use Performance Hub MCP OAuth instead:
https://app.performancehub.co/mcp/.well-known/oauth-protected-resource
https://app.performancehub.co/mcp/.well-known/oauth-authorization-server
If your ChatGPT workspace cannot complete that OAuth flow, use a client that supports Bearer or x-mcp-api-key (for example Cursor, Claude, Claude Code, Grok Bot, VS Code Copilot, Windsurf, Gemini CLI, Codex CLI, Zed or Cline) and create a key at Create an MCP key.
ChatGPT on the web (custom MCP plugins)
Workspace permissions apply. Steps follow OpenAI's "Add custom MCP server" flow:
- Open ChatGPT on the web.
- Go to ChatGPT Plugins.
- Select the plus button, then Add custom MCP server.
- Enter a name such as
Performance Hub, and optionally a description. - Under Connection, set the Server URL to
https://app.performancehub.co/mcp. - Under authentication, choose OAuth (not "No authentication").
- Review the risk warning, select I understand and want to continue, then select Create as a plugin.
- Find the plugin in your personal plugins (or the workspace where you created it) and install it. In a conversation, type
@and select it.
Supported transports: SSE and streaming HTTP. Performance Hub uses streaming HTTP.
ChatGPT desktop app
The ChatGPT desktop app, Codex CLI and IDE extension share MCP configuration for the same Codex host (~/.codex/config.toml).
In the ChatGPT desktop app:
- Open Settings, then select MCP servers.
- Select Add server.
- Enter a name, choose Streamable HTTP, and enter
https://app.performancehub.co/mcp. - Save the server, then select Restart.
The server list shows which servers are enabled and which require OAuth. Select Authenticate when an OAuth server requires sign-in. In the composer, type /mcp to view connected servers.
Codex / shared config.toml
For Streamable HTTP with a Bearer token (this path does support Performance Hub MCP keys), edit ~/.codex/config.toml:
[mcp_servers.performance-hub]
url = "https://app.performancehub.co/mcp"
bearer_token_env_var = "PH_MCP_API_KEY"
export PH_MCP_API_KEY='<YOUR_TOKEN>'
Project-scoped overrides go in .codex/config.toml for trusted projects.
If you need x-mcp-api-key instead of Bearer:
[mcp_servers.performance-hub]
url = "https://app.performancehub.co/mcp"
env_http_headers = { "x-mcp-api-key" = "PH_MCP_API_KEY" }
For OAuth, omit the bearer token fields, then run:
codex mcp login performance-hub
You can also add a Streamable HTTP server with the CLI when you use OAuth client registration (as in OpenAI's docs), for example codex mcp add performance-hub --url https://app.performancehub.co/mcp. Then set bearer_token_env_var in config.toml if you use an MCP API key instead of OAuth.
See also OpenAI Codex CLI.
Verify
In ChatGPT on the web, attach the plugin with @ and ask it to list Performance Hub tools or run a read-only facility query. In the desktop app or Codex, confirm the server is enabled (/mcp or codex mcp list) and run a read-only request.
Sources
- OpenAI — Add custom MCP server: https://developers.openai.com/api/docs/guides/custom-mcp-server
- OpenAI — Connect and test your plugin: https://developers.openai.com/plugins/deploy/connect-chatgpt
- ChatGPT Learn — Model Context Protocol: https://learn.chatgpt.com/docs/extend/mcp
- ChatGPT Learn — Configuration reference: https://learn.chatgpt.com/docs/config-file/config-reference
- Performance Hub MCP: https://app.performancehub.co/mcp