Skip to main content
Glama
README.md
# @mhdd_24/ai-safety-mcp

MCP server for Evaluate unsafe/problematic model outputs.

Same architecture as [@mhdd_24/sublime-mcp](https://github.com/Mhdd-24/Sublime-MCP).

**Full documentation:** [docs/WIKI.md](./docs/WIKI.md)

---

## How it works (30 seconds)

```
You (chat) → MCP client → ai-safety-mcp → AI Safety APIs / CLIs / local tools
```

---

## Prerequisites

| Requirement | Notes |
|-------------|--------|
| **Node.js 18+** | ESM TypeScript MCP server |
| **Credentials / CLIs** | See environment variables below |

---

## Install

### Option A — npm (after publish)

```bash
npm install -g @mhdd_24/ai-safety-mcp
```

### Option B — npx

```bash
npx @mhdd_24/ai-safety-mcp
```

### Option C — clone and build

```bash
git clone https://github.com/Mhdd-24/AI-Safety-MCP.git
cd AI-Safety-MCP
npm install
npm run build
node dist/index.js
```

---

## Configure Cursor

Edit `~/.cursor/mcp.json`:

```json
{
  "mcpServers": {
    "aisafety": {
      "command": "npx",
      "args": ["-y", "@mhdd_24/ai-safety-mcp"],
      "env": {
        "_": "optional"
      }
    }
  }
}
```

**Local development:**

```json
{
  "command": "node",
  "args": ["/absolute/path/to/AI-Safety-MCP/dist/index.js"]
}
```

---

## Environment variables

| Variable | Description |
|----------|-------------|
| — | No required env |

---

## Tools

| Tool | Description |
|------|-------------|
| `aisafety_status` | Show Evaluate unsafe/problematic model outputs configuration / health. |
| `aisafety_scan` | Scan text for policy/safety issues. |
| `aisafety_suite` | Generate a test suite outline. |

---

## License

ISC

TDQS

B3.2/5.0

Scored across 3 tools

Disambiguation5/5

Each tool addresses a clearly distinct activity: checking health/configuration, scanning text for issues, and generating a test suite outline. There is no meaningful overlap between these operations.

Naming Consistency4/5

All tool names share the consistent 'aisafety_' prefix and are concise, but the naming style mixes nouns (status, suite) with an action-like word (scan). 'aisafety_suite' especially omits an explicit verb such as 'generate' or 'create'.

Tool Count5/5

Three tools is a well-scoped count for a focused AI safety utility server. Each tool earns its place and covers a distinct core capability without unnecessary bloat.

Completeness4/5

The toolset covers core safety workflow needs: health check, scanning, and test suite generation. Minor gaps exist, such as the absence of a dedicated tool for detailed policy management or report retrieval, but the core surface is not incomplete.

Maintenance

ActivityMaintained
ResponsivenessNo issues