PromptSuggestion

Smart Dislike · MCP Server

Flow 3 · Local tooling

Use PromptSuggestion with Claude Desktop

This option is for people who like wiring local MCP servers into Claude Desktop. It runs fully on your machine using a small TypeScript MCP server.

Local TypeScript server

Wire PromptSuggestion into Claude Desktop

1

Clone the Claude Desktop repo

Clone the TypeScript MCP server repo (PromptSuggestion-Claude-Desktop) into a folder on your machine.

2

Install dependencies with npm

From the project folder, run `npm install` to install all required packages.

3

Add your Gemini API key

Create a .env file with GEMINI_API_KEY, or set GEMINI_API_KEY in the Claude config env block.

4

Register the MCP server in Claude

Edit claude_desktop_config.json so Claude knows how to launch `npx tsx src/stdio.ts` with your key.

Claude Desktop config snippet

Edit your Claude config file, for example: ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) and add:

{
  "mcpServers": {
    "prompt-suggestion": {
      "command": "npx",
      "args": [
        "tsx",
        "/absolute/path/to/PromptSuggestion-Claude-Desktop/src/stdio.ts"
      ],
      "env": {
        "GEMINI_API_KEY": "YOUR_API_KEY_HERE"
      }
    }
  }
}

Replace /absolute/path/to/PromptSuggestion-Claude-Desktop with the actual folder path on your machine, and insert your real Gemini API key. Then restart Claude Desktop so it picks up the new MCP configuration.

Once loaded, you can attach prompt-suggestion to a conversation and ask Claude to call it whenever you need a cleaner, higher-quality prompt.

How to use it inside Claude

In a conversation where the tool is attached, you can say things like:

  • “Use the prompt-suggestion tool to rewrite this into a better prompt.”
  • “Call the MCP tool to give me one improved prompt based on this chat.”

Claude will call your local MCP server, receive one best prompt, and show it so you can send it as your next message.