Log Insight Mcp Server — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Log Insight Mcp Server (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
A Model Context Protocol (MCP) server that connects AI assistants like Claude to VMware Log Insight, enabling natural-language log querying and analysis.
This server acts as a bridge between MCP-compatible clients (such as Claude Code or Claude Desktop) and a VMware Log Insight instance. It exposes two tools that allow an AI assistant to query and analyze logs on your behalf:
error, critical, exception, fatal, fail) within a time range.The server manages authentication with Log Insight automatically, including session renewal and retry on expiry.
MCP Client (Claude) ──HTTP POST──▶ MCP Server (:3000) ──HTTPS──▶ Log Insight API (:9543)
│
├─ /mcp (MCP protocol endpoint)
└─ /health (health check)Key components:
| File | Role |
|---|---|
src/index.ts | HTTP server, MCP session management |
src/loginsight-client.ts | Log Insight REST API client with auth handling |
src/tools/query-logs.ts | MCP tool definitions and handlers |
git clone <repo-url>
cd log-insight-mcp-servernpm installCreate a .env file in the project root (or copy and edit the existing one):
LOGINSIGHT_URL=https://your-loginsight-host
LOGINSIGHT_USERNAME=admin
LOGINSIGHT_PASSWORD=your-password| Variable | Required | Description |
|---|---|---|
LOGINSIGHT_URL | Yes | Base URL of your Log Insight instance (e.g. https://10.10.10.119) |
LOGINSIGHT_USERNAME | Yes | Log Insight user with API access |
LOGINSIGHT_PASSWORD | Yes | Password for the above user |
PORT | No | Server port (defaults to 3000) |
The server will exit with an error if any required variable is missing.
npm run buildThis compiles TypeScript from src/ into dist/.
Production:
npm startDevelopment (watch mode):
npm run devThe server starts on http://localhost:3000. Verify it is running:
curl http://localhost:3000/healthAdd the server to your Claude Code MCP configuration:
{
"mcpServers": {
"log-insight": {
"type": "http",
"url": "http://localhost:3000/mcp"
}
}
}Add to your Claude Desktop config (claude_desktop_config.json):
{
"mcpServers": {
"log-insight": {
"type": "http",
"url": "http://localhost:3000/mcp"
}
}
}Once connected, you can ask Claude questions like:
query_logsQuery logs within a time range.
| Parameter | Type | Required | Description |
|---|---|---|---|
startTime | string (ISO 8601) | Yes | Start of the time range |
endTime | string (ISO 8601) | Yes | End of the time range |
keyword | string | No | Text to search for in log messages |
limit | number (1–20000) | No | Max results to return (default: 200) |
search_logs_for_errorsSearch for error-pattern logs within a time range.
| Parameter | Type | Required | Description |
|---|---|---|---|
startTime | string (ISO 8601) | Yes | Start of the time range |
endTime | string (ISO 8601) | Yes | End of the time range |
errorPattern | string | No | Error keyword to match (default: "error") |
limit | number (1–20000) | No | Max results to return (default: 500) |
cf login)The Node.js buildpack automatically runs npm run build during staging, so no local pre-build is needed. Supply credentials at deploy time so they never appear in committed files:
cf push \
--var loginsight-url=https://your-loginsight-host \
--var loginsight-username=admin \
--var loginsight-password=your-passwordAlternatively, create a vars.yml file (already gitignored):
loginsight-url: https://your-loginsight-host
loginsight-username: admin
loginsight-password: your-passwordThen deploy:
cf push --vars-file vars.ymlcf app log-insight-mcp
curl https://<your-app-route>/health| Command | Description |
|---|---|
npm start | Run the server |
npm run dev | Run in watch mode (auto-restart on changes) |
npm run build | Compile TypeScript to dist/ |
ISC
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.