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.202510171326.tar.gz (18.4 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.202510171326-py3-none-any.whl (19.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rhsupportcli-99.0.202510171326.tar.gz
  • Upload date:
  • Size: 18.4 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.202510171326.tar.gz
Algorithm Hash digest
SHA256 aba7889c11c5e04d84a4000d1831902043bdd0d8b042307ca56b9dcf266ea8bc
MD5 7c7cc7c5f0577f3b4fe067d56aded1bf
BLAKE2b-256 33e2b831e0491fef4e4b3b003b04992f36f855aa9058d18c91269ff84d31c2da

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rhsupportcli-99.0.202510171326-py3-none-any.whl
Algorithm Hash digest
SHA256 5f0246666b67e4dfc7b2201b29517a0d22dfbcb754a66f848b46b1d709bfba53
MD5 f6964725d6b2d5205a518c7c967f4198
BLAKE2b-256 52fb7822d5b7a68a88b96eba8080fa28ac0df99af4549d882e19dc35dc0fdcf5

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