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.1.tar.gz (5.5 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.1-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cortexhub-2.0.1.tar.gz
  • Upload date:
  • Size: 5.5 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.1.tar.gz
Algorithm Hash digest
SHA256 a313817fa845953d93964ec7fe9877b8b771a29915c4969a1f4c9ec481d4728e
MD5 c5672ca47751d8340a3d2434e92005fd
BLAKE2b-256 f21bbbd00be1948758a97554451d08d7c68e76f33d6ddb82bd1326c6ece317b9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cortexhub-2.0.1-py3-none-any.whl
  • Upload date:
  • Size: 6.7 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5e9cf0aa10654c9c5beffc06ca2504022b8b1f3fae6827efb921a161916636c7
MD5 45498509d2cd6c9773d976b2b71497cb
BLAKE2b-256 819424b7a53e130260679fd780dd727102b851b4121ff5b8f4888b3dda732fc9

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