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.202509170847.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.202509170847-py3-none-any.whl (20.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rhsupportcli-99.0.202509170847.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.202509170847.tar.gz
Algorithm Hash digest
SHA256 e842f2e5e4a68ac88867b44704a5fbeeeb18f918aae18b1ab789f85b4842f1f7
MD5 c9e7be30acea3a65eadad9fab7b203b7
BLAKE2b-256 642e46c2837b0e086c91ad5f4f2cebee578de0a7a9bd9fd5b515052381da019d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rhsupportcli-99.0.202509170847-py3-none-any.whl
Algorithm Hash digest
SHA256 74b544c560dfe8e9638917eb80e4f1156986f16284bf7dcca92874d9c6bdbdae
MD5 601f0033ba2b0cc0119542d3f9b62dfc
BLAKE2b-256 4a5122df1d0e2a7d0097b55b0d33e63eb00945fe4acf0d86126a37544ebe08eb

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