Netlify MCP Server

by MCERQUA
Verified

Integrations

  • Allows creating Netlify sites from GitHub repositories by specifying repository details, branch to deploy from, and build configuration.

  • Enables site management on Netlify's platform, including creating new sites from GitHub repositories, listing existing sites, retrieving detailed site information, and deleting sites.

Netlify MCP サーバー

Netlifyサイトを管理するためのモデルコンテキストプロトコル(MCP)サーバー。このサーバーは、MCPを介してNetlify APIとのシームレスな統合を可能にし、MCP対応環境から直接サイトを作成、管理、デプロイできるようにします。

特徴

  • GitHub リポジトリから新しいサイトを作成する
  • 既存のNetlifyサイトを一覧表示する
  • 詳細なサイト情報を取得する
  • サイトを削除する

インストール

  1. このリポジトリをクローンします:
git clone https://github.com/MCERQUA/netlify-mcp.git cd netlify-mcp
  1. 依存関係をインストールします:
npm install
  1. プロジェクトをビルドします。
npm run build

構成

Netlifyアクセストークンの取得

  1. https://app.netlify.com/signupで Netlify アカウントを作成します。
  2. ユーザー設定 > アプリケーション > 個人アクセストークンに移動します
  3. 「新しいアクセストークン」をクリックします
  4. 名前を付けます(例:「MCP 統合」)
  5. 生成されたトークンをコピーする

MCPの設定

  1. プロジェクト ルートに.envファイルを作成します。
NETLIFY_ACCESS_TOKEN=your_token_here
  1. MCP 設定構成にサーバーを追加します。
{ "mcpServers": { "netlify": { "command": "node", "args": ["path/to/netlify-mcp/build/index.js"], "env": { "NETLIFY_ACCESS_TOKEN": "your_token_here" }, "disabled": false, "autoApprove": [] } } }

利用可能なツール

GitHubからサイトを作成する

GitHub リポジトリから新しい Netlify サイトを作成します。

interface CreateSiteFromGitHubArgs { name: string; // Name for the new site repo: string; // GitHub repository (format: owner/repo) branch: string; // Branch to deploy from buildCommand: string; // Build command to run publishDir: string; // Directory containing the built files }

リストサイト

アクセスできるすべての Netlify サイトを一覧表示します。

interface ListSitesArgs { filter?: 'all' | 'owner' | 'guest'; // Optional filter for sites }

getSite

特定のサイトに関する詳細情報を取得します。

interface GetSiteArgs { siteId: string; // ID of the site to retrieve }

削除サイト

Netlify サイトを削除します。

interface DeleteSiteArgs { siteId: string; // ID of the site to delete }

ドキュメント

詳細については、以下を参照してください。

貢献

貢献を歓迎します!お気軽にプルリクエストを送信してください。

ライセンス

このプロジェクトは MIT ライセンスに基づいてライセンスされています - 詳細についてはLICENSEファイルを参照してください。

-
security - not tested
A
license - permissive license
-
quality - not tested

Netlify サイトの管理を可能にするモデル コンテキスト プロトコル サーバー。ユーザーは MCP 対応環境から直接 Netlify サイトを作成、一覧表示、情報を取得、削除できます。

  1. Features
    1. Installation
      1. Configuration
        1. Getting Your Netlify Access Token
        2. Setting Up MCP
      2. Available Tools
        1. createSiteFromGitHub
        2. listSites
        3. getSite
        4. deleteSite
      3. Documentation
        1. Contributing
          1. License
            ID: ufdnp5jiot