Posthog
Description
Integrates with PostHog to enable querying analytics, errors, running SQL insights, and managing feature flags through natural language interactions.
Authorisation
To use this MCP server, you need API credentials in your environment.
Usage
Remote MCP servers are available in the Portia cloud dashboard.
After you have created your Portia account (↗), you can enable the server via the Portia cloud tool registry (↗). You will be requested to provide your API key when you enable the server.
Once enabled, set your Portia API key in your environment and the tools will be available to use in the DefaultToolRegistry
.
Listing the tools with the CLI:
$ PORTIA_API_KEY=<your-api-key> portia-cli list-tools
Using the DefaultToolRegistry
in your code:
from portia import DefaultToolRegistry, Portia, Config
config = Config.from_default()
portia = Portia(config=config, tools=DefaultToolRegistry(config))