# prompts.chat Extension

> Add prompts.chat MCP Server as a goose Extension

- 网址：https://funcoding.ai/agents/goose/mcp/prompts-chat-mcp/
- 来源：goose 官方文档原文（英文），Apache-2.0 许可，同步于 2026-10-11
- 官方原文：https://goose-docs.ai/docs/mcp/prompts-chat-mcp

---
This tutorial covers how to add the [prompts.chat MCP Server](https://prompts.chat) as a goose extension to enable access to thousands of AI prompts directly in your AI assistant.

<div class="callout callout-tip">

**Quick Install**

**goose Desktop**

[Launch the installer](goose://extension?cmd=npx&arg=-y&arg=@fkadev/prompts.chat-mcp@latest&id=prompts-chat-mcp&name=prompts.chat&description=Access%20thousands%20of%20AI%20prompts%20directly%20in%20your%20AI%20assistant&env=PROMPTS_API_KEY%3DAPI%20Key%20to%20save%20and%20list%20private%20prompts)

**goose CLI**

**Command**
```sh
npx -y @fkadev/prompts.chat-mcp@latest
```

  **Environment Variable (Optional)**
  ```
  PROMPTS_API_KEY: <YOUR_API_KEY>
  ```

</div>

## Configuration

<div class="callout callout-note">

Note that you'll need [Node.js](https://nodejs.org/) installed on your system to run this command, as it uses `npx`.

</div>

**goose Desktop**

**goose CLI**

## Example Usage

The prompts.chat extension provides access to a curated library of AI prompts that you can search and use directly within goose. This is useful when you need inspiration or want to leverage proven prompt patterns for specific tasks.

**goose Desktop**

1. Open a new session in goose Desktop

**goose CLI**

1. Open a terminal and start a new goose session:

```sh
goose session
```

### Searching for Prompts

#### goose Prompt

```
Search for prompts about code review
```

#### goose Output

```
I found several prompts related to code review:

1. **Code Review Assistant** - A comprehensive prompt for reviewing code quality, 
   security, and best practices
2. **Pull Request Reviewer** - Helps analyze pull requests and suggest improvements
3. **Security Code Audit** - Focuses on identifying security vulnerabilities

Would you like me to retrieve any of these prompts?
```

### Using a Prompt

#### goose Prompt

```
Get the Code Review Assistant prompt and use it to review my current file
```

#### goose Output

```
I've retrieved the Code Review Assistant prompt. Let me apply it to analyze your code...

[Applying prompt guidelines to review your code]

Here's my review based on the prompt's framework:

✅ Code structure and organization
✅ Naming conventions
⚠️ Consider adding error handling for edge cases
⚠️ Documentation could be improved for public methods

Would you like me to help address any of these findings?
```
