Skip to content

feat(init): add polar (Polar.sh) monetize provider (#17) - #25

Open
autosur00 wants to merge 1 commit into
RitualDev-Lab:mainfrom
autosur00:feat/add-polar-monetize-provider
Open

autosur00 wants to merge 1 commit into
RitualDev-Lab:mainfrom
autosur00:feat/add-polar-monetize-provider

Conversation

@autosur00

Copy link
Copy Markdown

Closes #17

Summary

Adds polar (Polar.sh) as a supported monetization provider option to mcp-builder-kit init --monetize <dodo|stripe|polar> across TypeScript and Python templates.

Changes

  1. CLI & Scaffolder Options:
    • Updated McpMonetizeProvider in src/types.ts to include "polar".
    • Updated CLI parser in src/cli.ts and help documentation.
  2. TypeScript Template:
    • Generates Polar.sh checkout link template (https://polar.sh/your-org/products/your_product_slug) and POLAR_ACCESS_TOKEN documentation.
  3. Python Template:
    • Configures default checkout URL and PROVIDER = "polar".
  4. Verification:
    • Added unit and scaffolding tests in tests/phase8-monetize-flag.test.ts.
    • All 119 unit tests passing cleanly (npm test).

@github-actions

Copy link
Copy Markdown

👋 Thanks for opening this Pull Request, @autosur00!

Thank you for contributing to MCP Builder Kit! ⚡

Here is what happens next:

  1. 🧪 Automated CI Tests: Our workflow is verifying build pipelines and TypeScript types.
  2. 🔍 Code Review: A maintainer from @RitualDev-Lab will review your changes shortly.
  3. 🌟 Contributor Recognition: Once merged, you'll be featured on our contributors list!

💡 Tip: Make sure your commits follow Conventional Commits and tests pass locally (pnpm test).

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add --monetize polar (Polar.sh) provider alongside Dodo Payments and Stripe

1 participant