Skip to main content
Glama
@vorionsys/mcp-server

@vorionsys/mcp-server

Official
by vorionsys

@vorionsys/mcp-server

License: Apache 2.0 Node

Model Context Protocol server exposing Vorion audit and trust primitives — local trust scoring, proof logging, and remote Cognigate Runtime tools.

This server lets MCP clients (Claude Desktop, Cursor, IDEs, agent frameworks) call Vorion audit and trust primitives directly: check an agent's trust tier, record behavioral signals, run pre-flight tier checks for actions, log proof-chained decisions, and — when configured with a deployed Cognigate Runtime endpoint — submit canary probes, tail tenant audit streams, and perform health checks against a live runtime. Pre-flight checks return a decision; honoring that decision is up to the calling client.

BASIS is to AI-agent governance what OAuth is to delegated authorization — an open standard so an agent trusted by one system can be evaluated by another.

Status: source-available / reference use. This repository is the canonical home for the Vorion MCP server. The npm package @vorionsys/mcp-server and its runtime dependencies are currently withdrawn pending IP review (see Install / current status). Use it as a reference for how a governance layer is exposed over MCP, and as the source you build from once the dependency chain is published.


Quick start (one command to clone + build)

The published npm package is withdrawn (see below), so install from this repo:

# Clone, install, build — then the stdio entrypoint is dist/index.js
git clone https://github.com/vorionsys/mcp-server.git && cd mcp-server && npm install && npm run build

The build produces an executable stdio server at dist/index.js (the package also exposes it as a vorion-mcp bin). To run it directly once built:

node dist/index.js

Or run from source without building (uses tsx):

npm run dev

The server speaks the Model Context Protocol over stdio — it does not print to stdout except MCP frames, and it does not open a port. It is meant to be launched by an MCP client (see Use with Claude Desktop), not run interactively.

Heads-up before you run it: a clean public install does not boot yet. The runtime depends on @vorionsys/sdk, which pulls a chain of @vorionsys/* packages that are withdrawn pending IP review — so the server currently exits at startup with ERR_MODULE_NOT_FOUND. See Troubleshooting for exactly what you'll see and why.


Related MCP server: Agent Identity MCP Server

What trust signals you get

When an MCP client wires this server in, your agent's tool calls can be governed instead of blindly executed. In practice you get:

  • A trust score and tier per agent (0–1000, mapped to tiers T0–T7) so a client can decide how much autonomy an agent has earned — not just whether a single call looks safe.

  • A pre-flight allow/deny (vorion_gate_action / vorion_execute_governed) that checks an agent's tier against the risk of an action before it runs.

  • Behavioral feedback that moves the score — successes raise trust, failures lower it, and higher-tier agents are penalized more for failures (penalty formula P(T) = 3 + T).

  • A hash-chained proof log of every ALLOW/DENY decision, so the reasoning behind a governed action is auditable after the fact.

  • (Optional, remote) tenant + canary visibility against a deployed Cognigate Runtime: who an API key resolves to, a tail of the hash-chained audit stream, and a place to submit canary-probe outcomes.

These are governance signals for a client to act on — they don't themselves block your OS or network; enforcement is up to the client that consumes them.


What's in the box

Local trust-engine tools (run locally, no API key)

Tool

Purpose

vorion_check_trust

Look up an agent's score (0–1000), tier (T0–T7), and observation tier.

vorion_record_signal

Record a behavioral signal (behavioral.success / behavioral.failure / compliance.pass / compliance.fail).

vorion_gate_action

Pre-flight check: does the agent meet the required tier for an action?

vorion_log_proof

Log an ALLOW/DENY decision to the hash-chained proof log.

vorion_execute_governed

Gate + record signal + log proof in one call (recommended).

Remote Cognigate Runtime tools (require VORION_API_URL + VORION_API_KEY)

Tool

Purpose

vorion_tenant_whoami

Resolve the calling API key to its tenant id, role, and capabilities.

vorion_tenant_list

List all tenants on the runtime (admin-only).

vorion_tenant_audit_tail

Tail recent hash-chained audit events for a tenant.

vorion_canary_submit

Submit a canary probe result (pass / fail / ambiguous) to the runtime.

vorion_health_check

Hit the configured Cognigate Runtime /api/v1/health endpoint.

Without VORION_API_URL + VORION_API_KEY, the remote tools still appear in the surface but return a structured not configured error — the local trust-engine tools are unaffected.

Resources

  • vorion://tiers — the BASIS 8-tier trust model (score ranges, capabilities, penalty multipliers, penalty formula).

  • vorion://agents/{agentId}/trust — current trust profile for a specific agent.


Telemetry & privacy

Read the source if you want to confirm any of this — it is all in src/index.ts.

  • The five local trust-engine tools make no network calls. They run entirely in-process against the local trust engine and an in-memory proof log. Nothing is sent anywhere.

  • No analytics, no usage telemetry, no crash reporting. There is no Sentry/PostHog/"phone-home" code path. The only thing written to a remote service is the explicit remote-tool calls you make.

  • The only outbound network calls come from the five remote tools, and only when both VORION_API_URL and VORION_API_KEY are set. In that case the server makes HTTPS requests to the Cognigate Runtime URL you configure (e.g. your own deployment), sending your VORION_API_KEY as a Bearer token and the arguments you passed to the tool. If those env vars are unset, no outbound request is ever attempted.

  • The server logs only to stderr, and only on a fatal startup error. It does not log tool inputs/outputs.

In short: with no env vars configured, this is a fully local server with no telemetry. Any network traffic is an explicit remote tool call to an endpoint you chose.


Install / current status

Do not npm install @vorionsys/mcp-server. That package — along with its runtime dependencies @vorionsys/sdk and @vorionsys/proof-plane — is currently deprecated on npm with the message "withdrawn pending IP review." Install from this repository instead (see Quick start).

Because the dependency chain is mid-review, a clean public clone will install and build but will not yet boot at runtime (the SDK imports withdrawn private @vorionsys/* peers that npm cannot resolve). Treat this repo as reference / source-available until those packages are published. See Troubleshooting.


Use with Claude Desktop

Because the npm package is withdrawn, point Claude Desktop at your locally built copy rather than npx-ing the published package. After running the Quick start, add the following to claude_desktop_config.json (use the absolute path to your clone's dist/index.js):

{
  "mcpServers": {
    "vorion": {
      "command": "node",
      "args": ["/absolute/path/to/mcp-server/dist/index.js"]
    }
  }
}

To enable the remote Cognigate Runtime tools (vorion_tenant_whoami, vorion_tenant_list, vorion_tenant_audit_tail, vorion_canary_submit, vorion_health_check), add the two environment variables, pointing VORION_API_URL at your runtime deployment:

{
  "mcpServers": {
    "vorion": {
      "command": "node",
      "args": ["/absolute/path/to/mcp-server/dist/index.js"],
      "env": {
        "VORION_API_URL": "https://your-cognigate-runtime.example.com",
        "VORION_API_KEY": "vrn_live_..."
      }
    }
  }
}

The server is registered under the name vorion, so its tools appear as vorion_* in the client. VORION_API_URL and VORION_API_KEY are the only two environment variables the server reads.


Troubleshooting

The three most common setup failures, in order of likelihood:

1. Error [ERR_MODULE_NOT_FOUND]: Cannot find package '@vorionsys/...' at startup. This is expected today on a clean public install. @vorionsys/sdk pulls a chain of @vorionsys/* packages (e.g. atsf-core, security, a3i, runtime) that are withdrawn pending IP review and therefore cannot be resolved from the public npm registry. The build (npm run build) succeeds, but node dist/index.js exits immediately. There is no public workaround until those packages are published — this is why the repo is currently labeled reference / source-available. If you have access to the Vorion monorepo, install/link those peers there and run from that workspace.

2. The server starts but immediately exits, or your client says "node: command not found" / a syntax error. Check your Node version: node --version. This server requires Node.js >= 20 (it uses native ESM and the global fetch). On older Node you'll see module-resolution or fetch is not defined errors. Also make sure you ran npm run build first — args in the Claude Desktop config must point to the compiled dist/index.js (or use npm run dev for the tsx source path), not src/index.ts directly.

3. The remote tools return Remote Cognigate API is not configured (or a network error). The five remote tools require both VORION_API_URL and VORION_API_KEY to be set in the server's env. If either is missing you'll get a structured not configured error — that's by design, and the local tools keep working. If both are set but you get a network error, the URL is unreachable from where the server runs; if you get 403 on vorion_tenant_list, your key lacks the admin role. Note this is a stdio server: it must be launched by an MCP client (or piped JSON-RPC), not run as an interactive command — a bare node dist/index.js in a terminal will just wait silently for stdin.


Development

# Install dependencies
npm install

# Build (tsc -> dist/)
npm run build

# Run tests (vitest)
npm test

# Typecheck only
npm run typecheck

# Run from source over stdio (tsx)
npm run dev

Stack

  • Runtime: Node.js >= 20, ES modules (type: module).

  • Language: TypeScript 5.x, strict mode, NodeNext resolution.

  • MCP SDK: @modelcontextprotocol/sdk ^1.28.

  • Vorion deps: @vorionsys/sdk ^0.3.1 (local trust engine) and @vorionsys/proof-plane ^0.1.4 (hash-chained event log) — both withdrawn pending IP review on npm; see Install / current status.

  • Schema validation: zod.

  • Test runner: vitest.

  • Transport: stdio (Claude Desktop, Cursor, etc.). HTTP transport is not implemented.


Provenance

This package was extracted from the Vorion monorepo at commit 3d7ed92d (April 20 2026 — feat(mcp-server): add remote Cognigate Runtime tools (v0.3.0)).

The remote-runtime work was originally captured in a now-superseded PR in the private monorepo (voriongit/vorion#137). That PR is closed in favor of this standalone repo per founder direction (Apr 24 2026).

License normalized from UNLICENSED to Apache-2.0 at extraction time.


License

Apache-2.0 — see LICENSE.

Copyright 2026 Vorion LLC. See NOTICE for attribution.


Available Tools

10 tools
vorion_canary_submitA

Submit a canary probe result to the Cognigate Runtime. Canary probes are adversarial or behavioral test cases that measure whether an agent responded correctly. Results classified as pass / fail / ambiguous feed the tenant's behavioral baseline and can trigger AUDITED state on repeated ambiguous outcomes. Returns the stored proofHash for chain verification.

Inputs: agentId (required), outcome (required), probeId (required), riskLevel (required), +1 more.

vorion_check_trustA

Look up an AI agent's current trust score and tier in the Vorion governance system. Returns the numeric score (0-1000), tier number (T0-T7), tier name, and observation tier. Use this to check how trusted an agent is before allowing it to perform sensitive actions.

Inputs: agentId (required).

vorion_execute_governedA

Gate + execute + log in one atomic call. Checks if the agent has sufficient trust tier, executes the action if allowed, records the outcome as a behavioral signal, and logs a proof. Returns the full governance trail: gate decision, execution result, trust delta, and proof hash. This is the recommended way to run governed tool calls — replaces manual check-then-execute patterns.

Inputs: risk (required), action (required), agentId (required), description (required).

vorion_gate_actionA

Check if an AI agent is allowed to perform a specific action based on its current trust tier. Returns whether the action is allowed, the agent's current tier, the required tier, and a reason. Use this as a pre-flight check before executing sensitive operations.

Inputs: action (required), agentId (required), requiredTier (required).

vorion_health_checkA

Hit the Cognigate Runtime health endpoint. Returns status, uptime, and dependency state (proof store, audit log, metrics). Use this as a pre-flight check before relying on remote governance operations, or to confirm the deployed API is reachable.

Inputs: no named parameters.

vorion_log_proofA

Log a governance decision to the Vorion proof chain — an immutable, hash-linked audit trail. Every ALLOW or DENY decision is recorded with the agent ID, action, and reasoning. Returns a proof hash and the current chain length for verification.

Inputs: action (required), reason (required), agentId (required), decision (required).

vorion_record_signalA

Record a behavioral signal (positive or negative) for an AI agent. Positive signals (success, compliance pass) increase trust over time. Negative signals (failure, compliance fail) decrease trust — and higher-tier agents are penalized MORE severely per the BASIS penalty ratio P(T) = 3 + T.

Inputs: type (required), value (required), agentId (required).

vorion_tenant_audit_tailA

Tail the most recent audit events for a tenant (default: caller's own tenant). Each event carries hash-chained provenance: eventId, priorProofHash, proofHash. Use this to verify governance activity is being recorded correctly or to surface the live audit stream in a dashboard / glass window.

Inputs: limit, tenantId.

vorion_tenant_listA

List all tenants registered on the Cognigate Runtime. Admin-only. Returns id, name, tier, createdAt, and agent counts. Requires an admin-role API key in VORION_API_KEY.

Inputs: no named parameters.

vorion_tenant_whoamiA

Resolve the calling API key against the deployed Cognigate Runtime. Returns the tenant id, role, and capabilities the key is scoped to. Use this first if you need to confirm which tenant context the MCP session is running in. Requires VORION_API_URL + VORION_API_KEY env vars.

Inputs: no named parameters.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.1/5.0

    Scored across 10 tools

    Disambiguation4/5

    Each tool targets a distinct action within the governance domain, but vorion_execute_governed composites several other tools (gate, signal, log), which could create slight overlap. Descriptions are clear enough to disambiguate intended usage.

    Naming Consistency3/5

    All tools share the vorion_ prefix and snake_case, but ordering mixes verb-first (check_trust, record_signal) with noun-first (tenant_list, canary_submit). This is a moderate inconsistency that remains readable.

    Tool Count5/5

    10 tools is well within the ideal 3-15 range, and each tool covers a necessary aspect of the governance system without unnecessary bloat.

    Completeness4/5

    The set covers core governance workflows: trust checks, signal recording, gating, logging, execution, tenant context, audit, canary, and health. Minor gaps like direct agent CRUD exist but are not essential to the stated purpose.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      A unified MCP server providing observability, safety control, and behavior evolution for high-agency AI agents through tracing, replaying, and auditing. It features real-time firewall guardrails and ML-driven anomaly detection to monitor, block, or fork agent actions based on risk.
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      MCP server that enforces governance on agentic decisions with auditable evidence records, providing tools for understanding, calibrating confidence, and navigating handoffs based on policy.
      -