clarifyprompt

v1.1.3
io.github.LumabyteCo/clarifyprompt Checked 5 days ago Published 8 months ago

AI prompt optimization for 58+ platforms across 7 categories with custom platforms

Values you need

VariableWhat it is
LLM_API_URLrequired LLM API endpoint URL (OpenAI-compatible or Anthropic)
LLM_API_KEYoptional secret API key for the LLM provider (not needed for local Ollama)
LLM_MODELrequired Model name/ID to use for optimization

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add clarifyprompt -e 'LLM_API_URL=<LLM_API_URL>' -e 'LLM_MODEL=<LLM_MODEL>' -- npx -y clarifyprompt-mcp@1.1.3
Add to claude_desktop_config.json
{
  "mcpServers": {
    "clarifyprompt": {
      "args": [
        "-y",
        "clarifyprompt-mcp@1.1.3"
      ],
      "command": "npx",
      "env": {
        "LLM_API_URL": "<LLM_API_URL>",
        "LLM_MODEL": "<LLM_MODEL>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "clarifyprompt": {
      "args": [
        "-y",
        "clarifyprompt-mcp@1.1.3"
      ],
      "command": "npx",
      "env": {
        "LLM_API_URL": "<LLM_API_URL>",
        "LLM_MODEL": "<LLM_MODEL>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "LLM_API_URL",
      "id": "llm-api-url",
      "password": true,
      "type": "promptString"
    },
    {
      "description": "LLM_MODEL",
      "id": "llm-model",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "clarifyprompt": {
      "args": [
        "-y",
        "clarifyprompt-mcp@1.1.3"
      ],
      "command": "npx",
      "env": {
        "LLM_API_URL": "${input:llm-api-url}",
        "LLM_MODEL": "${input:llm-model}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.clarifyprompt]
command = "npx"
args = ["-y", "clarifyprompt-mcp@1.1.3"]
env = { "LLM_API_URL" = "<LLM_API_URL>", "LLM_MODEL" = "<LLM_MODEL>" }

For AI agents

  1. Ask the user for: LLM_API_URL, LLM_MODEL. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: optimize_prompt, list_categories, list_platforms, list_modes, register_platform, update_platform, unregister_platform.
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json