OpsDoctor

v2.1.0
io.github.jhicks935-lab/opsdoctor Checked 1 day ago Published 2 months ago

AI-powered CRM diagnostics, workflow audits, and industry benchmarks for SMBs.

Values you need

VariableWhat it is
GEMINI_API_KEYrequired secret Google Gemini API key for AI-powered diagnostics and audits
OPSDOCTOR_KB_API_URLrequired URL for the OpsDoctor knowledge base API (provides KB entries and CRM profiles)
OPSDOCTOR_KB_API_KEYrequired secret API key for authenticating with the OpsDoctor knowledge base API

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add opsdoctor -e 'GEMINI_API_KEY=<GEMINI_API_KEY>' -e 'OPSDOCTOR_KB_API_KEY=<OPSDOCTOR_KB_API_KEY>' -e 'OPSDOCTOR_KB_API_URL=<OPSDOCTOR_KB_API_URL>' -- npx -y opsdoctor-mcp@2.1.0
Add to claude_desktop_config.json
{
  "mcpServers": {
    "opsdoctor": {
      "args": [
        "-y",
        "opsdoctor-mcp@2.1.0"
      ],
      "command": "npx",
      "env": {
        "GEMINI_API_KEY": "<GEMINI_API_KEY>",
        "OPSDOCTOR_KB_API_KEY": "<OPSDOCTOR_KB_API_KEY>",
        "OPSDOCTOR_KB_API_URL": "<OPSDOCTOR_KB_API_URL>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "opsdoctor": {
      "args": [
        "-y",
        "opsdoctor-mcp@2.1.0"
      ],
      "command": "npx",
      "env": {
        "GEMINI_API_KEY": "<GEMINI_API_KEY>",
        "OPSDOCTOR_KB_API_KEY": "<OPSDOCTOR_KB_API_KEY>",
        "OPSDOCTOR_KB_API_URL": "<OPSDOCTOR_KB_API_URL>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "GEMINI_API_KEY",
      "id": "gemini-api-key",
      "password": true,
      "type": "promptString"
    },
    {
      "description": "OPSDOCTOR_KB_API_KEY",
      "id": "opsdoctor-kb-api-key",
      "password": true,
      "type": "promptString"
    },
    {
      "description": "OPSDOCTOR_KB_API_URL",
      "id": "opsdoctor-kb-api-url",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "opsdoctor": {
      "args": [
        "-y",
        "opsdoctor-mcp@2.1.0"
      ],
      "command": "npx",
      "env": {
        "GEMINI_API_KEY": "${input:gemini-api-key}",
        "OPSDOCTOR_KB_API_KEY": "${input:opsdoctor-kb-api-key}",
        "OPSDOCTOR_KB_API_URL": "${input:opsdoctor-kb-api-url}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.opsdoctor]
command = "npx"
args = ["-y", "opsdoctor-mcp@2.1.0"]
env = { "GEMINI_API_KEY" = "<GEMINI_API_KEY>", "OPSDOCTOR_KB_API_KEY" = "<OPSDOCTOR_KB_API_KEY>", "OPSDOCTOR_KB_API_URL" = "<OPSDOCTOR_KB_API_URL>" }

For AI agents

  1. Ask the user for: GEMINI_API_KEY, OPSDOCTOR_KB_API_URL, OPSDOCTOR_KB_API_KEY. 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: run_diagnostic, run_workflow_audit, query_knowledge_base, get_audit_history, generate_report, guided_audit.
  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