T

The Real Snipeit MCP

by mguttmann · io.github.mguttmann/the-real-snipeit-mcp

Unofficial MCP server for the Snipe-IT REST API: assets, users, licenses, guarded writes.

npm Local · stdio GlamaOfficial MCP Registry High confidence

Install

Add to ~/Library/Application Support/Claude/claude_desktop_config.json

Windows / Linux path
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "io-github-mguttmann-the-real-snipeit-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "the-real-snipeit-mcp"
      ],
      "env": {
        "SNIPEIT_API_BASE": "https://snipe-it.example.com/api/v1",
        "SNIPEIT_API_TOKEN": "<YOUR_VALUE>",
        "SNIPEIT_CONFIRM_WRITES": "true",
        "SNIPEIT_TIMEOUT_MS": "30000",
        "SNIPEIT_LOG_LEVEL": "info",
        "SNIPEIT_MAX_RESULT_BYTES": "1048576",
        "SNIPEIT_CALL_DEADLINE_MS": "0",
        "SNIPEIT_REDACT_PII": "false",
        "SNIPEIT_REDACT_SECRETS": "false",
        "SNIPEIT_READ_ONLY": "false",
        "SNIPEIT_REQUIRE_PREVIEW": "false"
      }
    }
  }
}

Restart Claude Desktop to activate the new server.

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)

Windows / Linux path
Windows: .cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global)
Linux: .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "io-github-mguttmann-the-real-snipeit-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "the-real-snipeit-mcp"
      ],
      "env": {
        "SNIPEIT_API_BASE": "https://snipe-it.example.com/api/v1",
        "SNIPEIT_API_TOKEN": "<YOUR_VALUE>",
        "SNIPEIT_CONFIRM_WRITES": "true",
        "SNIPEIT_TIMEOUT_MS": "30000",
        "SNIPEIT_LOG_LEVEL": "info",
        "SNIPEIT_MAX_RESULT_BYTES": "1048576",
        "SNIPEIT_CALL_DEADLINE_MS": "0",
        "SNIPEIT_REDACT_PII": "false",
        "SNIPEIT_REDACT_SECRETS": "false",
        "SNIPEIT_READ_ONLY": "false",
        "SNIPEIT_REQUIRE_PREVIEW": "false"
      }
    }
  }
}

Cursor usually picks up config changes automatically; if the server does not appear, reload the window.

Add to .mcp.json (project) or ~/.claude.json (global)

Windows / Linux path
Windows: .mcp.json (project) or %USERPROFILE%\.claude.json (global)
Linux: .mcp.json (project) or ~/.claude.json (global)
{
  "mcpServers": {
    "io-github-mguttmann-the-real-snipeit-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "the-real-snipeit-mcp"
      ],
      "env": {
        "SNIPEIT_API_BASE": "https://snipe-it.example.com/api/v1",
        "SNIPEIT_API_TOKEN": "<YOUR_VALUE>",
        "SNIPEIT_CONFIRM_WRITES": "true",
        "SNIPEIT_TIMEOUT_MS": "30000",
        "SNIPEIT_LOG_LEVEL": "info",
        "SNIPEIT_MAX_RESULT_BYTES": "1048576",
        "SNIPEIT_CALL_DEADLINE_MS": "0",
        "SNIPEIT_REDACT_PII": "false",
        "SNIPEIT_REDACT_SECRETS": "false",
        "SNIPEIT_READ_ONLY": "false",
        "SNIPEIT_REQUIRE_PREVIEW": "false"
      }
    }
  }
}

The server will be available in the next Claude Code session.

Add to .vscode/mcp.json

Windows / Linux path
Windows: .vscode\mcp.json
Linux: .vscode/mcp.json
{
  "servers": {
    "io-github-mguttmann-the-real-snipeit-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "the-real-snipeit-mcp"
      ],
      "env": {
        "SNIPEIT_API_BASE": "https://snipe-it.example.com/api/v1",
        "SNIPEIT_API_TOKEN": "<YOUR_VALUE>",
        "SNIPEIT_CONFIRM_WRITES": "true",
        "SNIPEIT_TIMEOUT_MS": "30000",
        "SNIPEIT_LOG_LEVEL": "info",
        "SNIPEIT_MAX_RESULT_BYTES": "1048576",
        "SNIPEIT_CALL_DEADLINE_MS": "0",
        "SNIPEIT_REDACT_PII": "false",
        "SNIPEIT_REDACT_SECRETS": "false",
        "SNIPEIT_READ_ONLY": "false",
        "SNIPEIT_REQUIRE_PREVIEW": "false"
      }
    }
  }
}

Reload the VS Code window to activate.

Add to ~/.codeium/windsurf/mcp_config.json

Windows / Linux path
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Linux: ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "io-github-mguttmann-the-real-snipeit-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "the-real-snipeit-mcp"
      ],
      "env": {
        "SNIPEIT_API_BASE": "https://snipe-it.example.com/api/v1",
        "SNIPEIT_API_TOKEN": "<YOUR_VALUE>",
        "SNIPEIT_CONFIRM_WRITES": "true",
        "SNIPEIT_TIMEOUT_MS": "30000",
        "SNIPEIT_LOG_LEVEL": "info",
        "SNIPEIT_MAX_RESULT_BYTES": "1048576",
        "SNIPEIT_CALL_DEADLINE_MS": "0",
        "SNIPEIT_REDACT_PII": "false",
        "SNIPEIT_REDACT_SECRETS": "false",
        "SNIPEIT_READ_ONLY": "false",
        "SNIPEIT_REQUIRE_PREVIEW": "false"
      }
    }
  }
}

Restart Windsurf (or refresh its MCP servers panel) to activate the new server.

Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.

Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Windows / Linux path
Windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
Linux: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
{
  "mcpServers": {
    "io-github-mguttmann-the-real-snipeit-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "the-real-snipeit-mcp"
      ],
      "env": {
        "SNIPEIT_API_BASE": "https://snipe-it.example.com/api/v1",
        "SNIPEIT_API_TOKEN": "<YOUR_VALUE>",
        "SNIPEIT_CONFIRM_WRITES": "true",
        "SNIPEIT_TIMEOUT_MS": "30000",
        "SNIPEIT_LOG_LEVEL": "info",
        "SNIPEIT_MAX_RESULT_BYTES": "1048576",
        "SNIPEIT_CALL_DEADLINE_MS": "0",
        "SNIPEIT_REDACT_PII": "false",
        "SNIPEIT_REDACT_SECRETS": "false",
        "SNIPEIT_READ_ONLY": "false",
        "SNIPEIT_REQUIRE_PREVIEW": "false"
      }
    }
  }
}

Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.

Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
SNIPEIT_API_BASE Yes API base URL, including /api/v1. The default is an RFC 2606 placeholder; set your instance. The server starts with any valid URL but logs a warning when the placeholder is in use, when http goes to a non-loopback host (cleartext token), for other schemes, for credentials in the URL and for a query or fragment. Default: https://snipe-it.example.com/api/v1
SNIPEIT_API_TOKEN secret Yes Snipe-IT Personal API Token (JWT). Read from this environment variable only.
SNIPEIT_CONFIRM_WRITES No If on (default), destructive tools require confirm: "YES". Only false, 0, no or off (any case) disable the guard; empty or unrecognised values keep it on and log a warning. Default: true
SNIPEIT_TIMEOUT_MS No Timeout in ms per attempt (positive integer), covering the response headers and the full body read. Default: 30000
SNIPEIT_LOG_LEVEL No Log level: debug | info | warn | error. Default: info
SNIPEIT_MAX_RESULT_BYTES No Cap for one tool result (serialized JSON, bytes); minimum 65536. Values above 8 MiB log a warning. Larger results are shortened to valid JSON with a truncation marker. Default: 1048576
SNIPEIT_CALL_DEADLINE_MS No Overall deadline for one tool call in ms, across retries, backoffs and all: true pagination; 0 disables it. Default: 0
SNIPEIT_REDACT_PII No Mask personal data in tool results with (redacted). Accepts true/false (also 1/0, yes/no, on/off); an unrecognised value turns it on and logs a warning. Default: false
SNIPEIT_REDACT_SECRETS No true masks secrets (password/secret/token/api_key fields, secret custom field values) in tool results with (redacted). Default: false
SNIPEIT_READ_ONLY No Refuse every write at runtime with a READ_ONLY tool error; all tools stay registered and reads work. Same accepted values as SNIPEIT_REDACT_PII; an unrecognised value turns it on. Default: false
SNIPEIT_REQUIRE_PREVIEW No While the write guard is on, confirm: "YES" executes only after a preview of the identical request in the last 10 minutes, once per preview. Same accepted values as SNIPEIT_REDACT_PII. Default: false

Similar servers