Files
opsxdb/packages/opsxdb-mcp
logan 8ae1e438a1 chore(mcp): add @rlwj-lab/opsxdb-mcp npm launcher package
Node wrapper that spawns the Go opsxdb-mcp binary (OPSXDB_MCP_BIN / PATH).
Ready for npm publish --access public (requires 2FA OTP).
2026-10-15 12:11:57 +08:00
..

@rlwj-lab/opsxdb-mcp

MCP (Model Context Protocol) launcher for OpsxDB.

This package ships a small Node CLI that spawns the Go opsxdb-mcp binary over stdio. Build the binary from the OpsxDB repo, then point the launcher at it.

Install

npm i -g @rlwj-lab/opsxdb-mcp
# or
npx -y @rlwj-lab/opsxdb-mcp

Build the Go binary

From the OpsxDB repository:

cd server && go build -o ../bin/opsxdb-mcp ./cmd/opsxdb-mcp

Put bin/opsxdb-mcp on PATH, or set:

export OPSXDB_MCP_BIN=/absolute/path/to/opsxdb-mcp

Cursor / Claude Desktop

{
  "mcpServers": {
    "opsxdb": {
      "command": "npx",
      "args": ["-y", "@rlwj-lab/opsxdb-mcp"],
      "env": {
        "OPSXDB_MCP_BIN": "/absolute/path/to/opsxdb-mcp"
      }
    }
  }
}

Config: ~/.opsxdb/mcp.json, ~/.opsxdb/connections.json.

License

MIT