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.0.4.tar.gz (34.2 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.0.4-py3-none-any.whl (77.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: copass_management-1.0.4.tar.gz
  • Upload date:
  • Size: 34.2 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.0.4.tar.gz
Algorithm Hash digest
SHA256 2983dcc84ff19c99f6ce999ed08e9a819869e1bee4700ac2e44299c2509877d7
MD5 c315195c6cd3db6d3adb0e0e4a7c2ae1
BLAKE2b-256 7be68a75a8ae9c8a1bf6a6add7c2f477a39977c546aa75770ce17768d244faa6

See more details on using hashes here.

Provenance

The following attestation bundles were made for copass_management-1.0.4.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.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for copass_management-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 20ca085f7f2e0cf765c14023bd58a90deb049c73df45d08b98f5725e6417953d
MD5 be9531edde54c184808d2d3ce294fb18
BLAKE2b-256 746df217b2a6573fe1a3825dde1b90a02a1612833dafadd5e660ecd617689a47

See more details on using hashes here.

Provenance

The following attestation bundles were made for copass_management-1.0.4-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