Skip to main content

Command-line interface for Kolay IK (https://apidocs.kolayik.com)

Project description

CLI and MCP Server for Kolay IK

               ███████████████████████
              ████               ████ 
             ████               ████ 
            ████               ████          ████                             ███ 
           ███                ████           ████                             ███ 
         ████                ███             ████                             ███ 
        ████               ████              ████     █████    █████████      ███     █████████ ████  ████        ████ 
       ████               ████               ████   █████    █████████████    ███    ███████████████   ████      ████ 
      ████               ████                ████  ████     ████       ████   ███   ████       █████    ███     ████ 
       ████             ██████               ████████      ████         ████  ███  ████         ████    ████    ███ 
        ████           ████████              ████████      ████         ████  ███  ████         ████     ████  ████ 
         ████         ███   ████             ████ █████    ████         ████  ███  ████         ████      ████████ 
          ████      ████     ████            ████   ████    █████     █████   ███   █████     ██████       ██████ 
           ████    ████        ███           ████     ████    ███████████     ███     ██████████████        █████ 
             ███  ████          ████                             █████                   ████               ████ 
              ███████            ████                                                                      ████ 
               ███████████████████████                                                                  ██████ 
                █████████████████████                                                                   ███ 

Manage employees, leaves, and payroll from your terminal — or through any AI assistant that speaks MCP.


[QUICK START]

1. Install

pipx install kolay-cli
# or: pip install kolay-cli

2. Configure

kolay setup
# follow the prompts to authenticate and enable autocompletion

3. Verify

kolay doctor

[OPENAI CHATGPT CONNECTION]

ChatGPT MCP Beta lacks custom header support. We built a tactical bridge. To connect your Kolay MCP server to ChatGPT today, do the following:

  1. Navigate. In ChatGPT, open Settings -> Apps & Connectors.
  2. Create. Click Create.
  3. Bypass. Select No Auth for Authentication.
  4. Arm the URL. Inject your Kolay API token directly into the connection string: https://[YOUR_SERVER_URL]/mcp?token=[YOUR_KOLAY_API_TOKEN] (If you use a gatekeeper, append &api_key=[YOUR_MCP_API_KEY])

Your AI is now an HR operator.


[THE GATEWAYS]

Detailed documentation is now split for your convenience. Choose your journey:

CLI Documentation

For the Terminal Wizards. Full command reference, output filters, interactive pickers, and local security (Keychain + Config Encryption).

"Everything you need to master your HR data from the shell."

MCP Documentation

For the AI Architects. Connect ChatGPT, Claude, Gemini, Mistral, and more. 15 layers of security (PII Masking, DLP, Circuit Breakers).

"Turn your LLM into a fully-capable HR operations lead."

Security and Privacy

For the Compliance Officers. Zero-trust architecture, encryption at rest, PII pseudonymization, and last-mile safety layers.

"How we protect your most sensitive HR data."


[ALPHA DISCLAIMER]

  1. UNOFFICIAL. Independent lab application. Not a Kolay Yazilim A.S. product.
  2. WRITE OPERATIONS ARE REAL. This is not a sandbox. Actions modify live HR data.
  3. TOKEN SECURITY. You are responsible for your API token. Keep it private.

[EMPHATIC UX HELP GUIDE]

STOP STRUGGLING. We refuse to let technical friction slow down your HR workflows. We designed Kolay CLI to be an effortless extension of your mind. If it's not working perfectly, here is exactly how to fix it right now:

  • [UNAUTHORIZED? SHRUNKEN KEYS?] If your tools suddenly stop returning data, your API token has expired. RE-ARM IMMEDIATELY with kolay auth login. If you're running headless, let keyrings.alt securely manage your file-backed storage!
  • [NEED MORE EYES?] You hold immense power. Don't guess. Append --help (e.g., kolay person list --help) to instantly reveal the hidden arsenals of filters, limits, and operational flags!
  • [TALK TO PROTOCOLS?] Switch to --json to obliterate the pretty tables and output razor-sharp, structured JSON. Pipe it directly into jq and command your data like a true terminal wizard!
  • [FEELING THE LAG?] We forged this client for raw speed. If it stutters, check your network or the Kolay status page—we do not compromise on performance!
  • [VIEW THE MAP] Lost your bearings? Run kolay config show. It acts as your absolute compass, instantly exposing your active environment, base URL, and operational settings!
  • [ZERO TRUST, ZERO DRAMA] Paralyzed by privacy concerns? Read our security documentation. We enforce ruthless PII masking, DLP egress scanners, and military-grade on-device AES-256-GCM encryption by default.

You are never alone. Every error we throw is a tactical guide, never a dead end. If you hit an impenetrable wall, report it and we will tear it down together!


[THE STACK]

  • Python 3.10+
  • Typer (Interactive CLI)
  • FastMCP (Verifiable Smart Proxy)
  • AES-256-GCM (AEAD Configuration & Memory Encryption)
  • HMAC-SHA256 (PII Masking + Execution Receipts)

[LICENSE]

MIT

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

kolay_cli-0.13.0a7.tar.gz (232.8 kB view details)

Uploaded Source

Built Distribution

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

kolay_cli-0.13.0a7-py3-none-any.whl (212.5 kB view details)

Uploaded Python 3

File details

Details for the file kolay_cli-0.13.0a7.tar.gz.

File metadata

  • Download URL: kolay_cli-0.13.0a7.tar.gz
  • Upload date:
  • Size: 232.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for kolay_cli-0.13.0a7.tar.gz
Algorithm Hash digest
SHA256 5a9c35fc7027924d6e73eaa079b3395e4f60f1ee5ac395a6fde6afdf7f2e0772
MD5 74986133f26e7e0d9ce97fbd57761f92
BLAKE2b-256 cecbf3ae8ab1adfac87dce7110dd39c38084bf763484000dceb7a63dfa5dbe46

See more details on using hashes here.

File details

Details for the file kolay_cli-0.13.0a7-py3-none-any.whl.

File metadata

  • Download URL: kolay_cli-0.13.0a7-py3-none-any.whl
  • Upload date:
  • Size: 212.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for kolay_cli-0.13.0a7-py3-none-any.whl
Algorithm Hash digest
SHA256 ec865774bcc01fecaa14f67deb7ad4b271cd1ad6616c78137d1565c47e954c9e
MD5 913e85bdb1a8baeb834df1552e2902c4
BLAKE2b-256 a4bdddf62f93c256370ed3e80c1e3c9758a860115540eebd935e672036762449

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