Skip to main content

SKU Availability MCP Server

A Model Context Protocol (MCP) server that provides real-time inventory availability queries from Confluent Cloud ksqlDB.

Features

  • 🔍 Real-time SKU availability queries
  • ☁️ Integration with Confluent Cloud ksqlDB
  • ⚡ FastMCP-based server implementation
  • 🎯 Filter by SKU and/or branch
  • 🔌 Easy integration with watsonx Orchestrate

Installation

pip install sku-availability-mcp

Configuration

Set the following environment variables:

export KSQLDB_API_KEY="your-api-key"
export KSQLDB_API_SECRET="your-api-secret"
export KSQLDB_ENDPOINT="https://your-ksqldb-endpoint.confluent.cloud:443"

Or create a .env file:

KSQLDB_API_KEY=your-api-key
KSQLDB_API_SECRET=your-api-secret
KSQLDB_ENDPOINT=https://your-ksqldb-endpoint.confluent.cloud:443

Usage

Run as a module

python -m sku_availability_mcp

Run as a command

sku-availability-mcp

Use with watsonx Orchestrate

Add the toolkit using the orchestrate CLI:

orchestrate toolkits add \
  --kind mcp \
  --name "sku-availability-toolkit" \
  --description "Real-time inventory availability from Confluent Cloud" \
  --language python \
  --package "sku-availability-mcp" \
  --tools "*"

Available Tools

get_sku_availability

Query real-time inventory availability for SKUs across branches.

Parameters:

  • sku (optional): SKU filter (e.g., 'LAPTOP-DELL-XPS-15')
  • branch (optional): Branch filter (e.g., 'DubaiMall', 'MallOfEgypt')

Returns: JSON object with availability records containing:

  • sku: Product SKU
  • branch: Store branch name
  • available_quantity: Current available quantity

Example:

# Get all inventory
get_sku_availability()

# Get specific SKU
get_sku_availability(sku="LAPTOP-DELL-XPS-15")

# Get inventory for specific branch
get_sku_availability(branch="DubaiMall")

# Get specific SKU at specific branch
get_sku_availability(sku="LAPTOP-DELL-XPS-15", branch="DubaiMall")

Architecture

This MCP server connects to Confluent Cloud ksqlDB to query the INVENTORY_AVAILABILITY table, which aggregates real-time inventory transactions from Kafka topics.

License

MIT License

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Support

For issues and questions, please open an issue on GitHub.

Metadata

Release files for sku-availability-mcp 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sku-availability-mcp 1.0.0
File Size Uploaded Provenance
sku_availability_mcp-1.0.0.tar.gz 34.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for sku-availability-mcp 1.0.0
File Interpreter ABI Platform
sku_availability_mcp-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 40.4 kB

Release files / sku_availability_mcp-1.0.0.tar.gz

Download URL sku_availability_mcp-1.0.0.tar.gz
Size 34.1 kB
Tags Source
SHA-256 checksum
How to use checksums
da62782972dae6e51ee8a3272596c6c513a21ea14d3ac21713b6b22f657eee80
BLAKE2b-256 checksum
How to use checksums
1cbbc44803e9552d6da311a2944d11bbeeda87b1c005381cc1b79d749514ad36
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.12

Release files / sku_availability_mcp-1.0.0-py3-none-any.whl

Download URL sku_availability_mcp-1.0.0-py3-none-any.whl
Size 6.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f178b62bcb2a72691bff37252b23a5960f7029e6a77b464b1cff1e0cdf6d2bba
BLAKE2b-256 checksum
How to use checksums
73756fc12f4534edfe041c07110b67a487dd8fcc643ea0491830384d7c967616
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.12

Security for sku-availability-mcp 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page