mirror of
https://github.com/block/goose.git
synced 2026-07-17 12:56:20 +02:00
a39efade5d
Co-authored-by: Angie Jones <angiej@3d634b34e22046c0bc99c9b37c6eede5.local>
3.9 KiB
3.9 KiB
title: {name} Extension description: Add {name} MCP Server as a Goose Extension
import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import YouTubeShortEmbed from '@site/src/components/YouTubeShortEmbed';
This tutorial covers how to add the {name} MCP Server as a Goose extension to enable file operations, repository management, search functionality, and more.
:::tip TLDR
Command
{command}
Environment Variable
{env_var}: <YOUR_TOKEN>
:::
Configuration
1. Run the `configure` command: ```sh goose configure ```- Choose to add a
Command-line Extension
┌ goose-configure
│
◇ What would you like to configure?
│ Add Extension
│
◆ What type of extension would you like to add?
│ ○ Built-in Extension
// highlight-start
│ ● Command-line Extension (Run a local command or script)
// highlight-end
│ ○ Remote Extension
└
- Give your extension a name
┌ goose-configure
│
◇ What would you like to configure?
│ Add Extension
│
◇ What type of extension would you like to add?
│ Command-line Extension
│
// highlight-start
◆ What would you like to call this extension?
│ {name}
// highlight-end
└
- Enter the command
┌ goose-configure
│
◇ What would you like to configure?
│ Add Extension
│
◇ What type of extension would you like to add?
│ Command-line Extension
│
◇ What would you like to call this extension?
│ {name}
│
// highlight-start
◆ What command should be run?
│ {command}
// highlight-end
└
- Obtain a GitHub Personal Access Token and paste it in. :::info When creating your access token, you can specify the repositories and granular permissions you'd like Goose to have access to. :::
┌ goose-configure
│
◇ What would you like to configure?
│ Add Extension
│
◇ What type of extension would you like to add?
│ Command-line Extension
│
◇ What would you like to call this extension?
│ {name}}
│
◇ What command should be run?
│ {command}}
// highlight-start
◆ Would you like to add environment variables?
│ Yes
│
◇ Environment variable name:
│ {env_var}
│
◇ Environment variable value:
│ ▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪
│
◇ Add another environment variable?
│ No
// highlight-end
└ Added github extension
Example Usage
{describe any environment setup, access controls, and what you want to accomplish.}
Goose Prompt
{exact prompt}.
Goose Output
{exact output}