Find your next open-source project

Search by name, purpose, or keyword — or paste a GitHub repository URL
All skills

implementing-mcp-tools

Expose a PostHog API endpoint as an MCP tool, from Django serializer through generated TypeScript handler.

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.