clarifyprompt
v1.1.3AI prompt optimization for 58+ platforms across 7 categories with custom platforms
Values you need
| Variable | What it is | |
|---|---|---|
LLM_API_URL | required | LLM API endpoint URL (OpenAI-compatible or Anthropic) |
LLM_API_KEY | optional secret | API key for the LLM provider (not needed for local Ollama) |
LLM_MODEL | required | 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.3Add 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
- 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.
- 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).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: optimize_prompt, list_categories, list_platforms, list_modes, register_platform, update_platform, unregister_platform.
- 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