All skills
implementing-mcp-tools
Expose a PostHog API endpoint as an MCP tool, from Django serializer through generated TypeScript handler.
- Part of PostHog/posthog
- 212 installs
- Developer Tools · Backend
When to use it
You've added or updated a PostHog API endpoint and now need agents to be able to call it as an MCP tool.
For example
You say
Use implementing-mcp-tools to expose the new alerts list and get endpoints in products/alerts as MCP tools, with proper descriptions and a HogQL system table.
You get
- YAML tool definitions
- Generated tool handlers
- HogQL system table
How it works
- Fix serializer field types and help_text first, since they flow into the generated tool's parameter descriptions.
- Tool names must be lowercase kebab-case, 52 characters or fewer, to fit client limits.
- Ship the API route before enabling the tool, or gate it behind a feature flag.
More Backend skills
See all- golang-pro19.8kWrites concurrent Go services with goroutines, channels, gRPC or REST, and profiles performance.
- php-pro16.4kBuilds modern PHP applications with strict typing, Laravel or Symfony, tests and REST or GraphQL APIs.
- cuopt-routing-api-python2.3kBuilds and solves vehicle routing, traveling salesman, and pickup-delivery problems in Python with cuOpt.
- cuopt-server-api-python2.2kStarts the cuOpt REST server and calls its endpoints from Python or curl.
Also in this pack
- react-doctor511Diagnoses and fixes React codebase health issues, including performance problems, security gaps and code quality.
- hogli267Explains the PostHog developer CLI and repo tooling for running, building, testing, and linting.
- clickhouse-migrations266Writes and modifies ClickHouse database migrations following project rules.
- survey-sdk-audit255Audits survey SDK features and version requirements, then implements survey changes across backend, UI, and SDKs.