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 分
請在儲存庫或註冊中心條目中宣告授權條款。