独立运营 · 不出售排名位置  · 我们怎么评估工具 →
Anclum 提交收录
F

f/mcp-startup-boilerplate

Rails template for a paid MCP server, with Stripe and OAuth

装之前:没有可直接复制的命令 · 许可证未标注 · 链接可访问

第一步:git clone https://github.com/f/mcp-startup-boilerplate mcp-startup

在 GitHub 查看 ↗链接已于 2026-11-12 核查 · HTTP 200 · 打开的是厂商自己的官网

我们没有从该仓库取到可核对的安装命令,也没有公开的远端端点。这两样都没有时,我们不出配置——编一条出来比不给更糟。 各客户端的接法 →

来源明细
收录自 abordage/awesome-mcp 榜单(我们从中收集的条目之一) · 条目类型:MCP 服务
收录与活跃
收录于 2026-11-05 · 最近见到 2026-11-14 · 共见到 10 次 · 被 10 个来源列出
评分构成
综合分 1,003 · 10 个来源 · mcp
常见问题(答案都来自我们的记录)
它适合谁 / 用来做什么?
我们把它归在这些标签下: MCP 服务。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
我们收录于 2026-11-05;最近见到 2026-11-14。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。

# MCP Startup Boilerplate v0.0.1

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

A robust, free, ready-to-use Rails boilerplate for building AI-powered applications that integrate seamlessly with Claude AI using the Model Context Protocol (MCP). This boilerplate includes user authentication and OAuth2 provider capabilities out of the box.
## 🚀 Features
User Authentication: Complete authentication system powered by Devise
OAuth2 Provider: Full OAuth2 server implementation with Doorkeeper
MCP Integration: Seamless Claude AI integration using fast-mcp
Payment Processing: Integrated Stripe payments for tools with subscription options
Modern Rails: Built on Rails 8.0.2 with the latest features
Tailwind CSS: Beautiful, responsive UI with Tailwind
Hotwire: Modern, fast frontend with Turbo and Stimulus
## 📋 Requirements
Ruby 3.2+
PostgreSQL
Node.js & Yarn (for frontend assets)
Stripe Account (for payment processing)
## 🔧 Setup
### 1. Clone the repository
bash
git clone https://github.com/f/mcp-startup-boilerplate mcp-startup
cd mcp-startup
### 2. Install dependencies
bash
bundle install
yarn install
### 3. Setup the database
bash
rails db:create db:migrate db:seed
### 4. Configure Stripe (optional for payment features)
Set your Stripe API keys in your environment:
bash
export STRIPEPUBLISHABLEKEY="pktestyourkey"
export STRIPESECRETKEY="sktestyourkey"
export STRIPEWEBHOOKSECRET="whsecyourwebhookkey"
For development, you can also update these in config/initializers/stripe.rb
### 5. Start the server
bash
rails server
Your application should now be running at http://localhost:3000
## 💳 Payment Integration
This application comes with built-in Stripe payment processing for MCP tools:
### Subscription Plans
Standard Plan: $0.03 per tool call with 40% savings compared to pay-as-you-go
Enterprise Plan: $0.03 per tool call with additional benefits and unlimited usage
### Pay-Per-Use Pricing
Default pricing: $0.05 per tool call (can be customized per tool)
### Payment Management
User-friendly subscription management interface
Detailed usage tracking dashboard
Tool usage history and analytics
## 🧰 Paid Tool Framework
The application includes a PaidTool base class that allows you to easily create tools that require payment:
ruby
class YourPaidTool < PaidTool
description "Your paid tool description"
# Custom pricing (optional, defaults to $0.05)
def pricecents
8 # $0.08 per call
end
def call
return { error: "User has no active subscription" } unless chargeuser
# Your implementation here after charge
end
end
### How PaidTool Works
1. When a tool is called, it first checks if the user has an active subscription
2. If subscribed, the tool executes and logs usage without additional charges
3. If not subscribed, the user is charged the tool's price via Stripe
4. All tool usage is tracked for analytics and billing purposes
### Extending PaidTool
You can customize pricing and behavior by:
Overriding pricecents to set custom pricing for specific tools
Creating different tool categories with varying price points
Adding tool-specific features for premium subscription tiers
## 🔒 OAuth2 Integration
This boilerplate comes with a complete OAuth2 server implementation powered by Doorkeeper. Key endpoints:
OAuth Authorization: /oauth/authorize
Token Endpoint: /oauth/token
收录徽章(可选)
想把收录标记放进 README 就复制这行,可选,不影响收录。
[![Listed on Anclum](https://anclum.com/badge/listed.svg)](https://anclum.com/zh/s/f-mcp-startup-boilerplate/)
来源
awesome · https://github.com/f/mcp-startup-boilerplate
按领域浏览
MCP 服务
收录来源
10 个独立来源
收录于
今天

同类推荐

全部 6,229 →

所属领域与标签

每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。

浏览全部领域 →

← 返回索引