CloudflareからGitHubへのバックアップMCPサーバー
これは、Cloudflare プロジェクトを GitHub リポジトリにバックアップする MCP (Model Context Protocol) サーバーです。
前提条件
- Node.js と npm がインストールされています。
- プロジェクトへの読み取りアクセス権を持つ Cloudflare アカウントと API トークン。
- 「repo」スコープを持つ GitHub アカウントと個人アクセス トークン。
- バックアップを保存する GitHub リポジトリ。
インストール
Smithery経由でインストール
Smithery経由で Claude Desktop の GitHub Backup に Cloudflare を自動的にインストールするには:
手動インストール
- このリポジトリをクローンします:
- 依存関係をインストールします:
- プロジェクトを構築する
構成
- Cloudflare API トークンを取得します。
- Cloudflareダッシュボードに移動します。
- 「マイプロフィール」->「API トークン」に移動します。
- 「トークンを作成」をクリックします。
- トークンにプロジェクトを読み取るために必要な権限があることを確認します。
- トークンをコピーします。
- GitHub 個人アクセス トークンを取得します。
- GitHub の設定に移動します。
- 「開発者設定」->「個人アクセストークン」に移動します。
- 「新しいトークンを生成」をクリックします。
- 「repo」スコープを選択します。
- トークンをコピーします。
cline_mcp_settings.json
ファイルを編集します。/path/to/cloudflare-github-backup``cloudflare-github-backup
ディレクトリへの実際のパスに置き換えます。your_cloudflare_api_token
、your_github_access_token
、your_github_repo_name
を実際のトークンとリポジトリ名に置き換えます。
使用法
- VS Code 拡張機能を再起動して MCP サーバーを起動します。
use_mcp_tool
ツールを使用して、backup_projects
ツールを呼び出します。これによりバックアッププロセスが開始されます。サーバーは進行状況を示すメッセージをコンソールに記録します。
注記
現在、バックアップロジックは単なるプレースホルダです。コンソールにメッセージをログ出力しますが、実際のバックアップは実行しません。次のステップでは、CloudflareとGitHub APIを使用して実際のバックアップロジックを実装します。
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Cloudflare プロジェクトの GitHub リポジトリへのバックアップを自動化し、Cloudflare の構成とアセットを体系的に保存する方法を提供する MCP サーバー。
Related Resources
Related MCP Servers
- AsecurityFlicenseAqualityMCP Server for the GitHub API, providing features for file operations, repository management, and advanced search, with automatic branch creation and comprehensive error handling.Last updated -1814TypeScript
- AsecurityFlicenseAqualityAn MCP server that enables integration with GitHub Enterprise API, allowing users to access repository information, manage issues, pull requests, workflows, and other GitHub features through Cursor.Last updated -162022TypeScript
- AsecurityAlicenseAqualityA MCP server that provides access to GitHub trending repositories and developers data through a simple API interface.Last updated -213PythonMIT License
- JavaScriptMIT License