added tabs on tutorial TLDR blocks (#2487)

This commit is contained in:
w. ian douglas
2025-05-09 12:15:38 -06:00
committed by GitHub
parent 7b81562351
commit 6ec26715b9
24 changed files with 337 additions and 246 deletions

View File

@@ -12,11 +12,18 @@ import YouTubeShortEmbed from '@site/src/components/YouTubeShortEmbed';
This tutorial covers how to add the [Filesystem MCP server](https://github.com/modelcontextprotocol/servers/tree/HEAD/src/filesystem) as a Goose extension, enabling powerful code analysis and file management. With this extension, Goose can analyze project structures, edit and organize files, detect unused dependencies, and generate documentation to improve software maintainability.
:::tip TLDR
**Command**
```sh
npx -y @modelcontextprotocol/server-filesystem </path/to/allowed/directory>
```
You can specify multiple allowed directories by separating them with a space.
<Tabs groupId="interface">
<TabItem value="ui" label="Goose Desktop" default>
[Launch the installer](goose://extension?cmd=npx&arg=-y&arg=@modelcontextprotocol/server-filesystem&arg=/path/to/allowed/directory&id=filesystem-mcp&name=Filesystem%20MCP%20Server&description=Filesystem%20MCP%20Server)
</TabItem>
<TabItem value="cli" label="Goose CLI">
**Command**
```sh
npx -y @modelcontextprotocol/server-filesystem </path/to/allowed/directory>
```
</TabItem>
</Tabs>
You can specify multiple allowed directories by separating them with a space.
:::
## Configuration
@@ -27,22 +34,10 @@ Note that you'll need [Node.js](https://nodejs.org/) installed on your system to
<Tabs groupId="interface">
<TabItem value="ui" label="Goose Desktop" default>
1. Click `...` in the upper right corner
2. Click `Advanced Settings`
3. Under `Extensions`, click the `Add` link
4. On the `Add Extension Manually` modal, enter the following:
* **Type**: `Standard IO`
* **ID**: `filesystem-mcp` (_set this to whatever you want_)
* **Name**: `filesystem` (_set this to whatever you want_)
* **Description**: `filesystem MCP Server` (_set this to whatever you want_)
* **Command**: `npx -y @modelcontextprotocol/server-filesystem /path/to/allowed/directory`
5. Click `Add Extension` button
:::tip Multiple Directories
You can specify multiple directories by separating them with a space.
:::
1. [Launch the installer](goose://extension?cmd=npx&arg=-y&arg=@modelcontextprotocol/server-filesystem&arg=/path/to/allowed/directory&id=filesystem-mcp&name=Filesystem%20MCP%20Server&description=Filesystem%20MCP%20Server)
2. Press `Yes` to confirm the installation
3. Add additional allowed directories if desired, separated by a space.
4. Click `Save Configuration`
</TabItem>
<TabItem value="cli" label="Goose CLI">