Skip to content

[Feature] Add support for MCP serverΒ #8

@ahnopologetic

Description

@ahnopologetic

Describe the feature

Add support for parsing and generating tracking documentation from MCP (Measurement Collection Protocol) server sources. MCP is often used in custom tracking infrastructure to collect analytics events via HTTP endpoints, particularly in data-driven environments where teams manage their own pipelines outside of major vendors like Segment or Amplitude.

Support for MCP server would involve:

  • Recognizing and interpreting custom event payloads sent to an MCP endpoint
  • Mapping event structures to a unified schema format
  • Enabling CLI or API options to specify MCP log or endpoint inputs (e.g. .jsonl, .ndjson, or proxy logs)
  • Optional integration with OpenAPI/Swagger if MCP endpoints are defined in API specs

This would expand the scope of @flisk/analyze-tracking beyond SDK-based clients to server-based data collection strategies.

Describe alternatives you've considered

Considering the possibility that you want to keep this project as a simple CLI, we can create a new repository to do so.
However, it seems we can expose some public functions that would act as tools, off of this codebase. (e.g., listEvents, getEvent, addEvent, etc.)

Who will this benefit?

Me, future product engineers with AI-enhanced environment, e.g., Cursor, Windsurf, and so forth

Are you interested in contributing this feature?

Yes

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions