FRENES

Security · MCP server

Mastyf.ai: MCP server, setup and security

Mastyf.ai is an open-source MCP server published on GitHub that lets an AI agent block MCP security attacks and assess trust in npm MCP packages. Its repository has 21 stars and its last commit is from October 21, 2026 and it is licensed under AGPL-3.0.

Score
63/100
Adoption (stars) 13/40
Maintenance 30/30
Framework (licence, registry, official) 20/30
Actively maintainedNeeds secrets

What Mastyf.ai does

According to its repository: “Runtime security proxy for MCP that blocks prompt injection, SSRF, shell/SQL injection and credential exfiltration, plus trust scores for npm MCP packages.”

The Model Context Protocol (MCP) is a standard plug between an AI agent and an outside service: once the server is connected, its tools show up in the agent, which decides when to call them. Mastyf.ai is listed under Security, a category of 133 servers in the directory, where it ranks #66 by stars.

Topics declared by the repository: ai-security, mcp-security, ai-agents, llm-security, prompt-injection, runtime-security.

Installing and connecting Mastyf.ai

Distribution modes declared in the official MCP registry:

  • npm package (Node.js, usually started with npx)

It works with any MCP-compatible client (Claude Desktop, Claude Code, Cursor, VS Code, Codex and most recent agents). You add one entry to the client's MCP configuration: server name, start command or URL, environment variables. Project language: TypeScript. Listed systems: macOS, Windows, Linux.

The registry lists one secret variable to provide (API key, access token). Keep them in the client's environment variables, never in a shared file or a repository.

Security: what to check

Connecting an MCP server means installing software that talks straight to your agent: it runs with your rights and the model trusts its tool descriptions. The risk therefore depends on what it can touch and how far its code can be trusted.

Points found for Mastyf.ai:

  • Secrets: the server acts with your credentials. Create a dedicated key with minimum rights and an expiry date.

Good practice: grant only the rights needed (least privilege), require human approval for irreversible actions, and run the AI agent security check.

Project activity and maintenance

Created on June 18, 2026, the mastyf-ai/mastyf.ai repository has 21 stars and 5 forks, with 11 open issues. It has more stars than 39% of the servers in the directory. It received changes this month. Version published in the registry: 4.1.12 (July 4, 2026).

Stars measure attention, not quality: a recent, heavily promoted project can collect them fast, while a useful but niche server will have few.

World MonitorWorld Monitor : 89.4K89.4KSemgrepSemgrep : 17.2K17.2KIda pro MCPIda pro MCP : 13.1K13.1KGhidraMCP (LaurieWired)GhidraMCP (LaurieWired) : 11.5K11.5KRobin: AI Powered Dark Web ORobin: AI Powered Dark Web O : 7.7K7.7KJadx ai MCPJadx ai MCP : 2.9K2.9KPower BI Authoring MCP ServePower BI Authoring MCP Serve : 1.2K1.2KSafeDep Vet MCPSafeDep Vet MCP : 1.1K1.1KMastyf.aiMastyf.ai : 2121
GitHub stars of the most followed servers in the category (log scale); Mastyf.ai in orange. Checked October 25, 2026.

Verdict

Mastyf.ai is a reasonable choice; check the points below before connecting it.

Strengths

  • Active project: recent commit
  • Listed in the official MCP registry

Limitations

  • Requires an API key or token

Avoid if…

  • You do not want to give credentials to an agent

Frequently asked questions

How do I install Mastyf.ai?

Mastyf.ai is distributed as npm package (Node.js, usually started with npx). Add it to your client's MCP configuration (Claude Desktop, Cursor, VS Code…) following the README of mastyf-ai/mastyf.ai.

Is Mastyf.ai free?

The code is published under the AGPL-3.0 licence and can be used free of charge. It needs an API key: the service it connects to may be paid.

Is Mastyf.ai safe?

Points to watch: secrets. Give it minimum rights and approve sensitive actions.

Is it an official server?

Nothing says so: it is a project published by mastyf-ai on GitHub. Check who maintains it before giving it access.

What are the alternatives to Mastyf.ai?

In the same category: Semgrep, World Monitor, SafeDep Vet MCP, and Ida pro MCP. Semgrep and World Monitor score higher on our grid.

Related articles

Neutrality. No affiliate links. No vendor pays to be reviewed, rated or ranked. Reviews are directed by François Chollet, neutral and factual, and every data point is dated and sourced. How we score