# AtlaSent MCP Server [Health: Active]

**Category:** 🔒 Security  
**Repository:** https://github.com/Atlasent/atlasent-mcp-server  
**GitHub Stars:** 0  
**npm Downloads (last month):** 987  
**Views:** 4  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/atlasent-mcp-server

## Description
Authorize-before-execute for AI agents: evaluate an action, get a permit, verify it before running.

## Tools
Capabilities this server exposes over MCP:

- **evaluate** — Call this BEFORE performing any sensitive action. Returns a Decision: `allow` (verify the returned permit_token at the execution boundary before proceeding), `deny` (you MUST NOT proceed), or `hold` (do not proceed; route for review).
- **verify_permit** — Call this AFTER `evaluate` returns allow and BEFORE the protected native side effect. It verifies the permit for the presented execution context. Proceed only when `valid` is true; expired, invalid, replayed, mismatched, or error outcomes must block the action.
- **deploy_service** — Example protected tool. Every call is authorized AND its Permit is verified by AtlaSent before the deploy runs. Denied, held, expired, replayed, mismatched, or unverifiable calls are blocked and never touch the target system.
- **atlasent_evaluate** — Evaluate an action against your published AtlaSent policies. Returns allow/deny/hold/escalate with a permitToken on allow. Use this when ATLASENT_MODE=remote and you need to gate an action against your hosted policy engine. For agent.* actions the result may carry bound_payload_hash and bound_actor_id: pass them to verify_permit as payload_hash and actor_id, since the permit is bound to them.
- **atlasent_list_policies** — List all constraint bundles / policies for this organization.
- **atlasent_list_audit_events** — Retrieve recent evaluation events from the audit log.
- **atlasent_explain_authority** — Explain why a principal currently has (or lacks) authority for a scope. Answers 'why may principal P exercise scope/action A in organization O right now?' — strictly read-only, does not change /v1-evaluate, /v1-verify-permit, or any deny/hold/allow semantics; it explains the same facts those paths already read. Every matched authority mechanism (direct_grant, delegation, role_capability) is reported as its own path entry; every excluded or ambiguous relationship is reported as its own unresolved finding.
- **atlasent_integrity_audit** — Audit the organization's authority graph for internal inconsistency and return the report verbatim. Strictly read-only; changes no policy, permit, or decision. THIS IS NOT A PASS/FAIL HEALTH CHECK and the tool synthesizes no verdict of its own. Each finding carries a three-way `classification`: `defect` is a genuine inconsistency; `non_exercisable` is frequently the CORRECT, healthy state (e.g. an expired grant that is supposed to be expired) and must not be read as a failure; `unresolved` means the proposition COULD NOT BE VERIFIED and must never be treated as clean. Read `summary.audited_scope` before drawing any conclusion from an empty findings list — a short decision window is not an absence of findings. If the audit cannot complete, the server refuses rather than returning a partial report, and this tool surfaces that as an error — never an empty report.
- **atlasent_list_permits** — List issued permit tokens for audit and monitoring.
- **atlasent_await_approval** — Wait for a person to approve or reject a held action in the AtlaSent console. Use the approval_request_id from a 'hold' result. This tool cannot approve anything; it only waits. If approved, it returns a permit_token that you MUST verify with verify_permit before running the action. Any other outcome (rejected, expired, timed out) means the action must not run.
- **atlasent_lookup_action** — Look up canonical action specifications from the Authorization Intelligence Library. Returns the permanent canon_id, gate flags (requires_human_approval, requires_mfa, requires_verified_actor, requires_state_snapshot), authorization pattern, risk posture, AI risk classification, regulatory mappings, evidence requirements, and the action's knowledge-graph relationships (what it requires and produces, and which frameworks / control objectives it satisfies) for every governed action type in the Canon. Use `slug` for an exact match (e.g. 'production.deploy') or `query` to describe what you want to do in plain language (e.g. 'deploy the api service to prod', 'grant admin access', 'close the books'). `query` is ranked offline against the vendored Canon and returns a `retrieval` block with `confidence` = confident | ambiguous | none — act only on `confident`; the tool never invents an action type, and a `none` result means the Canon has no such action (see the hint). Omit both to list the full Canon.
- **atlasent_atlas_lookup** — Look up a canonical AtlaSent concept from the Knowledge Atlas — the compiled graph of the system's own vocabulary (Caller, Authority, Policy, Decision, Permit, Verification, Evidence, Audit Chain, Gate, Trust Root, ...). Returns the concept's canonical definition (its source-of-truth doc), its relationships (what it depends on and what depends on it), the surfaces that realize it, and its ADR / API / SDK / implementation anchors — so every AI host reasons from the same canonical knowledge instead of guessing. Use `id` for an exact concept id (e.g. 'permit', 'audit-chain', 'gate') or `query` for a case-insensitive substring search across id, term, and definition. Omit both to list every concept.
- **atlasent_evaluate_many** — Evaluate up to 100 actions in a single request against your published AtlaSent policies. Returns decisions in input order. Optional batch_id (UUID) provides idempotency. Closed-by-default: 404 surfaces as a `feature_not_enabled` error tagged with the `v2_batch` tenant flag.
- **atlasent_evaluate_stream** — Evaluate up to 100 actions via the streaming endpoint. The tool buffers the SSE stream and returns the complete result set (same shape as atlasent_evaluate_many). Per-item RPC failures surface in the items array with `{ error }`; the stream continues. Closed-by-default: 404 surfaces as a `feature_not_enabled` error tagged with the `v2_streaming` tenant flag.
- **atlasent_query** — Run a read-only GraphQL query against the AtlaSent V2 GraphQL endpoint. Wave A schema: `recentEvaluations(limit)`, `activeBundle`. Body limit 1MB, depth limit 8, one operation per request (enforced server-side). Closed-by-default: 404 surfaces as a `feature_not_enabled` error tagged with the `v2_graphql` tenant flag.
- **atlasent_get_evidence_export** — Retrieve a specific compliance evidence bundle by ID. Includes status, SHA-256 hash for tamper verification, and download URL when complete.
- **atlasent_vqp_generate** — Score a constraint bundle against the 6 VQP criteria (access_control CC6.1, audit_coverage CC7.2, escalation_paths CC7.4, deny_specificity CC8.1, hold_conditions CC6.3, override_governance CC5.2). Stores a tamper-evident snapshot with a SHA-256 prompt_hash in vqp_snapshots. Verdicts: qualified (≥85, no fails), conditionally_qualified (≥60), not_qualified. Requires ATLASENT_SUPABASE_URL and ATLASENT_SUPABASE_SERVICE_ROLE_KEY.
- **atlasent_vqp_verify** — Re-derive the VQP prompt from current bundle data and verify it matches the stored SHA-256 prompt_hash. Detects tampering (hash_match: false) and optionally re-runs the AI model to detect score drift (score_delta, verdict_changed). Writes a vqp_audit_log row for SOC 2 CC7.2 / 21 CFR Part 11 evidence. Requires ATLASENT_SUPABASE_URL and ATLASENT_SUPABASE_SERVICE_ROLE_KEY.
- **atlasent_evidence_gap_report** — Scan CI workflow files for steps that change real systems (deploys, package and image publishes, database migrations, terraform/pulumi applies) and report, per step, whether an AtlaSent gate stands in front of it: bound, gated, gated_upstream, weak, or ungoverned. Read the repository's .github/workflows/*.yml files and pass each one's path and full text as `workflows`. Offline and read-only: no network call, no API key, nothing is executed. The report lists what it cannot see (repository settings, deploys outside CI, the inside of deploy scripts) so a clean result is never read as proof.
- **atlasent_exposure_review** — The free Authorization Exposure Review: a readable Markdown review of which CI steps can change real systems (deploys, publishes, migrations, infrastructure applies) without an approval gate that can stop them, with the exact fix for each and what the review cannot see. Same analysis as atlasent_evidence_gap_report, written for a person. Read the repository's .github/workflows/*.yml files and pass each one's path and full text as `workflows`. Offline and read-only: no network call, no API key. Show the returned `markdown` to the user as is.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "atlasent-mcp-server": {
    "command": "npx",
    "args": ["-y","@atlasent/mcp-server"],
    "env": {
      "ATLASENT_MODE": "",
      "ATLASENT_API_KEY": "",
      "ATLASENT_BASE_URL": "",
      "ATLASENT_SUPABASE_URL": "",
      "ATLASENT_SUPABASE_SERVICE_ROLE_KEY": "",
      "NODE_ENV": ""
    }
  }
}
```

**Requires environment variables:** `ATLASENT_MODE`, `ATLASENT_API_KEY`, `ATLASENT_BASE_URL`, `ATLASENT_SUPABASE_URL`, `ATLASENT_SUPABASE_SERVICE_ROLE_KEY`, `NODE_ENV` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What AtlaSent MCP Server does

AtlaSent MCP Server exposes authorization primitives to MCP hosts so an agent can ask whether a proposed action may run before invoking the native operation. Its core sequence is evaluation, permit verification, and execution: a deny, hold, escalation, invalid permit, expired permit, replay, context mismatch, or verification error stops the protected action.

The server includes `deploy_service` as a protected deployment example. That tool authorizes and verifies each call before the simulated deployment proceeds. The package also exposes read-only inspection and governance functions, including policy listing, audit-event retrieval, permit listing, authority explanations, integrity audits, canonical action lookup, and Knowledge Atlas concept lookup.

## How it works

With no credentials, the server uses local mode and an in-process rules engine. Its built-in rules deny production actions without approvals, hold several destructive or release-related actions, and issue a single-use permit with a five-minute lifetime for actions that pass. Local permits are unsigned and are intended for development, CI, and experimentation; the server refuses to fall back to this mode when `NODE_ENV=production`.

Remote mode uses an AtlaSent policy engine. `atlasent_evaluate` returns `allow`, `deny`, `hold`, or `escalate`; an allowed result includes a permit token. Held actions can wait for a human decision through `atlasent_await_approval`, but an approval still requires `verify_permit` before execution. Permit verification must occur at the execution boundary, using the relevant execution context and, for some agent actions, the returned payload hash and actor ID.

Batch and streaming evaluation support up to 100 actions. The GraphQL tool provides a constrained read-only query surface. Several remote V2 features are closed by default and report a feature-disabled error when unavailable.

## Setup and configuration

Run the local package directly with:

```bash
npx -y @atlasent/mcp-server
```

An MCP host can configure it as a stdio server:

```json
{
  "mcpServers": {
    "atlasent": {
      "command": "npx",
      "args": ["-y", "@atlasent/mcp-server"],
      "env": { "ATLASENT_MODE": "local" }
    }
  }
}
```

For a source checkout, install dependencies, build the project, and run its offline demo:

```bash
git clone https://github.com/AtlaSent/atlasent-mcp-server.git
cd atlasent-mcp-server
npm install
npm run build
npm run demo
```

Docker supports both local stdio execution and remote execution with `ATLASENT_API_KEY` and `ATLASENT_BASE_URL`. VQP generation and verification additionally require `ATLASENT_SUPABASE_URL` and `ATLASENT_SUPABASE_SERVICE_ROLE_KEY`.

## Tools and capabilities

- Evaluate one action, or up to 100 actions in batch or streaming mode.
- Verify a permit before a protected native effect.
- Wait for human approval of a held action.
- Inspect policies, permits, audit events, authority paths, and integrity findings.
- Look up canonical action specifications and AtlaSent concepts.
- Retrieve evidence exports and run VQP scoring or tamper checks.
- Analyze supplied GitHub Actions workflow text for ungated deployment, publishing, migration, and infrastructure steps.
- Query the supported read-only GraphQL surface.

## Limitations and notes

Local mode is a credential-free demonstration and does not provide signed production authority. The evidence-gap and exposure-review tools are offline and only analyze workflow files supplied to them; they cannot see repository settings, activity outside CI, or the internals of deployment scripts. Integrity audits return findings without synthesizing a pass/fail verdict, and unresolved findings must not be treated as clean results. Remote policy, batch, streaming, and GraphQL features may be disabled per tenant.

_Full upstream README: https://allmcps.com/mcp/atlasent-mcp-server/readme_

