Snipe-IT (unofficial)

السجل الرسمي أخرى

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

التثبيت

أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: ‏.cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).

NPM package the-real-snipeit-mcp
Claude Code
claude mcp add snipe-it-unofficial -e 'SNIPEIT_API_BASE=<SNIPEIT_API_BASE>' -e 'SNIPEIT_API_TOKEN=<your snipeit_api_token>' -e 'SNIPEIT_CONFIRM_WRITES=true' -e 'SNIPEIT_TIMEOUT_MS=30000' -e 'SNIPEIT_LOG_LEVEL=info' -e 'SNIPEIT_MAX_RESULT_BYTES=1048576' -e 'SNIPEIT_CALL_DEADLINE_MS=0' -e 'SNIPEIT_REDACT_PII=false' -e 'SNIPEIT_READ_ONLY=false' -e 'SNIPEIT_REQUIRE_PREVIEW=false' -- npx -y the-real-snipeit-mcp@0.2.1
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "snipe-it-unofficial": {
            "command": "npx",
            "args": [
                "-y",
                "the-real-snipeit-mcp@0.2.1"
            ],
            "env": {
                "SNIPEIT_API_BASE": "<SNIPEIT_API_BASE>",
                "SNIPEIT_API_TOKEN": "<your snipeit_api_token>",
                "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_READ_ONLY": "false",
                "SNIPEIT_REQUIRE_PREVIEW": "false"
            }
        }
    }
}

متغيرات البيئة

  • SNIPEIT_API_BASE إلزامي Snipe-IT API base URL including /api/v1, for example https://snipe-it.example.com/api/v1. Use https.
  • SNIPEIT_API_TOKEN إلزامي سري Snipe-IT Personal API Token (JWT), from Snipe-IT > User > Manage API Keys. It acts with the rights of its user.
  • SNIPEIT_CONFIRM_WRITES Write guard, on by default: write tools return a preview until called again with confirm: "YES". Only false, 0, no or off disable it.
  • SNIPEIT_TIMEOUT_MS Timeout in ms per HTTP attempt, including the body read (positive integer).
  • SNIPEIT_LOG_LEVEL Log level on stderr: debug, info, warn or error.
  • SNIPEIT_MAX_RESULT_BYTES Cap for one tool result in bytes (serialized JSON), minimum 65536. Larger results come back shortened with truncated: true.
  • SNIPEIT_CALL_DEADLINE_MS Overall deadline for one tool call in ms, across retries and all: true pagination. 0 means none.
  • SNIPEIT_REDACT_PII true masks personal data (email, username, names of people, phone, address, employee number) in tool results.
  • SNIPEIT_READ_ONLY true refuses every write at runtime; all tools stay registered and reads work.
  • SNIPEIT_REQUIRE_PREVIEW true (with the write guard on): confirm: "YES" executes only after a preview of the same request.

الأسئلة الشائعة

ما هو Snipe-IT (unofficial)؟

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

كيف أثبّت Snipe-IT (unofficial)؟

يعمل على جهازك. في Claude Code: claude mcp add snipe-it-unofficial -e 'SNIPEIT_API_BASE=<SNIPEIT_API_BASE>' -e 'SNIPEIT_API_TOKEN=<your snipeit_api_token>' -e 'SNIPEIT_CONFIRM_WRITES=true' -e 'SNIPEIT_TIMEOUT_MS=30000' -e 'SNIPEIT_LOG_LEVEL=info' -e 'SNIPEIT_MAX_RESULT_BYTES=1048576' -e 'SNIPEIT_CALL_DEADLINE_MS=0' -e 'SNIPEIT_REDACT_PII=false' -e 'SNIPEIT_READ_ONLY=false' -e 'SNIPEIT_REQUIRE_PREVIEW=false' -- npx -y the-real-snipeit-mcp@0.2.1. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج Snipe-IT (unofficial) إلى مفتاح API؟

نعم. يتطلب SNIPEIT_API_BASE, SNIPEIT_API_TOKEN، وتضبطها في إعداداته.

هل Snipe-IT (unofficial) مفتوح المصدر؟

شيفرته علنية على GitHub، لكن المستودع لا يعلن ترخيصًا قياسيًا.

من يصون Snipe-IT (unofficial)؟

ينشره mguttmann. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.