Skip to main content

MCP gateway client for CortexHub programmatic agent access.

Project description

cortexhub

Official Python SDK for CortexHub programmatic MCP access.

Documentation

Install

pip install cortexhub

Credentials

Create an MCP OAuth client in CortexHub Cloud: AccountMCP API access → copy client_id and client_secret.

Usage

from cortexhub import Cortexhub

session = Cortexhub().session(
    agent="helpdesk-bot",
    mcp_session_id="chat-42",  # optional: separate conversations in Cloud
)
# session.mcp.url and session.mcp.headers → pass to your MCP transport

Configuration

Variable Default Purpose
CORTEXHUB_URL https://mcp.cortexhub.ai MCP gateway and OAuth token base URL
CORTEXHUB_CLIENT_ID MCP OAuth client id
CORTEXHUB_CLIENT_SECRET MCP OAuth client secret

Token exchange: POST {CORTEXHUB_URL}/v1/mcp/oauth/token (client_credentials or refresh_token).

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

cortexhub-2.0.2.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

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

cortexhub-2.0.2-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

Details for the file cortexhub-2.0.2.tar.gz.

File metadata

  • Download URL: cortexhub-2.0.2.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for cortexhub-2.0.2.tar.gz
Algorithm Hash digest
SHA256 afc77bb54b8eac4e87446798efe12454ae9a721fcd759f80cb51a52945ea562b
MD5 ab8d375775ed519152464ae27e4f9212
BLAKE2b-256 9b49c90821d346e7a295a8be75d88ab10c6984fd183b6ac73eb48be66723200d

See more details on using hashes here.

File details

Details for the file cortexhub-2.0.2-py3-none-any.whl.

File metadata

  • Download URL: cortexhub-2.0.2-py3-none-any.whl
  • Upload date:
  • Size: 7.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for cortexhub-2.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 60f390cbb30078ab0880411627f5426255dd8c3e38c54202a96060bee89d9a13
MD5 788f220116e9fe0fc98433947d0df73c
BLAKE2b-256 86b9eb6849ded17144b01b88925a3aaabcd09b49ba4bc83cc9f08763a039800a

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