跳转到内容

Connect to ChatGPT

此内容尚不支持你的语言。

This page is the ChatGPT app. ChatGPT connects to Agent Analytics as a custom MCP server in Settings. Add it once, then ask your first question.

The coding agent in ChatGPT is ChatGPT (Codex). That page starts with the Agent Analytics skill. Hosted MCP from the ChatGPT (Codex) CLI is an optional path there. Use this page when you are in the ChatGPT app.

  1. Open ChatGPT Settings and select Plugins under Integrations.
  2. Select Add, then Add MCP server.
  3. In Connect to a custom MCP, enter Agent Analytics as the name.
  4. For Type, select Streamable HTTP, enter the URL https://mcp.agentanalytics.sh/mcp, then save.
  5. Open the MCPs tab and make sure Agent Analytics is turned on. Select Authenticate next to the server, or complete the browser sign-in when prompted, and approve access. No account API key is required.
  6. Start a new conversation, type @ in the prompt box, and select Agent Analytics.

Then ask:

List my Agent Analytics projects, then show the overview for my-site for the last 7 days.

Replace my-site with a project from the returned list. Then ask questions tied to your product goals:

  • Which sources bring visitors who complete my activation event?
  • Where do sessions drop off before signup?
  • What changed in retention after our onboarding release?

Supported hosts can render interactive analytics views alongside model-readable results. Available tools and analyses depend on account permissions and plan. A successful tool response and a correctly rendered view are separate checks.

The MCP connection provides analytics and supported project or experiment operations. Changes to product code, tracking, and deployment belong to your coding environment or product team. Review and authorize requested write actions before they run.

  • Your ChatGPT account and workspace policy must allow custom MCP servers. If Plugins or Add MCP server is not available, your workspace may need Developer mode enabled. Ask your workspace administrator, or use ChatGPT (Codex) or the CLI in a suitable environment.
  • Use the Google or GitHub identity that owns your Agent Analytics projects when approving access.
  • Projects need real events before analytics can answer product questions. For a new project, follow Your first project and define events for the goals you want to measure.

Connecting ChatGPT to the hosted Agent Analytics MCP server lets you explore traffic, meaningful events, funnels, retention, session paths, and experiments from your conversation. You add it as a custom MCP server; Agent Analytics is not currently listed in the public OpenAI Plugins Directory.

For more detail, see OpenAI’s connect and test instructions. A custom MCP connection is separate from a published directory listing. If you already have a working connection, reuse it. After you approve, the connection appears under connected sessions in Agent Analytics Settings with the app name ChatGPT registered and the host it returns to.

  • No projects: confirm that you approved the correct Agent Analytics account. If the account is new, create a project and verify its first meaningful event.
  • Stale tools or views: open the MCPs tab in ChatGPT Plugins, select Refresh, then start a new conversation.
  • Authorization error: check the connection’s sign-in state and approve only the access you intend to grant.
  • Plan restriction: use an available analysis or review your plan. Another transport does not bypass account permissions or limits.
  • View missing: use the text and structured tool result while checking host support and connection metadata.

The bundled plugin package is also available for local testing through a marketplace. See the plugin repository and OpenAI’s local packaging instructions for authoring details. A locally tested package may differ from the public repository version.