Skip to main content
Glama

Cloudflare to GitHub Backup MCP Server

CloudflareからGitHubへのバックアップMCPサーバー

これは、Cloudflare プロジェクトを GitHub リポジトリにバックアップする MCP (Model Context Protocol) サーバーです。

前提条件

  • Node.js と npm がインストールされています。
  • プロジェクトへの読み取りアクセス権を持つ Cloudflare アカウントと API トークン。
  • 「repo」スコープを持つ GitHub アカウントと個人アクセス トークン。
  • バックアップを保存する GitHub リポジトリ。

インストール

Smithery経由でインストール

Smithery経由で Claude Desktop の GitHub Backup に Cloudflare を自動的にインストールするには:

npx -y @smithery/cli install @DynamicEndpoints/cloudflare-github-backup-mcp --client claude

手動インストール

  1. このリポジトリをクローンします:
    git clone <repository_url> cd cloudflare-github-backup
  2. 依存関係をインストールします:
    npm install
  3. プロジェクトを構築する
    npm run build

構成

  1. Cloudflare API トークンを取得します。
    • Cloudflareダッシュボードに移動します。
    • 「マイプロフィール」->「API トークン」に移動します。
    • 「トークンを作成」をクリックします。
    • トークンにプロジェクトを読み取るために必要な権限があることを確認します。
    • トークンをコピーします。
  2. GitHub 個人アクセス トークンを取得します。
    • GitHub の設定に移動します。
    • 「開発者設定」->「個人アクセストークン」に移動します。
    • 「新しいトークンを生成」をクリックします。
    • 「repo」スコープを選択します。
    • トークンをコピーします。
  3. cline_mcp_settings.jsonファイルを編集します。
    { "mcpServers": { "cloudflare-backup": { "command": "node", "args": ["/path/to/cloudflare-github-backup/build/index.js"], "env": { "CLOUDFLARE_API_TOKEN": "your_cloudflare_api_token", "GITHUB_ACCESS_TOKEN": "your_github_access_token", "GITHUB_REPO_NAME": "your_github_repo_name" } } } }
    • /path/to/cloudflare-github-backup``cloudflare-github-backupディレクトリへの実際のパスに置き換えます。
    • your_cloudflare_api_tokenyour_github_access_tokenyour_github_repo_nameを実際のトークンとリポジトリ名に置き換えます。

使用法

  1. VS Code 拡張機能を再起動して MCP サーバーを起動します。
  2. use_mcp_toolツールを使用して、 backup_projectsツールを呼び出します。
    <use_mcp_tool> <server_name>cloudflare-backup</server_name> <tool_name>backup_projects</tool_name> <arguments> {} </arguments> </use_mcp_tool>
    これによりバックアッププロセスが開始されます。サーバーは進行状況を示すメッセージをコンソールに記録します。

注記

現在、バックアップロジックは単なるプレースホルダです。コンソールにメッセージをログ出力しますが、実際のバックアップは実行しません。次のステップでは、CloudflareとGitHub APIを使用して実際のバックアップロジックを実装します。

-
security - not tested
F
license - not found
-
quality - not tested

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 サーバー。

  1. 前提条件
    1. インストール
      1. Smithery経由でインストール
      2. 手動インストール
    2. 構成
      1. 使用法
        1. 注記

          Related MCP Servers

          • A
            security
            F
            license
            A
            quality
            MCP 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 -
            18
            1
            4
            TypeScript
            • Linux
            • Apple
          • A
            security
            F
            license
            A
            quality
            An 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 -
            16
            20
            22
            TypeScript
            • Linux
            • Apple
          • A
            security
            A
            license
            A
            quality
            A MCP server that provides access to GitHub trending repositories and developers data through a simple API interface.
            Last updated -
            2
            13
            Python
            MIT License
            • Apple

          View all related MCP servers

          MCP directory API

          We provide all the information about MCP servers via our MCP API.

          curl -X GET 'https://glama.ai/api/mcp/v1/servers/DynamicEndpoints/cloudflare-github-backup-mcp'

          If you have feedback or need assistance with the MCP directory API, please join our Discord server