Skip to main content

Shared MCP client foundation for KeeperHub agent-framework adapters.

Project description

keeperhub-mcp-client

Python MCP client foundation for connecting agent frameworks (Hermes and others) to KeeperHub.

The Python counterpart to @keeperhub/mcp-client. Implements the same kernel: MCP session bootstrap + re-init on 401/404, kh_ vs wfb_ key disambiguation, and single JSON-result unwrap.

Usage

from keeperhub_mcp_client import get_client, resolve_api_key

api_key = resolve_api_key()
if not api_key:
    raise RuntimeError("KH_API_KEY not set")

client = get_client(api_key, client_name="my-plugin", client_version="1.0.0")
workflows = client.call_tool("list_workflows", {})

Develop

cd python
pip install -e ".[dev]"
pytest

License

Apache-2.0

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

keeperhub_mcp_client-0.1.0.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

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

keeperhub_mcp_client-0.1.0-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for keeperhub_mcp_client-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e5ef261dcd7d6da0d1b6fa22b22cfc950da9e5ff03d3432756002a9696053fd2
MD5 7aef4e7ecc0738a81fad22cdd0f956c4
BLAKE2b-256 964e0c1cc0a799569ec9207cc46a23946cc4c574769a75d7c855934884465c28

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for keeperhub_mcp_client-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2bbf77f473471ac71bf6761d6e3abc9c046eed463dab6ce4f567c5ae98ea87e5
MD5 e5af7bb78c856774473511b15947a3a8
BLAKE2b-256 373c65f201dd246622ee3fbd80e40571306a5218e6fda90b03ed05ed0ddb97df

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