Skip to main content

Agent-side ES256 key enrollment and DPoP proof-of-possession (RFC 9449) for MCP broker authentication.

Project description

dpop-broker-auth

Agent-side ES256 key enrollment and DPoP proof-of-possession (RFC 9449) for MCP broker authentication.

Install

pip install dpop-broker-auth

Usage

from broker_auth import BrokerAuthClient

client = BrokerAuthClient(
    "https://your-broker.example.com",
    "<gateway-token>",
    keystore_path="broker_keypair.json",
)

# One-time enrollment
if not client.is_enrolled:
    client.enroll()

# All requests include DPoP proof automatically
response = client.make_request("POST", "https://your-broker.example.com/api/v1/mcp/invoke/", json={...})

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

dpop_broker_auth-0.1.0.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

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

dpop_broker_auth-0.1.0-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for dpop_broker_auth-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8a71afb5697dfc40820f00352d07904388da50c6203730e2f80d6cf2b5423e91
MD5 e83a6ae598245071ff8e95417c56f73f
BLAKE2b-256 58905d8e60dc6a8bb5e43ed6ea5ca86f1c21c5c2ee739a7ef7513db4b621ce71

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dpop_broker_auth-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f901904cb55d9ae2970ee054d08e90cf725c8db0f54c4308f305817286b306f1
MD5 3846794b21d6dc83e96fd4423bff9a86
BLAKE2b-256 e2fd819d86d2a1c16eb72cd60898adaccf46566918e4b16bf38069927404a86d

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