Node wrapper that spawns the Go opsxdb-mcp binary (OPSXDB_MCP_BIN / PATH). Ready for npm publish --access public (requires 2FA OTP).
872 B
872 B
@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