diff --git a/documentation/docs/mcp/prompts-chat-mcp.md b/documentation/docs/mcp/prompts-chat-mcp.md new file mode 100644 index 000000000000..a7c6e379b272 --- /dev/null +++ b/documentation/docs/mcp/prompts-chat-mcp.md @@ -0,0 +1,135 @@ +--- +title: prompts.chat Extension +description: Add prompts.chat MCP Server as a goose Extension +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; +import CLIExtensionInstructions from '@site/src/components/CLIExtensionInstructions'; +import GooseDesktopInstaller from '@site/src/components/GooseDesktopInstaller'; + +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. + +:::tip TLDR + + + [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) + + + **Command** + ```sh + npx -y @fkadev/prompts.chat-mcp@latest + ``` + + + **Environment Variable (Optional)** + ``` + PROMPTS_API_KEY: + ``` +::: + +## Configuration + +:::info +Note that you'll need [Node.js](https://nodejs.org/) installed on your system to run this command, as it uses `npx`. +::: + + + + + + + + The PROMPTS_API_KEY is optional. If you want to save and list private prompts, obtain your API key from{" "} + + prompts.chat + and paste it in. + + } + /> + + + +## 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. + + + + 1. Open a new session in goose Desktop + + + + 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? +``` diff --git a/documentation/static/servers.json b/documentation/static/servers.json index ce462f5573ea..53220b3f797a 100644 --- a/documentation/static/servers.json +++ b/documentation/static/servers.json @@ -544,6 +544,23 @@ "endorsed": true, "environmentVariables": [] }, + { + "id": "prompts-chat-mcp", + "name": "prompts.chat", + "description": "Access thousands of AI prompts directly in your AI assistant", + "command": "npx -y @fkadev/prompts.chat-mcp@latest", + "link": "https://github.com/f/prompts.chat-mcp", + "installation_notes": "Install using npx package manager.", + "is_builtin": false, + "endorsed": false, + "environmentVariables": [ + { + "name": "PROMPTS_API_KEY", + "description": "API Key to save and list private prompts on prompts.chat", + "required": false + } + ] + }, { "id": "reddit-mcp", "name": "Reddit",