{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.nivlewd1/mcp-prompt-optimizer",
  "slug": "io.github.nivlewd1.mcp-prompt-optimizer",
  "title": "Prompt Optimizer",
  "summary": "Optimize prompts and generate agent SOPs and skill packages with the Prompt Optimizer cloud API.",
  "version": "3.8.11",
  "serverKey": "mcp-prompt-optimizer",
  "pageUrl": "https://mcpkglabs.com/tool/io.github.nivlewd1.mcp-prompt-optimizer",
  "installMdUrl": "https://mcpkglabs.com/tool/io.github.nivlewd1.mcp-prompt-optimizer/install.md",
  "trust": {
    "score": 86,
    "grade": "A",
    "smokeStatus": "needs_credentials",
    "status": "active",
    "verifiedAt": "2026-12-01T14:45:39.362224614Z"
  },
  "methods": [
    {
      "id": "npm",
      "label": "npm (npx)",
      "transport": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-prompt-optimizer@3.8.11"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add mcp-prompt-optimizer -e 'OPTIMIZER_API_KEY=<OPTIMIZER_API_KEY>' -- npx -y mcp-prompt-optimizer@3.8.11"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"mcp-prompt-optimizer\": {\n      \"args\": [\n        \"-y\",\n        \"mcp-prompt-optimizer@3.8.11\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"OPTIMIZER_API_KEY\": \"<OPTIMIZER_API_KEY>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"mcp-prompt-optimizer\": {\n      \"args\": [\n        \"-y\",\n        \"mcp-prompt-optimizer@3.8.11\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"OPTIMIZER_API_KEY\": \"<OPTIMIZER_API_KEY>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"inputs\": [\n    {\n      \"description\": \"OPTIMIZER_API_KEY\",\n      \"id\": \"optimizer-api-key\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    }\n  ],\n  \"servers\": {\n    \"mcp-prompt-optimizer\": {\n      \"args\": [\n        \"-y\",\n        \"mcp-prompt-optimizer@3.8.11\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"OPTIMIZER_API_KEY\": \"${input:optimizer-api-key}\"\n      },\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.mcp-prompt-optimizer]\ncommand = \"npx\"\nargs = [\"-y\", \"mcp-prompt-optimizer@3.8.11\"]\nenv = { \"OPTIMIZER_API_KEY\" = \"<OPTIMIZER_API_KEY>\" }"
        }
      ],
      "requires": [
        "Node.js 18+"
      ]
    }
  ],
  "env": [
    {
      "name": "OPTIMIZER_API_KEY",
      "required": true,
      "secret": true,
      "description": "Your Prompt Optimizer API key (starts with sk-opt-). A free key takes no card: https://promptoptimizer.xyz/dashboard",
      "help": "Your Prompt Optimizer API key (starts with sk-opt-). A free key takes no card: https://promptoptimizer.xyz/dashboard",
      "placeholder": "<OPTIMIZER_API_KEY>"
    }
  ],
  "agentSteps": [
    "Ask the user for: OPTIMIZER_API_KEY. 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.",
    "If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set."
  ],
  "generatedAt": "2026-12-01T14:45:39.362224614Z"
}
