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

Source
npmnpm
Version
0.4.0
Version published
Weekly downloads
179
-50.28%
Maintainers
1
Weekly downloads
 
Created
Source

Bulkhead Server

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

Install

This package is available under two scopes:

npm install @bulkhead-ai/server
# or
npm install @floatingsidewal/bulkhead-server

Both packages are identical. Use whichever scope fits your project.

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

Add to your project's .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

GitHub Copilot

Add to .github/copilot/mcp.json with the same format.

HTTP REST Server

bulkhead-server
# or
npx bulkhead-server

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

Request Format

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

Docker

# HTTP mode
docker run -p 3000:3000 ghcr.io/floatingsidewal/bulkhead:latest

# MCP mode (stdio)
docker run --rm -i ghcr.io/floatingsidewal/bulkhead:latest packages/server/dist/mcp/index.js

See the deployment guide for Docker configuration details.

License

MIT

Keywords

bulkhead

FAQs

Package last updated on 12 Apr 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