# aletheia-mcp

Fast deterministic MCP pre-filter that blocks known scope-creep (S3) and prompt-injection (S2b) tool-call patterns before an agent runs them. ~25 microsecond overhead, no LLM in the hot path; a first-line pre-filter, not a sandbox.

- **Type:** MCP server
- **Trust:** 60/100 (B), scored on the package rubric
- **Verification:** community-indexed — nobody has claimed this listing
- **Version:** 0.3.0
- **Author:** Vikas Shivpuriya
- **License:** Apache-2.0
- **npm:** aletheia-mcp
- **Source:** https://github.com/vikasny30/aletheia-mcp
- **Compatible clients:** claude-code, cursor, copilot, gemini (basis: transport)

## Trust

60/100 (B), scored on the package rubric
- Publisher verified: no
- Install scripts: nothing suspicious found
- Prompt-injection scan: not run
- Obfuscation scan: not run
- Evidence age: 0 days

## Security scan

- **Status:** clean
- **Scanned:** 2026-09-07T19:55:51.160Z
- **Version scanned:** 0.3.0
- **CVEs:** none found by OSV at scan time
**Findings**
- injection-shaped content (note) in the `aletheia_mandate_enforcer` tool: References the system prompt

## Tools

10 declared. Statically extracted from the shipped source — a floor on the surface, not a census.
- `aletheia_mandate_enforcer` — System prompt directive establishing operational safety boundaries, tool-use conservatism, and mandatory clearance through Aletheia.
- `task_description` — The primary task and authorized objective for the agent.
- `workspace_root` — The root directory confining all operations.
- `allow_write` — Whether filesystem modifications are permitted ('true' or 'false').
- `aletheia_set_mandate` — Establish or update the active operational safety mandate for this agent session. Declares permissible boundaries, allowed tools, filesystem directories, write 
- `aletheia_get_mandate` — Retrieve the current operational safety mandate, permissions, and active boundary constraints.
- `aletheia_intercept` — Universal sub-millisecond safety gatekeeper. Evaluates any proposed tool invocation against Signature S3 (Scope Creep) and S2b (Prompt Injection) to block destr
- `aletheia_safe_bash` — Execute a shell/bash command with inline sub-millisecond Signature S3 scope creep protection. Blocks destructive deletes (rm -rf), disk formatting, fork bombs, 
- `aletheia_safe_sql` — Audit or execute a database query with Signature S3 safety filters. Detects destructive DDL (DROP, TRUNCATE), unbounded DML (DELETE/UPDATE without WHERE), and p
- `aletheia_get_telemetry` — Retrieve runtime safety telemetry: total tool calls evaluated, block rate %, latency percentiles (p50, p95, p99 < 1ms), and violation counts broken down by sign

## Install

**Verdict: review** — Installable, but 1 thing to check first: No publisher has proved control of this listing; it is indexed, not vouched for.
**Cautions** (coverage gaps and advisories — never blocking)
- No publisher has proved control of this listing; it is indexed, not vouched for.
**Config** (claude-code):
```json
"{\n  \"mcpServers\": {\n    \"aletheia\": {\n      \"command\": \"npx\",\n      \"args\": [\n        \"-y\",\n        \"aletheia-mcp\"\n      ],\n      \"env\": {\n        \"ALETHEIA_OPERATOR_SECRET\": \"<YOUR_ALETHEIA_OPERATOR_SECRET>\"\n      }\n    }\n  }\n}"
```
**Credentials it will ask for** (names only — Forge never holds a value):
- `ALETHEIA_OPERATOR_SECRET` — Aletheia Operator Secret (optional)
Placeholders only. Forge never holds, brokers, or transmits a credential value — replace each <YOUR_NAME> in your own config file. Do not send a value back to Forge; no Forge endpoint accepts one.
- This entry needs 1 credential (0 required). The generated config carries placeholders, so it will fail in the editor rather than at runtime if they are left unset.

## Blast radius

Extensive blast radius — mutates data; holds an api key.
- Floor 47, ceiling 47 (tier: extensive)
- This is impact, not likelihood. A high radius is not a defect: a filesystem server is supposed to write files. It is never part of the trust score.

## Machine-readable views of this entry

- Signed JSON: https://forgeregistry.com/api/v1/packages/aletheia-mcp
- Install plan: https://forgeregistry.com/api/v1/packages/aletheia-mcp/install-plan
- Alternatives: https://forgeregistry.com/api/v1/alternatives/aletheia-mcp
- HTML page: https://forgeregistry.com/registry/aletheia-mcp
- MCP: POST https://forgeregistry.com/api/mcp → `forge_get_package` / `forge_install_plan`

## About this document

Generated by Forge (https://forgeregistry.com) — a compact rendering of the same record served, signed, at the JSON URL above. Trust and scan facts are the registry's own measurements; anything Forge did not measure is named as unmeasured rather than omitted.
