Skip to main content

Harmony CS CLI - Customer service operations

Project description

Harmony CS CLI

Command-line interface for Harmony CS operations.

Installation

pip install harmony-cs

# With MCP support (for Claude Desktop)
pip install harmony-cs[mcp]

Quick Start

# Configure API URL
harmony-cs config set-url https://cs-api.harmony.internal

# Login (stores API key locally)
harmony-cs auth login

# List operations
harmony-cs operations list

# Execute operation (dry-run by default)
harmony-cs execute transaction.get-sku-status --param sku_id=517aed7c-...

# Execute for real
harmony-cs execute transaction.refund-ship-rejected \
  --param sku_id=517aed7c-... \
  --no-dry-run --confirm

Commands

Configuration

harmony-cs config set-url <url>    # Set API URL
harmony-cs config show             # Show current config

Authentication

harmony-cs auth login              # Store API key
harmony-cs auth logout             # Clear credentials
harmony-cs auth status             # Check auth status

Operations

harmony-cs operations list              # List all operations
harmony-cs operations list -c channel   # Filter by category
harmony-cs operations list -t read      # Filter by type
harmony-cs operations categories        # List categories
harmony-cs operations show <id>         # Show operation details

Execution

# Interactive mode (prompts for missing params)
harmony-cs execute <operation-id>

# With parameters
harmony-cs execute <operation-id> --param key1=value1 --param key2=value2

# JSON parameters
harmony-cs execute <operation-id> -p '{"key": "value"}'

# Execute for real (not dry-run)
harmony-cs execute <operation-id> --no-dry-run --confirm

Claude Desktop Integration

Add to ~/.claude/claude_desktop_config.json:

{
  "mcpServers": {
    "harmony-cs": {
      "command": "harmony-cs",
      "args": ["mcp-server"]
    }
  }
}

Then in Claude Desktop, you can:

  • "List available CS operations"
  • "Show details for transaction.refund-ship-rejected"
  • "Execute transaction.get-sku-status with sku_id=517aed7c-..."

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

harmony_cs-0.1.0.tar.gz (56.6 kB view details)

Uploaded Source

Built Distribution

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

harmony_cs-0.1.0-py3-none-any.whl (18.8 kB view details)

Uploaded Python 3

File details

Details for the file harmony_cs-0.1.0.tar.gz.

File metadata

  • Download URL: harmony_cs-0.1.0.tar.gz
  • Upload date:
  • Size: 56.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for harmony_cs-0.1.0.tar.gz
Algorithm Hash digest
SHA256 aadd102a4e0e6ec1cf92b7f276fbe530393ec3d7cf94d6d08434347cde8e36ae
MD5 267e1a7f423336743b09bbc4292d80fe
BLAKE2b-256 e96755ad7dbaff16f7d8b9cbdd88a0ef4b346916a09150a81206e9408281bd58

See more details on using hashes here.

File details

Details for the file harmony_cs-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: harmony_cs-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 18.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for harmony_cs-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8ce46162d2f3f3f57546810f6a6f4f98da63cd1a12deb358c7b2af8f69afca8f
MD5 d49b40231bbb4bf88bfe4601047b91e4
BLAKE2b-256 31e3a769c815e2fc6f23651cc865c7be0317e286438cc96a97f703baf9f813b1

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