项目文件夹

文件
wehub-resource-sync 8a21a212f8
Deploy Documentation / deploy (push) Has been cancelled
Canary / build-cli (push) Has been skipped
Canary / Upload Install Script (push) Has been skipped
Canary / bundle-desktop (push) Has been skipped
Canary / bundle-desktop-intel (push) Has been skipped
Canary / bundle-desktop-linux (push) Has been skipped
Canary / bundle-desktop-windows (push) Has been skipped
Canary / bundle-desktop-windows-cuda (push) Has been skipped
Canary / Release (push) Has been skipped
Cargo Deny / deny (push) Has been skipped
Unused Dependencies / machete (push) Has been skipped
Canary / Prepare Version (push) Failing after 1s
Live Provider Tests / check-fork (push) Failing after 0s
Create Minor Release PR / check-version-bump-pr (push) Has been skipped
Publish Ask AI Bot Docker Image / docker (push) Failing after 1s
Live Provider Tests / changes (push) Has been skipped
Scorecard supply-chain security / Scorecard analysis (push) Has been skipped
Publish Docker Image / docker (push) Failing after 1s
CI / changes (push) Failing after 8s
Create Minor Release PR / release (push) Has been skipped
Live Provider Tests / Smoke Tests (push) Has been cancelled
Live Provider Tests / Smoke Tests (Code Execution) (push) Has been cancelled
Live Provider Tests / Compaction Tests (push) Has been cancelled
CI / Build Rust Project on Windows (push) Has been cancelled
Live Provider Tests / Build Binary (push) Has been cancelled
CI / Lint Rust Code (push) Has been cancelled
CI / Check Generated Schemas are Up-to-Date (push) Has been cancelled
CI / Test and Lint Electron Desktop App (push) Has been cancelled
CI / Check Rust Code Format (push) Has been cancelled
CI / Build and Test Rust Project (push) Has been cancelled
CI / Check MSRV (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 12:04:08 +08:00

5.7 KiB

title, description
title description
Netlify Extension Add Netlify MCP Server as a goose Extension

import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import YouTubeShortEmbed from '@site/src/components/YouTubeShortEmbed'; import GooseDesktopInstaller from '@site/src/components/GooseDesktopInstaller'; import CLIExtensionInstructions from '@site/src/components/CLIExtensionInstructions';

This tutorial covers how to add the Netlify MCP Server as a goose extension to build, deploy, and manage Netlify sites.

:::tip Quick Install Launch the installer Command

npx -y @netlify/mcp
:::

Configuration

Make sure that you are signed in to your Netlify account:

netlify login

Add Netlify MCP Server

:::info Note that you'll need Node.js installed on your system to run this command, as it uses npx. :::

Example Usage

In this example, I’ll show you how to use goose with the Netlify Extension to deploy a web application.

goose Prompt

Can you deploy my app to Netlify via my GitHub repo?

goose Output

:::note CLI

Tool Calls I'll help you deploy your tic-tac-toe app to Netlify from your GitHub repository. Let me first check your Netlify account and then set up the deployment.
─── netlify-user-services | netlify ──────────────────────────

selectSchema: <br/>
    &nbsp;&nbsp;&nbsp;&nbsp;operation: get-user <br/>
    &nbsp;&nbsp;&nbsp;&nbsp;params:

Great! I can see you're logged into Netlify with your GitHub account connected. Now let me create a new Netlify site and deploy your tic-tac-toe app from your GitHub repository.

─── netlify-project-services | netlify ──────────────────────────

selectSchema:<br/>
    &nbsp;&nbsp;&nbsp;&nbsp;operation: create-new-project<br/>
    &nbsp;&nbsp;&nbsp;&nbsp;params:<br/>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;name: tic-tac-toe-game

Let me try a different name for the project:

─── netlify-project-services | netlify ──────────────────────────

selectSchema:<br/>
    &nbsp;&nbsp;&nbsp;&nbsp;operation: create-new-project<br/>
    &nbsp;&nbsp;&nbsp;&nbsp;params:<br/>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;name: janedoe-tic-tac-toe

Perfect! I've created a new Netlify site called "janedoe-tic-tac-toe". Now I need to deploy your code from the GitHub repository. Let me deploy the site:

─── netlify-deploy-services | netlify ──────────────────────────

selectSchema:<br/>
    &nbsp;&nbsp;&nbsp;&nbsp;operation: deploy-site<br/>
    &nbsp;&nbsp;&nbsp;&nbsp;params:<br/>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;deployDirectory: /Users/janedoe/Development/tic-tac-toe<br/>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;siteId: 1731e49e-1d0a-49a3-ad95-975b550f324a

Let me check the deployment status and get the live URL for your site:

─── netlify-project-services | netlify ──────────────────────────

selectSchema:<br/>
    &nbsp;&nbsp;&nbsp;&nbsp;operation: get-project<br/>
    &nbsp;&nbsp;&nbsp;&nbsp;params:<br/>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;siteId: 1731e49e-1d0a-49a3-ad95-975b550f324a

🎉 Success! Your tic-tac-toe game has been deployed to Netlify!

Deployment Details:

What was deployed:

HTML: Your main game interface

CSS: Modern styling with animations and responsive design

JavaScript: Complete game logic and interactivity

README: Project documentation

Next Steps:

  1. Visit your live site: http://janedoe-tic-tac-toe.netlify.app
  2. Test the game: Make sure everything works as expected
  3. Share with others: Your game is now live on the web!

Future Updates:

Since your code is deployed from your local directory, if you want to make changes:

  1. Update your local files
  2. Push changes to your GitHub repository
  3. You can either:
    • Redeploy manually using the same command
    • Set up continuous deployment from GitHub (which would auto-deploy when you push changes)

Would you like me to help you set up continuous deployment from your GitHub repository so that future changes are automatically deployed?

Your tic-tac-toe game is now live and ready to play! 🎮