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

@bulkhead-ai/server

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bulkhead-ai/server

Bulkhead guardrails HTTP REST and MCP server

latest
Source
npmnpm
Version
0.7.0
Version published
Maintainers
1
Created
Source

Bulkhead Server

HTTP REST and MCP server for the Bulkhead content protection engine.

Install

npm install @bulkhead-ai/server

Also available as @floatingsidewal/bulkhead-server via GitHub Packages and as a Docker container at ghcr.io/floatingsidewal/bulkhead.

MCP Server

Exposes three tools via the Model Context Protocol (stdio transport):

ToolDescription
bulkhead_scanScan text for PII, secrets, injection. Modes: fast (regex), model (regex+BERT), deep (full cascade)
bulkhead_redactScan and return redacted text with [REDACTED-TYPE] placeholders
bulkhead_configureEnable/disable guards at runtime

Claude Code / GitHub Copilot

Add to your project's .mcp.json (or .github/copilot/mcp.json):

{
  "mcpServers": {
    "bulkhead": {
      "command": "docker",
      "args": ["run", "--rm", "-i", "ghcr.io/floatingsidewal/bulkhead:latest", "packages/server/dist/mcp/index.js"]
    }
  }
}

Or if installed via npm:

npx bulkhead-mcp

HTTP REST Server

npx bulkhead-server
# or
docker run -p 3000:3000 ghcr.io/floatingsidewal/bulkhead:latest

Endpoints

MethodPathDescription
POST/v1/scanRegex-only scan (sub-ms)
POST/v1/scan/modelRegex + BERT
POST/v1/scan/deepFull cascade (regex + BERT + LLM)
POST/v1/redactScan and redact
GET/healthzHealth check
GET/readyzReadiness (BERT model loaded?)
GET/infoGuard configuration summary

Example

curl -X POST http://localhost:3000/v1/scan \
  -H "Content-Type: application/json" \
  -d '{"text": "My SSN is 123-45-6789"}'

Environment Variables

VariableDefaultDescription
BULKHEAD_PORT3000Server port
BULKHEAD_HOST0.0.0.0Bind address
BULKHEAD_API_KEY--Enable API key auth (via X-API-Key header)
BULKHEAD_LOG_LEVELinfoLog level
BULKHEAD_CASCADE_MODEL_ENABLEDfalseEnable BERT layer
BULKHEAD_LLM_PROVIDER--LLM provider: openai, anthropic, or custom
BULKHEAD_LLM_API_KEY--LLM provider API key
BULKHEAD_LLM_ENDPOINT--Custom LLM endpoint URL

Documentation

See the How-To Guide for comprehensive examples and the full documentation for architecture, deployment, and API reference.

License

MIT

Keywords

bulkhead

FAQs

Package last updated on 03 Jun 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