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
151 lines
4.2 KiB
Plaintext
151 lines
4.2 KiB
Plaintext
---
|
|
title: {Extension Name} Extension
|
|
description: Add {Extension Name} MCP Server as a goose Extension
|
|
---
|
|
|
|
<!-- You can use the "Add MCP Server" recipe from the Recipe Cookbook to create a draft tutorial -->
|
|
|
|
import Tabs from '@theme/Tabs';
|
|
import TabItem from '@theme/TabItem';
|
|
import YouTubeShortEmbed from '@site/src/components/YouTubeShortEmbed';
|
|
import CLIExtensionInstructions from '@site/src/components/CLIExtensionInstructions';
|
|
import GooseDesktopInstaller from '@site/src/components/GooseDesktopInstaller';
|
|
import GooseBuiltinInstaller from '@site/src/components/GooseBuiltinInstaller';
|
|
|
|
|
|
<YouTubeShortEmbed videoUrl="https://www.youtube.com/embed/VIDEO_ID" />
|
|
|
|
|
|
This tutorial covers how to add the [{Extension Name} MCP Server](/) as a goose extension to enable ________________.
|
|
|
|
:::tip Quick Install
|
|
<Tabs groupId="interface">
|
|
<TabItem value="ui" label="goose Desktop" default>
|
|
[Launch the installer]({goose_url})
|
|
</TabItem>
|
|
<TabItem value="cli" label="goose CLI">
|
|
**Command**
|
|
```sh
|
|
{command}
|
|
```
|
|
</TabItem>
|
|
</Tabs>
|
|
**Environment Variable**
|
|
```
|
|
{env_var}: <ENV_VALUE>
|
|
```
|
|
:::
|
|
|
|
## Configuration
|
|
|
|
:::info
|
|
Note that you'll need [Node.js](https://nodejs.org/) installed on your system to run this command, as it uses `npx`.
|
|
:::
|
|
|
|
:::info
|
|
Note that you'll need [uv](https://docs.astral.sh/uv/#installation) installed on your system to run this command, as it uses `uvx`.
|
|
:::
|
|
|
|
<Tabs groupId="interface">
|
|
<TabItem value="ui" label="goose Desktop" default>
|
|
|
|
<!-- For built-in extensions -->
|
|
<GooseBuiltinInstaller
|
|
extensionName="{Extension Name}"
|
|
description="{Extension description}"
|
|
extensionId="{extension_id}"
|
|
/>
|
|
|
|
<!-- For external STDIO MCP servers (npx, uvx, git, etc.) -->
|
|
<GooseDesktopInstaller
|
|
extensionId="{extension_id}"
|
|
extensionName="{Extension Name}"
|
|
description="{Extension description}"
|
|
type="stdio"
|
|
command="npx"
|
|
args={["-y", "@package/name"]}
|
|
timeout={300}
|
|
envVars={[
|
|
{ name: "API_KEY", label: "Description or placeholder value" }
|
|
]}
|
|
apiKeyLink="https://example.com/api-keys"
|
|
apiKeyLinkText="Service Access Token"
|
|
/>
|
|
|
|
<!-- For HTTP MCP servers -->
|
|
<GooseDesktopInstaller
|
|
extensionId="{extension_id}"
|
|
extensionName="{Extension Name}"
|
|
description="{Extension description}"
|
|
type="http"
|
|
url="https://example-server.com/mcp"
|
|
envVars={[ // also used for http request headers
|
|
{ name: "SOME_KEY", label: "Description or placeholder value" }
|
|
]}
|
|
apiKeyLink="https://example.com/api-keys"
|
|
apiKeyLinkText="Service Access Token"
|
|
/>
|
|
|
|
</TabItem>
|
|
<TabItem value="cli" label="goose CLI">
|
|
|
|
<!-- For external STDIO MCP servers (npx, uvx, git, etc.) -->
|
|
<CLIExtensionInstructions
|
|
name="{Extension Name}"
|
|
description="{Extension description}"
|
|
type="stdio"
|
|
command="{full command with args}"
|
|
timeout={300}
|
|
envVars={[
|
|
{ key: "API_KEY", value: "▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪" }
|
|
]}
|
|
infoNote={
|
|
<>
|
|
Get your API key from
|
|
<a href="https://example.com/api-keys" target="_blank" rel="noopener noreferrer">
|
|
example.com
|
|
</a> and paste it in.
|
|
</>
|
|
}
|
|
/>
|
|
|
|
<!-- For HTTP MCP servers -->
|
|
<CLIExtensionInstructions
|
|
name="{Extension Name}"
|
|
description="{Extension description}"
|
|
type="http"
|
|
url="https://example-server.com/mcp"
|
|
timeout={300}
|
|
envVars={[ // also used for http request headers
|
|
{ key: "API_KEY", value: "▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪" }
|
|
]}
|
|
infoNote={
|
|
<>
|
|
Get your API key from{" "}
|
|
<a href="https://example.com/api-keys" target="_blank" rel="noopener noreferrer">
|
|
example.com
|
|
</a>.
|
|
</>
|
|
}
|
|
/>
|
|
|
|
</TabItem>
|
|
</Tabs>
|
|
|
|
## Example Usage
|
|
|
|
{describe any environment setup, access controls, and what you want to accomplish.}
|
|
|
|
### goose Prompt
|
|
|
|
> _exact prompt_
|
|
|
|
|
|
### goose Output
|
|
|
|
:::note Desktop
|
|
|
|
{exact output}
|
|
|
|
:::
|