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/mcp"
      "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.202509181954.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.202509181954-py3-none-any.whl (20.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rhsupportcli-99.0.202509181954.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.202509181954.tar.gz
Algorithm Hash digest
SHA256 5d1cd1375dc4992c623e96ad6a742f382a299d665b4a6820f605fdc60cd7bd2a
MD5 9792c39d0fd2ab95316ab0ee107110af
BLAKE2b-256 7e8dbb352a2a98150e4bcac3167ad1789fb08d96e0634e396d7296a78428b93c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rhsupportcli-99.0.202509181954-py3-none-any.whl
Algorithm Hash digest
SHA256 8f52b0e3573ea3ba3e10b7866abc4b6a4a609febed7e25aed02178eaca4423f0
MD5 31e962b724a3b0a2946aafa5c3f311e0
BLAKE2b-256 70443c808e13a284e7272e1e1e4bd14d3c503dd3cd0858912934331bd69cd3a3

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