Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions app/application/services/billing_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -1306,6 +1306,9 @@ def create_topup_checkout(
"line_items[0][price_data][product_data][description]": "Recarga de créditos de uso sobre tu licencia actual (misma clave).",
"client_reference_id": lic.id,
}
img = (getattr(settings, "TOPUP_PRODUCT_IMAGE_URL", "") or "").strip()
if img.startswith("https://"):
form["line_items[0][price_data][product_data][images][0]"] = img
if getattr(settings, "TOPUP_REQUIRE_TOS_CONSENT", False):
form["consent_collection[terms_of_service]"] = "required"
if settings.TOPUP_TAX_CODE:
Expand Down
1 change: 1 addition & 0 deletions app/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ class Settings(BaseSettings):
TOPUP_STRIPE_API_VERSION: str = "2025-03-31.basil" # managed_payments needs basil or later
TOPUP_RETURN_ORIGINS: str = "https://mcp.keyflint.dev,https://keyflint.dev"
TOPUP_DEFAULT_RETURN_URL: str = "https://mcp.keyflint.dev/saldo/"
TOPUP_PRODUCT_IMAGE_URL: str = "https://mcp.keyflint.dev/assets/brand/stripe-recarga-v1.png" # Checkout line-item image; "" disables
ADMIN_API_KEY: str = "kf_dev_admin_key_change_in_prod"

# Transactional Email Dispatch (Resend / SMTP)
Expand Down
Binary file modified docs/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 5 additions & 5 deletions docs/dpa.html
Original file line number Diff line number Diff line change
Expand Up @@ -116,11 +116,11 @@
text-align: center;
}
</style>
<link rel="icon" href="/favicon.ico?v=2" sizes="any">
<link rel="icon" type="image/svg+xml" href="/favicon.svg?v=2">
<link rel="icon" type="image/png" sizes="48x48" href="/icon-48.png?v=2">
<link rel="icon" type="image/png" sizes="192x192" href="/icon-192.png?v=2">
<link rel="apple-touch-icon" href="/apple-touch-icon.png?v=2">
<link rel="icon" href="/favicon.ico?v=3" sizes="any">
<link rel="icon" type="image/svg+xml" href="/favicon.svg?v=3">
<link rel="icon" type="image/png" sizes="48x48" href="/icon-48.png?v=3">
<link rel="icon" type="image/png" sizes="192x192" href="/icon-192.png?v=3">
<link rel="apple-touch-icon" href="/apple-touch-icon.png?v=3">
</head>
<body>
<div class="container">
Expand Down
Binary file modified docs/favicon.ico
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/guides/migrate-from-smithery.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<meta property="og:description" content="Direct install paths after the Smithery proxy shutdown, plus optional offline licensing for paid servers.">
<meta property="og:image" content="https://keyflint.dev/og.png">
<meta name="twitter:card" content="summary_large_image">
<link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect width='32' height='32' rx='6' fill='%230B0D17'/%3E%3Cpath d='M10 7v18M10 16l10-9M14 13l7 12' stroke='%23CCFF00' stroke-width='3.2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E">
<link rel="icon" type="image/svg+xml" href="/favicon.svg?v=3">
<script type="application/ld+json">{"@context":"https://schema.org","@type":"TechArticle","headline":"Migrating an MCP server off Smithery (and charging for it)","datePublished":"2026-11-04","author":{"@type":"Organization","name":"KeyFlint","url":"https://keyflint.dev/"},"image":"https://keyflint.dev/og.png","mainEntityOfPage":"https://keyflint.dev/guides/migrate-from-smithery.html"}</script>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/paid-mcp-server.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<meta property="og:description" content="License keys your users verify offline, per-call credits with automatic refunds, Stripe checkout. Self-hosted.">
<meta property="og:image" content="https://keyflint.dev/og.png">
<meta name="twitter:card" content="summary_large_image">
<link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect width='32' height='32' rx='6' fill='%230B0D17'/%3E%3Cpath d='M10 7v18M10 16l10-9M14 13l7 12' stroke='%23CCFF00' stroke-width='3.2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E">
<link rel="icon" type="image/svg+xml" href="/favicon.svg?v=3">
<script type="application/ld+json">{"@context":"https://schema.org","@type":"TechArticle","headline":"How to sell a paid MCP server: offline licenses + credit metering","datePublished":"2026-11-03","author":{"@type":"Organization","name":"KeyFlint","url":"https://keyflint.dev/"},"image":"https://keyflint.dev/og.png","mainEntityOfPage":"https://keyflint.dev/guides/paid-mcp-server.html"}</script>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
Expand Down
Binary file modified docs/icon-16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/icon-192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/icon-32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/icon-48.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/icon-512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 6 additions & 10 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
<link rel="alternate" type="application/rss+xml" title="KeyFlint Ecosystem Feed" href="https://keyflint.dev/feed.xml">
<script type="application/ld+json">{"@context":"https://schema.org","@type":"SoftwareApplication","name":"KeyFlint","alternateName":"KeyFlint Gateway","applicationCategory":"DeveloperApplication","operatingSystem":"Linux, macOS, Windows (Docker)","url":"https://keyflint.dev/","image":"https://keyflint.dev/og.png","description":"Self-hosted gateway for Ed25519 licenses verified offline and atomic, refundable credit metering for MCP servers, CLIs and APIs.","softwareHelp":"https://keyflint.dev/guides/paid-mcp-server.html","codeRepository":"https://github.com/ArceeDev/keyflint","sameAs":["https://github.com/ArceeDev/keyflint","https://www.npmjs.com/package/@keyflint/wrap","https://www.npmjs.com/package/keyflint-verify"],"featureList":"Offline Ed25519 signature verification (~0.12 ms), SQLite WAL atomic quota metering, Auto-refund circuit breakers, Stdio MCP server wrapper, Zero external network call-home","publisher":{"@type":"Organization","name":"KeyFlint","url":"https://keyflint.dev/"},"offers":[{"@type":"Offer","name":"Community","price":"0","priceCurrency":"USD"},{"@type":"Offer","name":"Indie (one-time)","price":"249","priceCurrency":"USD"},{"@type":"Offer","name":"Agency (one-time)","price":"499","priceCurrency":"USD"},{"@type":"Offer","name":"Founder (one-time, 50 units)","price":"299","priceCurrency":"USD"},{"@type":"Offer","name":"Pro (monthly, self-hosted)","price":"29","priceCurrency":"USD"}]}</script>
<meta name="theme-color" content="#0B0D17">
<link rel="icon" href="/favicon.ico?v=2" sizes="any">
<link rel="icon" type="image/svg+xml" href="/favicon.svg?v=2">
<link rel="icon" type="image/png" sizes="48x48" href="/icon-48.png?v=2">
<link rel="icon" type="image/png" sizes="192x192" href="/icon-192.png?v=2">
<link rel="apple-touch-icon" href="/apple-touch-icon.png?v=2">
<link rel="icon" href="/favicon.ico?v=3" sizes="any">
<link rel="icon" type="image/svg+xml" href="/favicon.svg?v=3">
<link rel="icon" type="image/png" sizes="48x48" href="/icon-48.png?v=3">
<link rel="icon" type="image/png" sizes="192x192" href="/icon-192.png?v=3">
<link rel="apple-touch-icon" href="/apple-touch-icon.png?v=3">
<!-- Social previews (HN, X, Reddit, Slack, Discord). English: launch audiences are English-speaking. -->
<meta property="og:type" content="website">
<meta property="og:site_name" content="KeyFlint">
Expand Down Expand Up @@ -406,11 +406,7 @@
<header>
<div class="container nav-inner">
<a class="logo" href="#" aria-label="KeyFlint, home">
<svg class="logo-mark" viewBox="0 0 20 20" aria-hidden="true">
<rect x="1" y="1" width="18" height="18" rx="4" fill="none" stroke="currentColor" stroke-width="1.6"/>
<circle cx="7.5" cy="10" r="2.6" fill="none" stroke="var(--brand)" stroke-width="1.8"/>
<path d="M10.1 10H15.5M13.5 10v2.6" stroke="currentColor" stroke-width="1.8" stroke-linecap="round"/>
</svg>
<svg class="logo-mark" viewBox="0 0 64 64" aria-hidden="true"><polygon points="20,5 44,3 36,16 4,29" fill="#E0FF4D"/><polygon points="44,3 59,19 49,24 36,16" fill="#CCFF00"/><polygon points="59,19 57,42 49,24" fill="#9FCC00"/><polygon points="57,42 38,61 30,46 49,24" fill="#8DB300"/><polygon points="38,61 13,55 30,46" fill="#9FCC00"/><polygon points="13,55 4,29 18,34 30,46" fill="#C2F000"/><polygon points="4,29 36,16 49,24 30,46 18,34" fill="#B5E300"/><g fill="none" stroke="#0B0D17" stroke-linecap="round" stroke-linejoin="round"><circle cx="21" cy="31" r="6" stroke-width="5"/><path d="M27 31H47M40 31v7M46 31v5" stroke-width="5"/></g></svg>
<span>KeyFlint</span>
<span class="logo-ver">1.2.0</span>
</a>
Expand Down
10 changes: 5 additions & 5 deletions docs/privacy.html
Original file line number Diff line number Diff line change
Expand Up @@ -125,11 +125,11 @@
text-align: center;
}
</style>
<link rel="icon" href="/favicon.ico?v=2" sizes="any">
<link rel="icon" type="image/svg+xml" href="/favicon.svg?v=2">
<link rel="icon" type="image/png" sizes="48x48" href="/icon-48.png?v=2">
<link rel="icon" type="image/png" sizes="192x192" href="/icon-192.png?v=2">
<link rel="apple-touch-icon" href="/apple-touch-icon.png?v=2">
<link rel="icon" href="/favicon.ico?v=3" sizes="any">
<link rel="icon" type="image/svg+xml" href="/favicon.svg?v=3">
<link rel="icon" type="image/png" sizes="48x48" href="/icon-48.png?v=3">
<link rel="icon" type="image/png" sizes="192x192" href="/icon-192.png?v=3">
<link rel="apple-touch-icon" href="/apple-touch-icon.png?v=3">
</head>
<body>
<div class="container">
Expand Down
Loading