GLPI (Mojood Connect)

السجل الرسمي الذكاء الاصطناعي والوكلاء

GLPI helpdesk and assets in Claude: find tickets, follow up and reassign after a yes.

التثبيت

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

PYPI package mojood-glpi-mcp
Claude Code
claude mcp add glpi-mojood-connect -e 'GLPI_URL=<GLPI_URL>' -e 'GLPI_LOGIN=<GLPI_LOGIN>' -e 'GLPI_PASSWORD=<your glpi_password>' -e 'GLPI_SAMPLE=<GLPI_SAMPLE>' -- uvx mojood-glpi-mcp==0.1.0 --stdio
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "glpi-mojood-connect": {
            "command": "uvx",
            "args": [
                "mojood-glpi-mcp==0.1.0",
                "--stdio"
            ],
            "env": {
                "GLPI_URL": "<GLPI_URL>",
                "GLPI_LOGIN": "<GLPI_LOGIN>",
                "GLPI_PASSWORD": "<your glpi_password>",
                "GLPI_SAMPLE": "<GLPI_SAMPLE>"
            }
        }
    }
}

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

  • GLPI_URL إلزامي Your GLPI address
  • GLPI_LOGIN إلزامي The GLPI user to sign in as
  • GLPI_PASSWORD إلزامي سري That user's password
  • GLPI_SAMPLE 0 for real data (1 labels answers SAMPLE)

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. GLPI MCP server
  2. Tools
  3. Try it locally
  4. The SAMPLE helpdesk
  5. Tests
  6. What a production version adds
  7. License

GLPI MCP server

Ask Claude about your IT helpdesk and assets in plain words: what's urgent and who owns it, what a person holds and whether any of it is broken, what a ticket says. Add follow-ups and reassign tickets from the same chat, with a confirmation step before anything changes.

Built by Mojood Connect as a working demo for GLPI. It runs against any GLPI 9.5–12 through its REST API. This repository includes a local GLPI with SAMPLE data for the IT department of a made-up company, Harbor Trading, so you can try it without touching a real instance.

Tools

ToolWhat it doesChanges anything?
find_ticketsFind tickets, highest priority first: status, requester, technicians, groups, deadline, linked assetsNo
get_ticketOne ticket with its description and every follow-up in order, private ones markedNo
person_overviewThe assets a person holds (state, and any open ticket about each) and the tickets they asked forNo
needs_attentionTickets with no owner, past their time to resolve, high priority and above, waiting on the requesterNo
add_followupA follow-up on a ticket: private to technicians unless asked otherwiseYes, after confirmation
update_ticketReassign to a group, add a technician, or change the priorityYes, after confirmation

How changes are made safe. A call to add_followup or update_ticket without a confirmation changes nothing: it returns a plain summary ("On #1 ("VPN drops every 10 minutes at the Riyadh office"): reassign it to Network team (from Service desk).") and a one-time code. The change happens only when the same request comes back with that code, within 10 minutes. A code works once, and only for the request it was issued for. The server's instructions tell the model to show the summary and wait for the user's yes. Follow-ups carry "via Claude (Mojood Connect demo)", and GLPI records every change in the ticket's history under the signed-in user.

The server signs in as one GLPI user and acts with that user's profile and rights.

Try it locally

Needs Docker (with Compose), uv and Python 3.13.

scripts/reset.sh                         # local GLPI on http://localhost:8095, filled with the SAMPLE helpdesk
uv run --env-file .env glpi-mcp          # MCP server on http://127.0.0.1:8006/mcp (Streamable HTTP)

docker/compose.yml follows GLPI's own docker-compose.example.yml (glpi-project/docker-images), pinned to GLPI 12.0.1 and MySQL 8.4, on 127.0.0.1 only and in UTC. scripts/up.sh gives GLPI's default accounts (glpi, tech, normal, post-only) generated passwords, creates the demo's API user and switches the REST API on; every password stays in the git-ignored files docker/.env and .env, and nothing is printed.

Claude Desktop: add this to claude_desktop_config.json (Settings › Developer), with the path to this folder:

{
  "mcpServers": {
    "glpi": {
      "command": "uv",
      "args": ["run", "--directory", "/path/to/glpi-mcp", "--env-file", "/path/to/glpi-mcp/.env", "glpi-mcp", "--stdio"]
    }
  }
}

Then ask: "What urgent tickets are open, and who owns them?", "What does Sara have, and is any of it broken?", "Add a note to the VPN ticket that the firewall logs point to the IPsec tunnel, and reassign it to the network team."

Your own GLPI: set GLPI_URL, GLPI_LOGIN, GLPI_PASSWORD (a GLPI user; the REST API and login-credential access switched on in Setup › General › API) and GLPI_SAMPLE=0.

The SAMPLE helpdesk

Harbor Trading's IT: three sites, three groups (Service desk, Network team, Field support), four technicians, eight staff, 16 assets (laptops, monitors, phones, warehouse scanners) and ten tickets. Times are set relative to the moment it is seeded, so there is always a major incident with no owner, two tickets past their deadline, one waiting on the requester and some solved history. Everyone and everything in it is made up.

Tests

uv run --env-file .env pytest            # unit tests (a fake GLPI API), plus live tests when the local GLPI runs

What a production version adds

This demo signs in as one user. A production server for GLPI customers would add sign-in through GLPI 11+'s OAuth for each technician, so Claude sees exactly their entities and profile; hosting with an audit log of every tool call; and more of the API (problems and changes, knowledge base, contracts, software and licences). That is what Mojood Connect builds.

License

Apache 2.0. GLPI is a trademark of Teclib'; this project is not made or endorsed by Teclib'.

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

ما هو GLPI (Mojood Connect)؟

GLPI helpdesk and assets in Claude: find tickets, follow up and reassign after a yes.

كيف أثبّت GLPI (Mojood Connect)؟

يعمل على جهازك. في Claude Code: claude mcp add glpi-mojood-connect -e 'GLPI_URL=<GLPI_URL>' -e 'GLPI_LOGIN=<GLPI_LOGIN>' -e 'GLPI_PASSWORD=<your glpi_password>' -e 'GLPI_SAMPLE=<GLPI_SAMPLE>' -- uvx mojood-glpi-mcp==0.1.0 --stdio. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج GLPI (Mojood Connect) إلى مفتاح API؟

نعم. يتطلب GLPI_URL, GLPI_LOGIN, GLPI_PASSWORD، وتضبطها في إعداداته.

هل GLPI (Mojood Connect) مفتوح المصدر؟

نعم. شيفرته متاحة على GitHub بترخيص Apache-2.0.

من يصون GLPI (Mojood Connect)؟

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

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