Skip to main content

Spec-driven management tool registrar for Copass agents (read-only, Phase 1).

Project description

copass-management

Spec-driven management tool registrar for Copass agents (Python).

This package consumes the copass/spec/management/v1/ JSON Schema corpus and exposes a transport-agnostic registrar that wires each tool through copass-core. An optional MCP adapter lives at copass_management.adapters.mcp for Model Context Protocol consumers.

Phase 1 ships the read-only subset (14 tools). Write tools follow in Phase 2.

Usage

from copass_core import ApiKeyAuth, CopassClient
from copass_management import (
    RegistrarOptions,
    register_management_tools,
)

client = CopassClient(auth=ApiKeyAuth(key="olk_..."))

def register(registration):
    print(registration.name, registration.description)

register_management_tools(
    register,
    client,
    RegistrarOptions(sandbox_id="sb_..."),
)

For MCP transports, use register_to_mcp_server from copass_management.adapters.mcp. The MCP SDK is an optional dependency installed separately.

Spec source

The package vendors a copy of the JSON Schema corpus under copass_management/_spec/v1/. In dev, set COPASS_MANAGEMENT_SPEC_DIR to point at the source tree.

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

copass_management-1.4.9.tar.gz (38.9 kB view details)

Uploaded Source

Built Distribution

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

copass_management-1.4.9-py3-none-any.whl (80.3 kB view details)

Uploaded Python 3

File details

Details for the file copass_management-1.4.9.tar.gz.

File metadata

  • Download URL: copass_management-1.4.9.tar.gz
  • Upload date:
  • Size: 38.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for copass_management-1.4.9.tar.gz
Algorithm Hash digest
SHA256 f6c9d0b46ae52f58ce52b44f2f41e06de6bbe90adc4aeb641306b9024659b1d4
MD5 20ea77a25d4d4e720f5601b8f9d97c72
BLAKE2b-256 1c3e03d03d5c5e6676ebbd62977f2b53c00e409a425d5782ce04788d2a3f925e

See more details on using hashes here.

Provenance

The following attestation bundles were made for copass_management-1.4.9.tar.gz:

Publisher: release-python.yml on olane-labs/copass

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file copass_management-1.4.9-py3-none-any.whl.

File metadata

File hashes

Hashes for copass_management-1.4.9-py3-none-any.whl
Algorithm Hash digest
SHA256 7a9f6d65a293692d91914daec3fca93fcb8272f36edd47cef06b12520443c3cd
MD5 c28be4e227c59dfc09049d93ca4080bc
BLAKE2b-256 e4806204b17db25b0142180b23c75462d2ff56db6b92dd24899292ba9e307b3d

See more details on using hashes here.

Provenance

The following attestation bundles were made for copass_management-1.4.9-py3-none-any.whl:

Publisher: release-python.yml on olane-labs/copass

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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