runelay

runelay+PostHogIntegration · OAuth login

PostHog on Runelay, an open source MCP gateway

Connect PostHog once. Claude Code, Cursor, Codex and Grok all use that connection, and the credential never leaves your server.

What this connection does

Events, insights and feature flags. Runelay connects to the PostHog remote MCP server at https://mcp.posthog.com/mcp and puts its tools behind your own endpoint.

Agents find them with search_tools and run them with call_tool, so the PostHog tool list is not loaded into context until it is needed.

Connect PostHog

  1. Open the connectors in the panel

    Pick PostHog from the catalog.

  2. Log in once

    A browser tab opens on PostHog. Approve the access and close it.

  3. Done

    The token is stored encrypted on your server and refreshed by Runelay. Every agent with a Runelay key can use the connection.

Questions

Does my PostHog credential reach the agent?

No. It stays on your Runelay server, encrypted with AES-256-GCM using your RUNELAY_SECRET. Agents only hold their Runelay key.

Do I connect PostHog once per agent?

No. You connect it once in Runelay, and every agent that points at your endpoint uses the same connection.

I already have PostHog set up in an agent. Can I bring it?

Yes. runelay migrate reads the MCP servers your agents already have. If the CLI can read the token it arrives connected; otherwise it waits in the reconnect queue in the panel.

Try it on your machineFree and open source. Runs on your computer or your server.
Download runelayInstall on your server