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-harness/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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

copass_management-0.1.0-py3-none-any.whl (33.6 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for copass_management-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ef177d8bde8cdd7e9dee9a7ad77b6ef3749bce9781a7726b72049d849b0bc1bd
MD5 64cf05d23ea665a04d4d72e7d4b3dc88
BLAKE2b-256 c088ca3c35bf86eed1a52a9a3cabd455d97c4fa88a92a7ddce150bc754e76cf0

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