ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที รีวิวและบัญชีผู้ใช้จะมาในขั้นถัดไป
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · อธิบายเป็นภาษาคน

GLPI MCP

โดย mhajderรุ่น 0.1.0i★ –iรันบนเครื่อง
ชื่อใน registryio.github.mhajder/glpi-mcp

ติดตั้ง

ภาพรวม

คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)

MCP server for GLPI IT service management (tickets, assets, users, knowledge base)

สามเสาของ PopNx MCP

สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน

ใช้ทำอะไรได้

ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry

  • การเชื่อมต่อ: รันบนเครื่อง
  • ช่องทาง (transport): stdio, Streamable HTTP
  • หมวด: ค้นข้อมูลและความจำของ AI
  • ต้องใส่ค่าเหล่านี้: GLPI_URL, GLPI_CLIENT_ID, GLPI_CLIENT_SECRET, GLPI_USERNAME, GLPI_PASSWORD

ติดตั้ง

เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง

ก่อนติดตั้ง

  • ผลตรวจเบื้องต้น: ผ่าน 1 จาก 1 ข้อ
  • รันในเครื่องคุณด้วยสิทธิ์ของผู้ใช้คุณ (ไฟล์ อินเทอร์เน็ต แอปต่าง ๆ)
  • ค่าที่คุณต้องใส่เอง: GLPI_URL, GLPI_CLIENT_ID, GLPI_CLIENT_SECRET, GLPI_USERNAME, GLPI_PASSWORD, GLPI_SCOPES, GLPI_API_VERSION, GLPI_ENTITY, GLPI_ENTITY_RECURSIVE, GLPI_PROFILE, GLPI_VERIFY_SSL, GLPI_TIMEOUT, READ_ONLY_MODE, DRY_RUN_MODE, DISABLED_TAGS, RESPONSE_MAX_SIZE, LOG_LEVEL, RATE_LIMIT_ENABLED, RATE_LIMIT_MAX_REQUESTS, RATE_LIMIT_WINDOW_MINUTES, TOOL_SEARCH_ENABLED, TOOL_SEARCH_STRATEGY, TOOL_SEARCH_MAX_RESULTS

ค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต

ต้องเตรียมก่อน

  • PyPIติดตั้ง uv ของ Python (มีคำสั่ง uvx) ในเครื่อง

คุณใช้แอปไหน

เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”

เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json

{
  "mcpServers": {
    "glpi": {
      "command": "uvx",
      "args": [
        "glpi-mcp-server"
      ],
      "env": {
        "GLPI_URL": "ใส่ค่าของคุณ",
        "GLPI_CLIENT_ID": "ใส่ค่าของคุณ",
        "GLPI_CLIENT_SECRET": "ใส่ค่าของคุณ",
        "GLPI_USERNAME": "ใส่ค่าของคุณ",
        "GLPI_PASSWORD": "ใส่ค่าของคุณ",
        "GLPI_SCOPES": "ใส่ค่าของคุณ",
        "GLPI_API_VERSION": "ใส่ค่าของคุณ",
        "GLPI_ENTITY": "ใส่ค่าของคุณ",
        "GLPI_ENTITY_RECURSIVE": "ใส่ค่าของคุณ",
        "GLPI_PROFILE": "ใส่ค่าของคุณ",
        "GLPI_VERIFY_SSL": "ใส่ค่าของคุณ",
        "GLPI_TIMEOUT": "ใส่ค่าของคุณ",
        "READ_ONLY_MODE": "ใส่ค่าของคุณ",
        "DRY_RUN_MODE": "ใส่ค่าของคุณ",
        "DISABLED_TAGS": "ใส่ค่าของคุณ",
        "RESPONSE_MAX_SIZE": "ใส่ค่าของคุณ",
        "LOG_LEVEL": "ใส่ค่าของคุณ",
        "RATE_LIMIT_ENABLED": "ใส่ค่าของคุณ",
        "RATE_LIMIT_MAX_REQUESTS": "ใส่ค่าของคุณ",
        "RATE_LIMIT_WINDOW_MINUTES": "ใส่ค่าของคุณ",
        "TOOL_SEARCH_ENABLED": "ใส่ค่าของคุณ",
        "TOOL_SEARCH_STRATEGY": "ใส่ค่าของคุณ",
        "TOOL_SEARCH_MAX_RESULTS": "ใส่ค่าของคุณ"
      }
    }
  }
}

พิมพ์คำสั่งนี้ใน Terminal

claude mcp add glpi --env GLPI_URL='ใส่ค่าของคุณ' --env GLPI_CLIENT_ID='ใส่ค่าของคุณ' --env GLPI_CLIENT_SECRET='ใส่ค่าของคุณ' --env GLPI_USERNAME='ใส่ค่าของคุณ' --env GLPI_PASSWORD='ใส่ค่าของคุณ' --env GLPI_SCOPES='ใส่ค่าของคุณ' --env GLPI_API_VERSION='ใส่ค่าของคุณ' --env GLPI_ENTITY='ใส่ค่าของคุณ' --env GLPI_ENTITY_RECURSIVE='ใส่ค่าของคุณ' --env GLPI_PROFILE='ใส่ค่าของคุณ' --env GLPI_VERIFY_SSL='ใส่ค่าของคุณ' --env GLPI_TIMEOUT='ใส่ค่าของคุณ' --env READ_ONLY_MODE='ใส่ค่าของคุณ' --env DRY_RUN_MODE='ใส่ค่าของคุณ' --env DISABLED_TAGS='ใส่ค่าของคุณ' --env RESPONSE_MAX_SIZE='ใส่ค่าของคุณ' --env LOG_LEVEL='ใส่ค่าของคุณ' --env RATE_LIMIT_ENABLED='ใส่ค่าของคุณ' --env RATE_LIMIT_MAX_REQUESTS='ใส่ค่าของคุณ' --env RATE_LIMIT_WINDOW_MINUTES='ใส่ค่าของคุณ' --env TOOL_SEARCH_ENABLED='ใส่ค่าของคุณ' --env TOOL_SEARCH_STRATEGY='ใส่ค่าของคุณ' --env TOOL_SEARCH_MAX_RESULTS='ใส่ค่าของคุณ' -- uvx glpi-mcp-server

เติมค่าที่เว้นว่างไว้ก่อนรัน

เปิดใน Cursor

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json

{
  "mcpServers": {
    "glpi": {
      "command": "uvx",
      "args": [
        "glpi-mcp-server"
      ],
      "env": {
        "GLPI_URL": "ใส่ค่าของคุณ",
        "GLPI_CLIENT_ID": "ใส่ค่าของคุณ",
        "GLPI_CLIENT_SECRET": "ใส่ค่าของคุณ",
        "GLPI_USERNAME": "ใส่ค่าของคุณ",
        "GLPI_PASSWORD": "ใส่ค่าของคุณ",
        "GLPI_SCOPES": "ใส่ค่าของคุณ",
        "GLPI_API_VERSION": "ใส่ค่าของคุณ",
        "GLPI_ENTITY": "ใส่ค่าของคุณ",
        "GLPI_ENTITY_RECURSIVE": "ใส่ค่าของคุณ",
        "GLPI_PROFILE": "ใส่ค่าของคุณ",
        "GLPI_VERIFY_SSL": "ใส่ค่าของคุณ",
        "GLPI_TIMEOUT": "ใส่ค่าของคุณ",
        "READ_ONLY_MODE": "ใส่ค่าของคุณ",
        "DRY_RUN_MODE": "ใส่ค่าของคุณ",
        "DISABLED_TAGS": "ใส่ค่าของคุณ",
        "RESPONSE_MAX_SIZE": "ใส่ค่าของคุณ",
        "LOG_LEVEL": "ใส่ค่าของคุณ",
        "RATE_LIMIT_ENABLED": "ใส่ค่าของคุณ",
        "RATE_LIMIT_MAX_REQUESTS": "ใส่ค่าของคุณ",
        "RATE_LIMIT_WINDOW_MINUTES": "ใส่ค่าของคุณ",
        "TOOL_SEARCH_ENABLED": "ใส่ค่าของคุณ",
        "TOOL_SEARCH_STRATEGY": "ใส่ค่าของคุณ",
        "TOOL_SEARCH_MAX_RESULTS": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

เปิดใน VS Code

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .vscode/mcp.json ของโปรเจกต์

{
  "servers": {
    "glpi": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "glpi-mcp-server"
      ],
      "env": {
        "GLPI_URL": "ใส่ค่าของคุณ",
        "GLPI_CLIENT_ID": "ใส่ค่าของคุณ",
        "GLPI_CLIENT_SECRET": "ใส่ค่าของคุณ",
        "GLPI_USERNAME": "ใส่ค่าของคุณ",
        "GLPI_PASSWORD": "ใส่ค่าของคุณ",
        "GLPI_SCOPES": "ใส่ค่าของคุณ",
        "GLPI_API_VERSION": "ใส่ค่าของคุณ",
        "GLPI_ENTITY": "ใส่ค่าของคุณ",
        "GLPI_ENTITY_RECURSIVE": "ใส่ค่าของคุณ",
        "GLPI_PROFILE": "ใส่ค่าของคุณ",
        "GLPI_VERIFY_SSL": "ใส่ค่าของคุณ",
        "GLPI_TIMEOUT": "ใส่ค่าของคุณ",
        "READ_ONLY_MODE": "ใส่ค่าของคุณ",
        "DRY_RUN_MODE": "ใส่ค่าของคุณ",
        "DISABLED_TAGS": "ใส่ค่าของคุณ",
        "RESPONSE_MAX_SIZE": "ใส่ค่าของคุณ",
        "LOG_LEVEL": "ใส่ค่าของคุณ",
        "RATE_LIMIT_ENABLED": "ใส่ค่าของคุณ",
        "RATE_LIMIT_MAX_REQUESTS": "ใส่ค่าของคุณ",
        "RATE_LIMIT_WINDOW_MINUTES": "ใส่ค่าของคุณ",
        "TOOL_SEARCH_ENABLED": "ใส่ค่าของคุณ",
        "TOOL_SEARCH_STRATEGY": "ใส่ค่าของคุณ",
        "TOOL_SEARCH_MAX_RESULTS": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น

ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี

ค่าที่ต้องใส่เอง

  • GLPI_URL จำเป็น env
    GLPI root URL without /api.php (e.g., https://glpi.example.com); needs GLPI 11.0.6+ or 12
  • GLPI_CLIENT_ID จำเป็น env
    OAuth client ID from GLPI Setup > OAuth clients
  • GLPI_CLIENT_SECRET ความลับ จำเป็น env
    OAuth client secret from GLPI Setup > OAuth clients
  • GLPI_USERNAME จำเป็น env
    GLPI user the tools act as (OAuth password grant)
  • GLPI_PASSWORD ความลับ จำเป็น env
    Password of the GLPI user
  • GLPI_SCOPES env
    OAuth scopes to request, space- or comma-separated (add graphql for GraphQL)
  • GLPI_API_VERSION env
    High-Level API version: auto, 2.3 or 3.0
  • GLPI_ENTITY env
    Entity ID to work in (GLPI-Entity header)
  • GLPI_ENTITY_RECURSIVE env
    Include sub-entities of GLPI_ENTITY
  • GLPI_PROFILE env
    Profile ID to work with (GLPI-Profile header)
  • GLPI_VERIFY_SSL env
    Verify SSL certificates
  • GLPI_TIMEOUT env
    Total seconds allowed for one request, retries included
  • READ_ONLY_MODE env
    Enable read-only mode to restrict write operations
  • DRY_RUN_MODE env
    Write tools return the request they would send instead of changing GLPI
  • DISABLED_TAGS env
    Comma-separated list of tags to disable tools for
  • RESPONSE_MAX_SIZE env
    Maximum size of a tool response in bytes (empty = unlimited)
  • LOG_LEVEL env
    Logging level (DEBUG, INFO, WARNING, ERROR, CRITICAL)
  • RATE_LIMIT_ENABLED env
    Enable rate limiting
  • RATE_LIMIT_MAX_REQUESTS env
    Maximum requests per rate limit window
  • RATE_LIMIT_WINDOW_MINUTES env
    Rate limit window in minutes
  • TOOL_SEARCH_ENABLED env
    Enable FastMCP tool search transform
  • TOOL_SEARCH_STRATEGY env
    Tool search strategy (bm25 or regex)
  • TOOL_SEARCH_MAX_RESULTS env
    Maximum tool search results returned by search_tools

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

ทำอะไรได้บ้าง

รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันด้วยบัญชี GitHub mhajder ซึ่งเป็นเจ้าของ repo

  • … ยังไม่ตรวจ

    ยังมีคนดูแล

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • … ยังไม่ตรวจ

    มีสัญญาอนุญาต (license)

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • – ไม่เกี่ยว

    endpoint ตอบ

    ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต

เทียบกับตัวอื่นในหมวด ค้นข้อมูลและความจำของ AIi

  • ดาวมากกว่า 0% ของอีก 7281 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 75% ของอีก 7281 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 7281 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

GLPI MCP ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

ต้องใส่ค่าเหล่านี้: GLPI_URL, GLPI_CLIENT_ID, GLPI_CLIENT_SECRET, GLPI_USERNAME, GLPI_PASSWORD

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.1.0) เข้า registry 12 วันที่ผ่านมา

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Python (uv), Docker ในเครื่องด้วย

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี Context7, Codebase Memory, Exa

ตัวที่ใช้แทนได้

server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว

อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

Context7

โดย upstash

ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว

บนเครื่องหรือคลาวด์★ 64,224MITอัปเดต เมื่อวาน
ติดตั้ง

Codebase Memory

โดย DeusData

Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.

รันบนเครื่อง★ 48,148MITอัปเดต 21 วันที่ผ่านมา
ติดตั้ง

Exa

โดย exa-labs

Connect AI agents to Exa for web search, content fetching, and multi-step research.

รันบนคลาวด์★ 5,213MITอัปเดต เดือนที่แล้ว
ติดตั้ง

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ

GLPI MCP Server

Let AI agents work with GLPI tickets, assets and the knowledge base through the Model Context Protocol

Installation · Tools · Configuration · Security

GLPI MCP Server is a Python-based Model Context Protocol (MCP) server for the GLPI IT service management platform. It talks to GLPI's High-Level API (/api.php, OAuth2) and gives AI assistants and automation tools access to tickets, changes and problems (with their timeline and team), assets, users, groups, entities, the knowledge base and documents, plus generic tools that reach every endpoint GLPI exposes. It supports read and write operations, with read-only and dry-run modes, per-user GLPI access and OAuth login for remote MCP clients.

✨ Features

Core Features
  • Search tickets, changes and problems by status, type, priority, category, entity, dates, text or any RSQL filter
  • Read the full timeline of an item: followups, tasks, solutions, approvals and documents
  • Search and read assets of every type (including custom assets), with financial information
  • Find users, groups, entities and profiles
  • Search and read knowledge base articles; download documents
  • Discover every endpoint and schema from GLPI's own OpenAPI document, so nothing is hard-coded to one GLPI version
Management Operations
  • Create, update and delete tickets, changes and problems (if enabled)
  • Add followups, tasks, solutions and approval requests
  • Assign technicians and groups, add requesters and observers
  • Create, update and delete assets and knowledge base articles
  • Create, update and delete items at any endpoint with the generic tools
Advanced Capabilities
  • Supports GLPI 11.0.6+ (API 2.3) and GLPI 12 (API 3.0, or 2.3 if pinned); the version is detected and pinned in every request
  • OAuth password grant with token caching and renewal
  • Per-user access: token passthrough, or sign-in with GLPI accounts (OAuth login) for remote MCP clients
  • OIDC login through an external identity provider, or a static bearer token
  • Read-only mode, dry-run mode and tag-based tool filtering
  • HTML rich text converted to plain text to save tokens
  • Rate limiting, response size limit and optional tool-search transform
  • Multiple transport options (STDIO, SSE, HTTP) and optional Sentry integration

🚀 Installation

Prerequisites
  • Python 3.11 to 3.15
  • GLPI 11.0.6 or newer (including 12.x). GLPI 10 and GLPI 11.0.0-11.0.5 are not supported: they lack High-Level API 2.3
  • The API enabled in Setup > General > API ("Enable API")
  • An OAuth client (see GLPI setup)
Quick Install from PyPI

The easiest way to get started is to install from PyPI:

# Using UV (recommended)

uvx glpi-mcp-server

Or using pip

pip install glpi-mcp-server

Remember to configure the environment variables for your GLPI instance before running the server:

# Create environment configuration

export GLPI_URL=https://glpi.example.com export GLPI_CLIENT_ID=your-client-id export GLPI_CLIENT_SECRET=your-client-secret export GLPI_USERNAME=glpi-mcp export GLPI_PASSWORD=change-me

Install from Source
  1. Clone the repository:
git clone https://github.com/mhajder/glpi-mcp.git

cd glpi-mcp

  1. Install dependencies:
# Using UV (recommended)

uv sync

Or using pip

pip install -e .

  1. Configure environment variables:
cp .env.example .env

Edit .env with your GLPI URL and OAuth credentials

  1. Run the server:
# Using UV (recommended)

uv run glpi-mcp

Or using the installed command directly

glpi-mcp

Using Docker

A Docker image is available on GitHub Packages for easy deployment. It runs the HTTP Streamable transport on port 8000 (/mcp).

docker pull ghcr.io/mhajder/glpi-mcp:latest

When GLPI login or OIDC is enabled, mount a volume on /data so OAuth client registrations survive container recreation.

Open WebUI

Open WebUI 0.6.31 and later connect to the image directly. In Open WebUI, go to Admin Settings > Integrations > External Tool Servers, add a connection of type MCP (Streamable HTTP) with the URL http:// :8000/mcp, and set Bearer authentication to your MCP_HTTP_BEARER_TOKEN.

With GLPI login or OIDC enabled, use the public URL + /mcp and choose OAuth 2.1 authentication instead; Open WebUI registers itself as a client, so if you restrict redirect URIs, include your Open WebUI URL.

Development Setup

For development with additional tools:

# Clone and install with development dependencies

git clone https://github.com/mhajder/glpi-mcp.git cd glpi-mcp uv sync --group dev

Run tests

uv run pytest

Run with coverage

uv run pytest --cov=src/

Run linting and formatting

uv run ruff check . uv run ruff format .

Run type checking

uv run ty check .

Setup prek hooks

uv run prek install

🔧 Configuration

GLPI setup
  1. Enable the API: Setup > General > API > "Enable API".
  2. Create an OAuth client: Setup > OAuth clients > Add.
  • Grants: Password (for GLPI_USERNAME/GLPI_PASSWORD). Add Authorization Code for GLPI login.
  • Scopes: api and user. Add graphql for glpi_graphql_query.
  • For GLPI login, set the redirect URI to GLPI_OAUTH_BASE_URL + GLPI_OAUTH_REDIRECT_PATH.
  • Copy the generated client ID and secret.
  1. Create a GLPI user for the server (for example glpi-mcp) with a profile that has just the rights the tools need. Every tool call acts as this user, unless per-user access is enabled.
Environment Variables
# GLPI Connection Details

GLPI root URL, without /api.php

GLPI_URL=https://glpi.example.com

OAuth client from Setup > OAuth clients

GLPI_CLIENT_ID=your-client-id GLPI_CLIENT_SECRET=your-client-secret

GLPI account the tools act as (OAuth password grant)

GLPI_USERNAME=glpi-mcp GLPI_PASSWORD=change-me

OAuth scopes, space- or comma-separated (default: api user)

GLPI_SCOPES=api user

High-Level API version: auto (default), 2.3 or 3.0

GLPI_API_VERSION=auto

Optional: entity and profile to work in

GLPI_ENTITY=0

GLPI_ENTITY_RECURSIVE=true

GLPI_PROFILE=4

SSL Configuration

GLPI_VERIFY_SSL=true GLPI_TIMEOUT=30

Per-user GLPI access (HTTP transports only; pick at most one)

GLPI_TOKEN_PASSTHROUGH=false

GLPI_OAUTH_LOGIN=false

GLPI_OAUTH_BASE_URL=https://glpi-mcp.example.com

GLPI_OAUTH_REDIRECT_PATH=/auth/callback

GLPI_OAUTH_ALLOWED_REDIRECT_URIS=

Read-Only Mode

READ_ONLY_MODE=false

Dry-Run Mode

DRY_RUN_MODE=false

Disabled Tags

Example: DISABLED_TAGS=assets,knowledgebase,graphql

DISABLED_TAGS=

Response Size Limit (bytes; empty = unlimited)

RESPONSE_MAX_SIZE=500000

Logging Configuration

LOG_LEVEL=INFO

Rate Limiting

RATE_LIMIT_ENABLED=false RATE_LIMIT_MAX_REQUESTS=60 RATE_LIMIT_WINDOW_MINUTES=1

Tool Search Transform (Optional)

TOOL_SEARCH_ENABLED=false TOOL_SEARCH_STRATEGY=bm25 TOOL_SEARCH_MAX_RESULTS=5

Sentry Error Tracking (Optional)

SENTRY_DSN=https://your-key@o12345.ingest.us.sentry.io/6789

MCP Transport Configuration

'stdio' (default), 'sse' or 'http' ('streamable-http' is an alias for 'http')

MCP_TRANSPORT=stdio

MCP_HTTP_HOST=127.0.0.1

MCP_HTTP_PORT=8000

MCP_HTTP_BEARER_TOKEN=

OIDC / OAuth Authentication (optional, for remote hosting)

OIDC_CONFIG_URL=https://id.example.com/.well-known/openid-configuration

OIDC_CLIENT_ID=

OIDC_CLIENT_SECRET=

OIDC_BASE_URL=https://glpi-mcp.example.com

See .env.example for every setting with comments.

API versions

GLPI lists the High-Level API versions it offers at GET /api.php/. On first use the server reads that list and pins one version in every request path (/api.php/v2.3/... or /api.php/v3.0/...), because GLPI silently routes an unknown version to its newest one.

GLPIVersions offeredGLPI_API_VERSION=auto picks
10.x, 11.0.0-11.0.5none / 2.0-2.2not supported
11.0.6+2.32.3
12.x2.3, 3.03.0

Set GLPI_API_VERSION=2.3 to keep GLPI 12 on the 2.3 schemas (for example while migrating other integrations). The tools that depend on a schema difference handle both: knowledge base articles are filed under categories on 2.3 and under parent articles (parents) on 3.0.

Entity and profile

GLPI scopes every API session to an active profile and entities. By default these are the user's defaults. GLPI_ENTITY, GLPI_ENTITY_RECURSIVE and GLPI_PROFILE send the GLPI-Entity, GLPI-Entity-Recursive and GLPI-Profile headers with every request to change them. glpi_whoami shows the active ones and glpi_get_entity_tree lists the entities available.

🧰 Available Tools

Server & Session
  • glpi_server_info: API versions GLPI offers, the pinned version, auth mode and safety modes
  • glpi_whoami: The GLPI user the tools act as, with the active profile and entities
  • glpi_get_entity_tree: Entities the current user can work in
Tickets, Changes & Problems

All take itil_type: Ticket (default), Change or Problem.

  • glpi_search_itil: Search by status, type, priority, category, entity, dates, text or filter
  • glpi_get_itil: One item with its description and team
  • glpi_get_itil_timeline: Followups, tasks, solutions, approvals and documents
  • glpi_create_itil / glpi_update_itil / glpi_delete_itil: Create, update, delete
  • glpi_add_itil_followup: Add a followup (public or private)
  • glpi_add_itil_task: Add a task with state, time spent, technician and planning
  • glpi_add_itil_solution: Add a solution
  • glpi_request_itil_validation: Ask a user or group to approve a ticket or change
  • glpi_list_itil_team: Requesters, assignees and observers
  • glpi_add_itil_team_member / glpi_remove_itil_team_member: Assign or remove users, groups and suppliers
Assets
  • glpi_list_asset_types: Asset types of this GLPI, including custom assets
  • glpi_search_assets: Search one asset type, or all at once, by name, serial, inventory number or filter
  • glpi_get_asset: One asset, optionally with financial information
  • glpi_create_asset / glpi_update_asset / glpi_delete_asset: Create, update, delete
Users, Groups, Entities & Profiles
  • glpi_search_users / glpi_get_user: Find users; get one by ID or login
  • glpi_search_groups / glpi_get_group: Find groups; get one by ID
  • glpi_search_entities / glpi_get_entity: Find entities; get one by ID
  • glpi_list_profiles: Profiles (

ตัดมาแค่ช่วงต้น อ่านต่อใน repo

ถาม PopNx