74
/ 100
3 days ago
glama

mcp-plan-gate-example

Reference implementation for adding subscription-based gating to MCP endpoints, covering auth, plan entitlements, usage metering, and multi-tenant scoping.

Is this your MCP?

Claim it to get a verified publisher badge, a free copy of our full audit findings, and direct contact for any high-priority issues we find.

Install from

M8ven verifies MCPs across every public registry — install directly from whichever one you prefer.

// key findings
⚠️
Tests do not pass
Either the test suite is broken or the code regressed. Either way the published behaviour can’t be verified by the publisher’s own tests.
No credential exfiltration, no sensitive file access, no obfuscation
Static analysis found nothing flowing your secrets to unexpected places.
Open source with a license and README
Anyone can audit the code, the license is declared, and the publisher documents what it does.
🔐
You'll be asked for 2 credentials: STRIPE_SECRET_KEY, STRIPE_WEBHOOK_SECRET
These are read from process.env at runtime. Make sure you trust where they’ll be sent.
// required environment variables
This server reads these from process.env. You'll be asked to provide them before it can run.
configCHECKOUT_CANCEL_URL
configCHECKOUT_SUCCESS_URL
configDATABASE_PATH
configPORT
configSTRIPE_PRICE_ID_BUSINESS
configSTRIPE_PRICE_ID_PRO
🔐 secretSTRIPE_SECRET_KEY
🔐 secretSTRIPE_WEBHOOK_SECRET
// full audit trail
The full breakdown of what we checked, the deductions that landed, the network hosts, the dependency advisories, and concrete fix guidance is available to verified publishers.
// improvement guidance — verified publishers only
We have 2 concrete improvements we can share with the publisher of this MCP. Each comes with specific guidance to raise the trust score.
// embed badge in your README
[![M8ven Score](https://m8ven.ai/badge/mcp/techcodecrafter-mcp-plan-gate-example-01b769)](https://m8ven.ai/mcp/techcodecrafter-mcp-plan-gate-example-01b769)
commit: 6304c2764508a7ccba099b0476570fc161544534
code hash: 569f93c5dfced9c09946a5f0dc6823fbed0e5fff7654090708f8f6fce9a0fe04
verified: 7/28/2026, 9:05:47 AM
view raw JSON →