Mastyf AI MCP Server

Perimeter security for your AI. Runtime enforcement, policy control, and full audit trail for every AI action. It runs locally over stdio via the published package.

People connecting security tools to Claude, Cursor, VS Code, or another MCP client. The project is written in TypeScript.

VERIFIED ACTIVE

LAST COMMIT 2026-08-21 · ★ 18 · #45 OF 182 MAINTAINED SECURITY · VERIFIED 2026-08-25

AGPL-3.0 · TypeScript servers · how we verify → /methodology

01 · Install Mastyf AI

before you install - you'll need

Set OLLAMA_BASE_URL, MASTYF_AI_LLM_PROVIDER, MASTYF_AI_LLM_MODEL before connecting.

Claude Code

claude mcp add mastyf-ai-mastyf.ai -- npx -y @mastyf_ai/server

Claude Desktop / Cursor / VS Code - add to config

{
  "mcpServers": {
    "mastyf-ai-mastyf.ai": {
      "command": "npx",
      "args": [
        "-y",
        "@mastyf_ai/server"
      ]
    }
  }
}

Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.

Using another client? Same JSON, different key

Claude Desktop · mcpServers

Cursor · mcpServers

VS Code · servers

Windsurf · mcpServers

Zed · context_servers

Cline · mcpServers

Roo Code · mcpServers

Continue · mcpServers

LibreChat · mcpServers

Gemini CLI · mcpServers

Codex CLI · mcp_servers

Full setup guides: every client.

02 · Evidence

Security posture

What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.

runs as local process (stdio) - runs on your machine with your user's permissions

license AGPL-3.0 - declared in the repository

npm package @mastyf_ai/server - the @mastyf_ai scope differs from the repo owner (mastyf-ai); confirm it's the project's official package

registry namespace io.github.mastyf-ai is GitHub-verified and matches the repo owner

03 · What Mastyf AI can do

Prose above is summarized from the project's README and registry record - no invented capabilities.

Latest releases

v4.1.12 · 2026-07-04

Fix compliance evidence, KPI display, risk scoring, and tool configs · Fix production dashboard data flows · Remove bulk Quarantine All from security dashboard · Published to MCP Registry, npm, and promoted across…

04 · Who maintains Mastyf AI

mastyf.ai is maintained by mastyf-ai. It's the only MCP server we track from this author; the repo dates to Jun 2026.

05 · Facts

category
security - ranked #45 of 182 actively-maintained security servers as of 2026-08-25.
release cadence
1 release in the last 90 days (latest 2026-07-04)
registry
io.github.mastyf-ai/mastyf.ai (active, first published 2026-07-04)
packages
npm:@mastyf_ai/server

06 · Mastyf AI FAQ

What is Mastyf AI?

Perimeter security for your AI. Runtime enforcement, policy control, and full audit trail for every AI action. It runs locally over stdio via the published package.

Is Mastyf AI still maintained?

Yes - as of 2026-08-25, its last commit was 2026-08-21 and it shipped 1 release in the last 90 days. We re-verify nightly.

How do I install Mastyf AI?

Run `npx -y @mastyf_ai/server`. The README documents 3 environment variables (OLLAMA_BASE_URL, MASTYF_AI_LLM_PROVIDER, MASTYF_AI_LLM_MODEL) to set first. Set OLLAMA_BASE_URL, MASTYF_AI_LLM_PROVIDER, MASTYF_AI_LLM_MODEL before connecting. You can also paste the ready-made client config above.

Does Mastyf AI run locally?

Yes - it's a stdio server: it runs on your machine (via npx) with your user's permissions. Your data stays local unless the server itself calls external APIs.

07 · Alternatives to Mastyf AI