Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@copass/management

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@copass/management

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

npmnpm
Version
0.5.5
Version published
Weekly downloads
52
-80.3%
Maintainers
1
Weekly downloads
 
Created
Source

@copass/management

Spec-driven management tool registrar for Copass agents.

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

import { CopassClient } from '@copass/core';
import { registerToMcpServer } from '@copass/management/adapters/mcp';
import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';

const client = new CopassClient({
  auth: { type: 'api-key', key: process.env.COPASS_API_KEY! },
});

const server = new McpServer({ name: 'my-mcp', version: '0.1.0' });
registerToMcpServer(server, client, { sandboxId: 'sb_...' });

For non-MCP transports, call registerManagementTools directly with your own register(...) callable.

Spec source

The package bundles a copy of the JSON Schema corpus under dist/specs/v1/. In dev, set COPASS_MANAGEMENT_SPEC_DIR to point at the source tree.

Keywords

copass

FAQs

Package last updated on 05 May 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts