🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

olane-copass-local

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

olane-copass-local

Copass Local — local encryption MCP plugin for session token generation and AES-256-GCM encryption

pipPyPI
Version
0.3.2
Weekly downloads
58
Maintainers
1

olane-copass-local

Copass Local — local encryption MCP plugin for Copass / Twin Brain. Runs on the user's machine via stdio transport — keys never leave the local environment.

Part of the Olane MCP suite (com.olane/*):

  • com.olane/copass-local (this package) — Local encryption and session token generation
  • com.olane/copass-remote — Knowledge graph ontology and context retrieval

Tools

ToolDescription
generate_session_tokenWrap DEK with access-token-derived key to produce an opaque session token
encrypt_payloadAES-256-GCM encrypt a text payload
encrypt_fileAES-256-GCM encrypt a file's contents
setup_projectWrite hooks, scripts, config, and merge settings for a project
update_auth_tokenPersist a fresh auth token to .olane/config.json
set_copass_encryption_keyWrite a user-provided master key (migration/team sharing)

Installation

From PyPI:

pip install olane-copass-local

From source:

pip install -e .

Configuration

Claude Desktop / Claude Code

Add to your MCP settings:

{
  "mcpServers": {
    "copass-local": {
      "command": "olane-copass-local",
      "transport": "stdio"
    }
  }
}

VS Code (Copilot MCP)

Add to .vscode/mcp.json:

{
  "servers": {
    "copass-local": {
      "command": "olane-copass-local",
      "transport": "stdio"
    }
  }
}

Usage

The Copass Ontology MCP (remote) orchestrates calls to this local plugin:

  • generate_session_token — Called at session start with master_key and access_token. Returns an opaque session token.
  • encrypt_payload / encrypt_file — Called before each API request to encrypt data with AES-256-GCM.
  • The session token and encrypted payloads are forwarded to the Twin-Brain API.

Development

# Install in editable mode
pip install -e .

# Run tests
pytest tests/ -v

# Run the server directly (waits for JSON-RPC on stdin)
python -m olane_copass_local

Keywords

mcp

FAQs

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