NexTool MCP for GLPI
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@NexTool MCP for GLPICreate a high-priority ticket for the VPN outage in the Madrid office"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
NexTool MCP for GLPI
Open-source Model Context Protocol server that connects AI assistants (Claude, ChatGPT, Cursor, VS Code, Windsurf…) to your GLPI service desk: tickets, ITIL objects (problems, changes), assets, knowledge base, users, rules and webhooks. It works with GLPI 10 and 11, and supports both the REST API v1 and the GLPI 11 API v2 in one server.
Not affiliated with Teclib'. GLPI is a registered trademark of Teclib'.
Package | What it is |
The MCP server (stdio and HTTP) and a library to embed it | |
Shared transport, write policy, idempotency and payload formatting |
Two ways to use it:
Hosted, early access: nothing to install. Sign in with a NexTool account, then add one URL as a connector in Claude or ChatGPT. Request access at https://nextoolsolutions.com/mcp. How it works, step by step: https://nextoolsolutions.com/en/mcp/como-funciona.
Local, open source (this repository): runs on your machine with your GLPI credentials. It is free and also works with GLPI instances that are only reachable on your intranet.
1. Prepare GLPI (both ways)
Enable the REST API: Setup → General → API. Turn on "Enable REST API" and "Enable login with external token".
API client (optional but recommended): in the same screen, add an API client and copy its App-Token. If you restrict it by IP, allow the address the MCP connects from.
User token: Administration → Users → (the user) → Remote access keys. Copy the API token. Every action runs as this user and follows their GLPI profile and entities. Use a dedicated user with only the rights the assistant needs.
GLPI 11 API v2 (optional): create an OAuth client in GLPI 11 and note its client ID and secret. You also need a username and password, for the password grant.
Related MCP server: glpi-mcp-server
2. Local install (open source)
Published on npm as @nextoolsolutions/mcp-glpi and listed in the
official MCP Registry as com.nextoolsolutions/glpi. Requires Node.js 18+.
GLPI_URL=https://glpi.example.com GLPI_USER_TOKEN=xxx GLPI_APP_TOKEN=yyy npx -y @nextoolsolutions/mcp-glpiFrom source instead: clone this repository, then npm ci && npm run build in mcp-glpi-core and in mcp-glpi, and run
node mcp-glpi/dist/index.js.
Environment variables
Variable | Meaning |
| GLPI base URL, e.g. |
| User API token (step 1.3) |
| App-Token of the API client (step 1.2), optional |
| GLPI 11 API v2 (OAuth). Optional; enables the |
| Tool presets: |
|
|
|
|
All options are listed in mcp-glpi/README.md.
Claude Code
claude mcp add glpi \
-e GLPI_URL=https://glpi.example.com -e GLPI_USER_TOKEN=xxx -e GLPI_APP_TOKEN=yyy -e GLPI_TOOLSETS=core \
-- npx -y @nextoolsolutions/mcp-glpiClaude Desktop
Edit claude_desktop_config.json (Settings → Developer → Edit config) and restart Claude Desktop:
{
"mcpServers": {
"glpi": {
"command": "npx",
"args": ["-y", "@nextoolsolutions/mcp-glpi"],
"env": {
"GLPI_URL": "https://glpi.example.com",
"GLPI_USER_TOKEN": "xxx",
"GLPI_APP_TOKEN": "yyy",
"GLPI_TOOLSETS": "core"
}
}
}
}Cursor / Windsurf / VS Code
Use the same command/args/env block:
Cursor:
~/.cursor/mcp.json(or.cursor/mcp.jsonin a project).Windsurf:
~/.codeium/windsurf/mcp_config.json.VS Code:
.vscode/mcp.json. The top-level key there is"servers"instead of"mcpServers", and each entry also takes"type": "stdio".
Docker
The Dockerfile builds the stdio server from this repository (node:22-alpine, no credentials inside).
Without GLPI_* variables it still starts and lists its tools, which is what directories that inspect servers need.
docker build -t nextool-mcp-glpi .
docker run -i --rm -e GLPI_URL=https://glpi.example.com -e GLPI_USER_TOKEN=xxx -e GLPI_TOOLSETS=core nextool-mcp-glpiShared HTTP server (optional)
To serve several users or GLPI instances from one machine, run mcp-glpi/dist/http.js (Streamable HTTP, Bearer keys stored as SHA-256 hashes). See "Two ways to run" in the package README.
3. Hosted version (early access)
The hosted NexTool MCP lives at https://mcp.nextoolsolutions.com/mcp. It adds:
sign-in through the NexTool portal (OAuth 2.1);
one-click connectors for Claude and ChatGPT;
GLPI credentials encrypted so that only the connector can use them;
per-user rate limits and audit logs, without storing prompts or results.
Your GLPI must be reachable from the internet. If it only accepts known IPs, the portal shows the address to allow when you test the connection.
Request early access: https://nextoolsolutions.com/mcp. Once you are in:
Client | How to connect |
Claude (web, desktop, mobile) | Settings → Connectors → Add custom connector → URL |
ChatGPT | Add a connector/app with the same URL (developer mode while the app is in review) |
Claude Code |
|
Cursor |
|
VS Code | Server URL |
Connect your GLPI once at app.nextoolsolutions.com → My account → NexTool MCP (GLPI URL plus the tokens from step 1). Then click Test connection.
Safety
Every tool carries MCP annotations (
readOnlyHint,destructiveHint,idempotentHint,openWorldHint), so clients can ask before changing data.Deletes are refused unless
GLPI_ALLOW_DELETE=true(always refused on the hosted free plan).GLPI_READ_ONLY=trueblocks every write.Identical create calls within a short window are replayed, not repeated.
Redirects are never followed. The API v2 client talks only to the configured GLPI origin.
Troubleshooting
Symptom | Likely cause |
| wrong or regenerated user token |
| App-Token missing or wrong for that API client |
| the API client restricts IPs: allow the address the MCP connects from |
HTML instead of JSON |
|
"redirect not followed" |
|
Directories and release
MCP Registry:
com.nextoolsolutions/glpi(mcp-glpi/server.json): the npm package (stdio) and the hosted server as a remote.Cursor plugin:
.cursor-plugin/plugin.json+mcp.json(hosted server, OAuth). Direct install link:cursor://anysphere.cursor-deeplink/mcp/install?name=nextool-glpi&config=eyJ1cmwiOiJodHRwczovL21jcC5uZXh0b29sc29sdXRpb25zLmNvbS9tY3AifQ==.Glama:
glama.jsonnames the maintainers; theDockerfileis the build they run.
Pushing a tag v<mcp-glpi version> runs release.yml: tests, npm (versions already
published are skipped), then the MCP Registry. Repository secrets:
Secret | What it is |
| npm granular automation token with publish rights on the |
| Ed25519 private key (32-byte seed, hex) for the registry DNS login on |
Development
cd mcp-glpi-core && npm ci && npm run build && npm test
cd ../mcp-glpi && npm ci && npm run build && npm testThis repository is a mirror published from NexTool's internal monorepo. Issues and pull requests are welcome here. Security reports: see SECURITY.md.
License
MIT © NexTool Solutions
This server cannot be deployed
Maintenance
Related MCP Connectors
Helpdesk tickets from your AI: find, reply, take, hold, complete — within your own role. OAuth.
Connect any AI assistant to Odoo 16–19 via OAuth 2.0 + PKCE. 400 free calls, no local install.
Connect any AI agent to 1,000+ apps and 27,000+ actions through one remote MCP server (OAuth).
Connect any AI assistant to Syncro: manage tickets, invoices, customers, assets, and more.
Related MCP Servers
- AlicenseBqualityCmaintenanceMCP server allowing an AI assistant to interact directly with your GLPI instance via its REST API, enabling ticket management, knowledge base operations, and statistics.404-
- AlicenseNot gradedqualityDmaintenanceConnects AI assistants to GLPI IT Service Management, enabling ticket management, asset search, and ITIL processes via natural language.12 npm4MIT
- AlicenseNot gradedqualityDmaintenanceEnables interaction with GLPI (ITSM) through 71 tools covering tickets, assets, problems, changes, knowledge base, projects, users, and more, using SSE or stdio transport.MIT
- AlicenseCqualityDmaintenanceEnables AI assistants to manage GLPI inventory, tickets, and CIA security fields via its REST API.98 npmISC