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

@@ -10,11 +10,17 @@ import YouTubeShortEmbed from '@site/src/components/YouTubeShortEmbed';
The PostgreSQL MCP Server extension allows Goose to interact directly with your PostgreSQL databases, enabling database operations, querying, and schema management capabilities. This makes it easy to work with your databases through natural language interactions.
:::tip TLDR
**Command**
```sh
npx -y @modelcontextprotocol/server-postgres postgresql://localhost/mydb
```
<Tabs groupId="interface">
<TabItem value="ui" label="Goose Desktop" default>
[Launch the installer](goose://extension?cmd=npx&arg=-y&arg=@modelcontextprotocol/server-postgres&arg=Your%20PostgreSQL%20connection%20URL&id=postgres&name=PostgreSQL&description=PostgreSQL%20database%20integration)
</TabItem>
<TabItem value="cli" label="Goose CLI">
**Command**
```sh
npx -y @modelcontextprotocol/server-postgres postgresql://localhost/mydb
```
</TabItem>
</Tabs>
:::
## Customizing Your Connection
@@ -52,7 +58,7 @@ 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. [Launch the installer](goose://extension?cmd=npx&arg=-y&arg=@modelcontextprotocol/server-postgres&id=postgres&name=PostgreSQL&description=PostgreSQL%20database%20integration&env=POSTGRES_URL%3DYour%20PostgreSQL%20connection%20URL)
1. [Launch the installer](goose://extension?cmd=npx&arg=-y&arg=@modelcontextprotocol/server-postgres&arg=Your%20PostgreSQL%20connection%20URL&id=postgres&name=PostgreSQL&description=PostgreSQL%20database%20integration)
2. Press `Yes` to confirm the installation
3. Enter your PostgreSQL connection URL in the format: `postgresql://username:password@hostname:5432/database`
4. Click `Save Configuration`