shellward

data-ai MCP Server

AI Agent Security Middleware — 8-layer defense, DLP data flow, prompt injection detection, zero dependencies. SDK + MCP server for Claude Code, Cursor, LangChain, Hermes Agent & more.

VerifiedInstall Ready
data-aidata-ai
6 views112 stars19 forksv0.6.1Apache-2.0

Why This Matters

Discovered via list:awesome-mcp-servers-punkpeye and last synced 3mo ago.

VerifiedInstall Ready
Source
list:awesome-mcp-servers-punkpeye
Stars
112
Last synced
3mo ago
Install
Instructions detected

Install

1. Install the package

npx shellward

2. Add to claude_desktop_config.json

{
  "mcpServers": {
    "shellward": {
      "command": "npx",
      "args": [
        "shellward"
      ]
    }
  }
}

Config file location: ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) / %APPDATA%\Claude\claude_desktop_config.json (Windows)

31
Tools
0
Resources
0
Prompts
Standard I/O
Transport

Available Tools (31)

Platform

Integration

check_path

Check if file path operation is safe (.env, .ssh, credentials...)

locale

`auto` / `zh` / `en`

Tool

Description

SHELLWARD_LOCALE

`auto` / `zh` / `en`

Capability

ShellWard

SDK

`npm install shellward`,3 行代码接入

check_tool

Check if tool name is allowed (blocks payment/transfer tools)

injectionThreshold

`0`-`100`

check_injection

Detect prompt injection in text (37+ rules, zh+en)

Option

Values

8

3

SHELLWARD_MODE

`enforce` / `audit`

Tests

183 passing (incl. 15 MCP + 12 ReDoS + live tool-poisoning scan)

ShellWard

[agentguard](https://github.com/GoPlusSecurity/agentguard)

Variable

Values

Dependencies

0

check_command

Check if a shell command is safe (rm -rf, reverse shell, fork bomb...)

SHELLWARD_THRESHOLD

`0`-`100`

Proxy-based

❌

scan_data

Scan for PII & sensitive data (CN ID/phone/bank, API keys, SSN...)

mode

`enforce` / `audit`

32

24

check_response

Audit AI response for canary leaks & PII exposure

Command

Description

security_status

Get current security config & active layers

Metric

Data

Category

Precision

37

24

scan_mcp_tool

Scan an MCP tool definition for poisoning + rug-pull

SHELLWARD_BASELINE_PATH

file path