RepoFuse
com.repofuse由 repofuse.com 发布官方发布者v0.3.0更新于 Oct 27, 2026
Discover and scaffold new apps by reusing code from your GitHub repositories.
概览
RepoFuse 用 AI 扫描你的 GitHub 仓库,找出可复用文件并推荐能据此搭建的应用,附带蓝图与脚手架。
- 可以做什么
- 列出并选择已连接账号可访问的 GitHub 仓库
- 对仓库文件做 AI 分析,识别用途、导出内容与可复用性
- 发现应用蓝图,说明哪些现有文件可复用、哪些还缺失
- 为缺失部分生成脚手架与缺口报告
- 根据蓝图在 GitHub 上创建新仓库(Pro)
- 适用场景
- 适合希望让助手挖掘自己 GitHub 代码中的可复用组件,并据此产出具体应用构想、蓝图或起步脚手架的开发者,而不是从零开始搭建。
- 运行要求
- 使用 repofuse.com 上受 OAuth 保护的 Streamable HTTP 远程端点,需要 RepoFuse 账号并通过 GitHub App 授权连接 GitHub。自建 stdio 版本需要 GITHUB_TOKEN 以及 AI 服务密钥(如 AI_GATEWAY_API_KEY、VERCEL_OIDC_TOKEN 或 ANTHROPIC_API_KEY)。托管使用受套餐、额度与速率限制约束。
安装
在 SourceWeft 中
- 打开 控制台中的 RepoFuse,将其添加到工作区。
- 连接 所需的 凭据。它们会被私密存储,绝不会在公开页面上展示。
- 为需要使用其工具的对话启用该服务。
Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。
交给智能体安装
把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。
阅读 https://sourceweft.com/mcp/com.repofuse%2Frepofuse/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。其他 MCP 客户端
把它添加到你客户端的 mcpServers 配置中。 客户端会在首次连接时完成 OAuth 登录。
{
"mcpServers": {
"repofuse": {
"type": "http",
"url": "https://repofuse.com/api/mcp"
}
}
}README
RepoFuse Backend
An AI-powered code intelligence platform that scans your GitHub repositories and discovers what applications you can build by combining existing files and components.
Features
- GitHub App Auth: Connect your GitHub account with a single click using GitHub App user authorization
- Repository Management: Add and manage GitHub repositories for analysis
- AI Code Analysis: AI scans every file to identify purpose, exports, and reusability
- App Blueprint Discovery: Discover applications you can build from your existing code
- Gap Analysis: See exactly which files you're missing and generate them with AI
- Export: Download blueprint JSON for offline use or share with your team
- Stripe Billing: Real checkout flow for RepoFuse Pro upgrades and billing management
Growth Strategy
- Developer SaaS Growth Brief: developer-led distribution, high-intent GitHub outreach, Product Hunt timing, first-user tests, and RepoFuse's first 14-day growth plan.
Tech Stack
- Framework: Next.js 16 with App Router
- Database: Neon PostgreSQL with connection pooling
- AI: Vercel AI SDK (OpenAI GPT-4)
- UI Components: Shadcn UI with Radix primitives
- Styling: Tailwind CSS v4
- Auth: GitHub App user authorization (custom)
Project Structure
Database Schema
user_auth
github_id: Unique GitHub user IDgithub_username: GitHub login namegithub_avatar_url: Profile picture URLaccess_token: GitHub user access tokenstripe_customer_id: Stripe customer linked to the userstripe_subscription_id: Active or latest Stripe subscription idstripe_price_id: Stripe price id for the user’s current planplan_tier: free / prosubscription_status: Stripe subscription status
repositories
github_id: Unique GitHub repo IDname,full_name: Repo name and owner/namedescription,url: Metadatadefault_branch,language,stars: Additional info
repo_files
repository_id: Foreign key to repositoriespath,name,extension: File location infofile_type: component / hook / utility / api / page / etc.purpose,ai_summary: AI-generated descriptionstechnologies,exports,imports: Detected patterns (JSONB)reusability_score: 0–100 reusability rating
analyses
name: User-defined analysis namestatus: pending / scanning / analyzing / complete / failedtotal_files,analyzed_files: Progress tracking
analysis_repositories
- Junction table linking analyses to repositories
app_blueprints
analysis_id: Foreign key to analysesname,description,app_type: Blueprint infocomplexity: simple / moderate / complexreuse_percentage: How much existing code can be reusedexisting_files,missing_files: File lists (JSONB)estimated_effort: Human-readable time estimatetechnologies: Detected stack (JSONB)ai_explanation: AI-written rationale
Getting Started
- Clone the repository
- Install dependencies
- Set up environment variables
Copy
.env.exampleto.env.localand fill in your values:
- Set up the database Run the schema migration in your Neon console or with psql:
- Run the development server
- Access the application Open http://localhost:3000 in your browser
RepoFuse MCP Server
This repo now includes a standalone stdio MCP server at mcp/repofuse.mjs.
What it exposes
list_github_repositoriesanalyze_repositoriesgenerate_scaffoldcreate_repo_from_blueprint- hosted only:
get_blueprint_gaps
Environment variables
The MCP server expects:
GITHUB_TOKENAI_GATEWAY_API_KEYorVERCEL_OIDC_TOKEN, otherwiseANTHROPIC_API_KEY- optional:
REPOFUSE_MODEL(anthropic/claude-sonnet-4.6),REPOFUSE_MAX_FILES_PER_REPO,REPOFUSE_MAX_BLUEPRINTS
Run it locally
Smoke-test the MCP server
Use the live variant when you want to verify startup with real credentials:
Streamable HTTP endpoint inside RepoFuse
RepoFuse exposes an OAuth-protected Streamable HTTP endpoint at
https://repofuse.com/api/mcp. It supports external assistants and authenticated web-app sessions,
resolves GitHub access server-side, and enforces account plan, credit, and rate limits.
Connection instructions: https://repofuse.com/mcp.
Example Claude Desktop config
See examples/claude-desktop.mcp.json.
Example Cursor config
See examples/cursor.mcp.json.
Cursor plugin config
See .cursor-plugin/plugin.json and the root mcp.json.
Full MCP setup guide
See docs/MCP_SETUP.md and docs/LISTING.md.
API Endpoints
Authentication
GET /api/auth/github/callback- GitHub App callback
Repositories
GET /api/repositories- List tracked repositoriesPOST /api/repositories- Add repository by URLGET /api/repositories/[id]- Get repository detailsDELETE /api/repositories/[id]- Remove repository
GitHub
GET /api/github/repos- Fetch repos available to the signed-in GitHub App userPOST /api/github/create-repo- Create new repo from blueprint (Pro)
Billing
GET /pricing- Pricing pageGET /api/checkout?plan=pro- Start Stripe checkout for ProGET /api/checkout/success- Finalize successful checkout and sync subscriptionGET /api/billing/portal- Open Stripe billing portal
Analyses
GET /api/analyses- List analysesPOST /api/analyses- Create new analysisPOST /api/analyses/[id]/run- Run analysis (Server-Sent Events)POST /api/analyses/[id]/analyze- AI pattern analysis
Export
POST /api/export/blueprint- Export blueprint as JSONPOST /api/export/pdf- Export blueprint as PDF
Deployment
Deploy to Vercel
- Push your code to GitHub
- Connect your repository to Vercel
- Add environment variables in Vercel dashboard (see
.env.example)- For paid upgrades, create a recurring Stripe Price for RepoFuse Pro and set
STRIPE_SECRET_KEYandSTRIPE_PRO_PRICE_ID
- For paid upgrades, create a recurring Stripe Price for RepoFuse Pro and set
- Deploy
Security
- GitHub App permissions are fine-grained and should be configured read-only for analysis access
- Access tokens are stored in the database (encrypt at rest in production)
- Code is scanned in memory; file contents are never permanently stored
- Hosted MCP requests validate Clerk OAuth tokens or an existing RepoFuse session
- OAuth discovery follows RFC 9728 and GitHub tokens are never returned to MCP clients
License
MIT License
来源:README.md,提交 ed1912f
工具
0版本历史
1- v0.3.0最新Sep 27, 2026
评分
已满足适用检查项的 75%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通必需25 分
- 已声明认证方式必需10 分
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
请在仓库或注册中心条目中声明许可证。