Netlify Extension
Watch the demo
This tutorial covers how to add the Netlify MCP Server as a Goose extension to build, deploy, and manage Netlify sites.
- Goose Desktop
- Goose CLI
Command
npx -y @netlify/mcp
Configurationโ
Note that you'll need Node.js installed on your system to run this command, as it uses npx
.
Make sure that you are signed in to your Netlify account:
netlify login
Add Netlify MCP Serverโ
- Goose Desktop
- Goose CLI
- Launch the installer
- Press
OK
to confirm the installation
- Run the
configure
command:
goose configure
- Choose to add a
Command-line Extension
โ goose-configure
โ
โ What would you like to configure?
โ Add Extension (Connect to a new extension)
โ
โ What type of extension would you like to add?
โ โ Built-in Extension
โ โ Command-line Extension (Run a local command or script)
โ โ Remote Extension (SSE)
โ โ Remote Extension (Streaming HTTP)
โ
- Give your extension a name
โ goose-configure
โ
โ What would you like to configure?
โ Add Extension (Connect to a new extension)
โ
โ What type of extension would you like to add?
โ Command-line Extension
โ
โ What would you like to call this extension?
โ netlify
โ
- Enter the command
โ goose-configure
โ
โ What would you like to configure?
โ Add Extension (Connect to a new extension)
โ
โ What type of extension would you like to add?
โ Command-line Extension
โ
โ What would you like to call this extension?
โ netlify
โ
โ What command should be run?
โ npx -y @netlify/mcp
โ
- Enter the number of seconds Goose should wait for actions to complete before timing out. Default is 300s
โ goose-configure
โ
โ What would you like to configure?
โ Add Extension (Connect to a new extension)
โ
โ What type of extension would you like to add?
โ Command-line Extension
โ
โ What would you like to call this extension?
โ netlify
โ
โ What command should be run?
โ npx -y @netlify/mcp
โ
โ Please set the timeout for this tool (in secs):
โ 300
โ
โ
- Choose to add a description. If you select "Yes" here, you will be prompted to enter a description for the extension.
โ goose-configure
โ
โ What would you like to configure?
โ Add Extension (Connect to a new extension)
โ
โ What type of extension would you like to add?
โ Command-line Extension
โ
โ What would you like to call this extension?
โ netlify
โ
โ What command should be run?
โ npx -y @netlify/mcp
โ
โ Please set the timeout for this tool (in secs):
โ 300
โ
โ Would you like to add a description?
โ No
โ
โ
- Choose No when asked to add environment variables
โ goose-configure
โ
โ What would you like to configure?
โ Add Extension (Connect to a new extension)
โ
โ What type of extension would you like to add?
โ Command-line Extension
โ
โ What would you like to call this extension?
โ netlify
โ
โ What command should be run?
โ npx -y @netlify/mcp
โ
โ Please set the timeout for this tool (in secs):
โ 300
โ
โ Would you like to add a description?
โ No
โ
โ Would you like to add environment variables?
โ No
|
โ Added netlify extension
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โ
Details
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:
ย ย ย ย operation: get-user
ย ย ย ย 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:
ย ย ย ย operation: create-new-project
ย ย ย ย params:
ย ย ย ย ย ย ย ย name: tic-tac-toe-game
Let me try a different name for the project:
โโโ netlify-project-services | netlify โโโโโโโโโโโโโโโโโโโโโโโโโโ
selectSchema:
ย ย ย ย operation: create-new-project
ย ย ย ย params:
ย ย ย ย ย ย ย ย 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:
ย ย ย ย operation: deploy-site
ย ย ย ย params:
ย ย ย ย ย ย ย ย deployDirectory: /Users/janedoe/Development/tic-tac-toe
ย ย ย ย ย ย ย ย 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:
ย ย ย ย operation: get-project
ย ย ย ย params:
ย ย ย ย ย ย ย ย siteId: 1731e49e-1d0a-49a3-ad95-975b550f324a
๐ Success! Your tic-tac-toe game has been deployed to Netlify!
Deployment Details:โ
- Live Site URL: http://janedoe-tic-tac-toe.netlify.app
- Netlify Project Dashboard: https://app.netlify.com/projects/janedoe-tic-tac-toe
- Site ID: 1731e49e-1d0a-49a3-ad95-975b550f324a
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:โ
- Visit your live site: http://janedoe-tic-tac-toe.netlify.app
- Test the game: Make sure everything works as expected
- 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:
- Update your local files
- Push changes to your GitHub repository
- 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! ๐ฎ