Skip to main content

GLPI client

Project description

About

Lightweight GLPI client

Requirements

  • Available glpi instance
  • Valid user and API token

Installation

You can either run as a container or install dependencies locally

pip3 install glpic

Using client

Store your creds in any env file such as glpic.env.sample and set data accordingly. You can then use glpic and access similar functions

Skill

Just use the skill

MCP

First start the server in a terminal:

glpimcp

or via a container (with additional env variables to avoid defining headers on client side)

podman run -p 8000:8000 -d --name glpi --entrypoint=/usr/local/bin/glpimcp quay.io/karmab/glpic

You can also set env variables prior to launching or in the container to avoid defining headers on client side). For instance

podman run -p 8000:8000 -d --name glpi -e GLPI_URL=https://glpiserver/apirest.php -e GLPI_USER=myser -e GLPI_TOKEN=mytoken --entrypoint=/usr/local/bin/glpimcp quay.io/karmab/glpic

You can then point to the server from your client with a modified snippet and specifying credentials via headers if needed

claude mcp add --transport http glpi http://your_server:8000/mcp -H "GLPI_URL: https://myserver/apirest.php" -H "GLPI_USER: myuser" -H "GLPI_TOKEN: mytoken"
Available tools
create_reservation
delete_reservation
info_computer
info_reservation
get_user
list_computers
list_reservations
list_users
update_computer
update_reservation

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

glpic-99.0.202605052013.tar.gz (8.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

glpic-99.0.202605052013-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

Details for the file glpic-99.0.202605052013.tar.gz.

File metadata

  • Download URL: glpic-99.0.202605052013.tar.gz
  • Upload date:
  • Size: 8.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for glpic-99.0.202605052013.tar.gz
Algorithm Hash digest
SHA256 0b11d12d04ecda6f87555c429935e74c677e6c4e6efe7a7ad8477d618b3ff67d
MD5 2ceb6853f41f9889eefc9dfa4b58bad4
BLAKE2b-256 025632ea717474840c4ccce8a1703e4999976f3006775e58610b81529da3ba31

See more details on using hashes here.

File details

Details for the file glpic-99.0.202605052013-py3-none-any.whl.

File metadata

File hashes

Hashes for glpic-99.0.202605052013-py3-none-any.whl
Algorithm Hash digest
SHA256 0c933e78bd4c4218258c26fc3242d505a0d69334bf3f558df3f82a793f655ca9
MD5 c188bd5c46f23082e09f85e0c28b67af
BLAKE2b-256 cb2cbe17b84c6002e173c44758c3ea675532eaac400516f47296643c53dbd494

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page