Skip to main content

RH support client

Project description

Basic client and mcp server around https://access.redhat.com/management/api/case_management

How to install

pip install rhsupportcli fastmcp

Using client

Get an offline token from https://access.redhat.com/management/api and stored it as env variable OFFLINETOKEN

Using MCP

The server is started and configured differently depending on what transport you want to use

For STDIO:

In VSCode for example:

   "mcp": {
        "servers": {
            "rhsupportcli": {
                "command": "python3",
                "args": ["/path/to/rhsupportcli/src/rhsupportlib/mcp_server.py"],
                "env": {
                    "OFFLINETOKEN": <your token>
                }
            }
        }
    }

For Streamable HTTP:

Start the server in a terminal:

rhcsupportmcp

Configure the server in your client:

    "rhsupportcli": {
      "transport": "streamable-http",
      "url": "http://localhost:8000"
      "headers": {
        "OFFLINETOKEN": "<your token>"
      }
    }

Project details


Download files

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

Source Distribution

rhsupportcli-99.0.202509180749.tar.gz (18.6 kB view details)

Uploaded Source

Built Distribution

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

rhsupportcli-99.0.202509180749-py3-none-any.whl (20.0 kB view details)

Uploaded Python 3

File details

Details for the file rhsupportcli-99.0.202509180749.tar.gz.

File metadata

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

File hashes

Hashes for rhsupportcli-99.0.202509180749.tar.gz
Algorithm Hash digest
SHA256 b2d6c3d8f970377f180e90168b948044bb4add620be996e897c4188c8a4a2190
MD5 e708bd99c760bc78aab80ff6367b3656
BLAKE2b-256 6958217bdbd1a034b9a47ca98e803659830fffe8d4579309c64642b38344094a

See more details on using hashes here.

File details

Details for the file rhsupportcli-99.0.202509180749-py3-none-any.whl.

File metadata

File hashes

Hashes for rhsupportcli-99.0.202509180749-py3-none-any.whl
Algorithm Hash digest
SHA256 9da488e0a327a83b6c4ac68deee8da2a6c9ae7e5371d9fca5f2719cf7a9e40f5
MD5 2a6491ea892d47577efc352876de9666
BLAKE2b-256 c529c86822f49d76fcc28c6cff0f0301d14eb710acf2b9217b7bf9f33cab2e2e

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