convez.ai
MCP Server
UnplugAI

unplug-mcp

UnplugAI/unplug-mcp

Ver no GitHub
InicialPluginScore · de 0 a 100

MCP server for Unplug — LLM defense layer

Instalação

$npx convez-ai UnplugAI/unplug-mcp

1 comando no terminal: detecta o formato do repositório (marketplace ou plugin avulso) e instala via Claude Code. Requer Node 18+ e o Claude Code instalado.

Métricas

Estrelas
2
Forks
2
Acompanhando
0
Saúde
50%
Último commit
há 3 meses
Versão
v0.1.6
Issues abertas
2
Contribuidores
1

README

A tradução para o português deste README ainda está na fila.

Unplug MCP

Model Context Protocol server for Unplug — LLM defense layer.

Integrates with Claude Code, Cursor, Windsurf, and any MCP-compatible client.

Installation

pip install unplug-mcp "unplug-ai>=0.3.0"

Optional ML span scanner:

pip install unplug-mcp "unplug-ai[ml]>=0.3.0"

Usage

Local mode (default)

Add to your MCP client configuration:

Cursor — .cursor/mcp.json or Settings → MCP:

{
  "mcpServers": {
    "unplug": {
      "command": "unplug-mcp",
      "args": []
    }
  }
}

Claude Desktop — claude_desktop_config.json:

{
  "mcpServers": {
    "unplug": {
      "command": "unplug-mcp",
      "args": []
    }
  }
}

Hosted server mode

Point at your Unplug API (same wire format as Guard(mode="server")):

{
  "mcpServers": {
    "unplug": {
      "command": "unplug-mcp",
      "env": {
        "UNPLUG_MODE": "server",
        "UNPLUG_SERVER_URL": "https://api.example.com",
        "UNPLUG_API_KEY": "up_live_xxx"
      }
    }
  }
}

Tools

ToolPurpose
scan_textScan user or retrieved content for injection/leakage
scan_tool_resultScan tool output before the agent reads it
check_destructiveGate side-effect tool calls
wrap_untrusted_contentBoundary markers + scan for RAG/web content
session_statusSession taint state for agent hardening

CI

  • ci.yml — lint + pytest against PyPI unplug-ai
  • pr-scan.yml — regex Guard scan on changed agent/MCP config files (via unplug-scan-pr)

Development

uv sync --extra dev
uv run pytest -q
uv run unplug-mcp

Local SDK path override (monorepo): tool.uv.sources in pyproject.toml.

Ver o original no GitHub

Relacionados