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

          • -
            security
            A
            license
            -
            quality
            A lightweight MCP server for managing DNS records, purging cache, and interacting with the Cloudflare API through natural language commands.
            Last updated -
            13
            TypeScript
            MIT License
          • -
            security
            A
            license
            -
            quality
            An MCP server that allows using natural language to manage Cloudflare resources (Workers, KV, R2, D1) through Claude Desktop, VSCode, and other MCP clients.
            Last updated -
            8
            5
            TypeScript
            Apache 2.0
          • -
            security
            F
            license
            -
            quality
            A deployable MCP (Model Context Protocol) server on Cloudflare Workers that doesn't require authentication, allowing users to create and access custom AI tools through Claude Desktop or the Cloudflare AI Playground.
            Last updated -
            TypeScript
          • -
            security
            A
            license
            -
            quality
            A lightweight MCP server that enables agents to interface with Cloudflare's REST API, allowing management of DNS records and other Cloudflare services.
            Last updated -
            7
            TypeScript
            MIT License

          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