Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者による説明(英語の原文)
Runtime proxy for MCP security, cost governance & audit
この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
使っているAIアプリを選んで、設定をコピーしてください。
MASTYF_AI_DB_PATH, ALERT_WEBHOOK_URL, METRICS_ENABLED「秘密」と表示された値は、あなたのアカウントの鍵です。絶対に人に教えたり、チャットに貼り付けたりしないでください。
必要なもの
どのアプリを使っていますか?
上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。
Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます
{
"mcpServers": {
"mastyf-ai": {
"command": "npx",
"args": [
"-y",
"@mastyf_ai/server"
],
"env": {
"MASTYF_AI_DB_PATH": "your-value",
"ALERT_WEBHOOK_URL": "your-value",
"METRICS_ENABLED": "your-value"
}
}
}
}ターミナルでこれを実行します
claude mcp add mastyf-ai --env MASTYF_AI_DB_PATH=your-value --env ALERT_WEBHOOK_URL=your-value --env METRICS_ENABLED=your-value -- npx -y @mastyf_ai/server動かす前に、空欄の値を入力してください。
プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます
{
"mcpServers": {
"mastyf-ai": {
"command": "npx",
"args": [
"-y",
"@mastyf_ai/server"
],
"env": {
"MASTYF_AI_DB_PATH": "your-value",
"ALERT_WEBHOOK_URL": "your-value",
"METRICS_ENABLED": "your-value"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
プロジェクトの .vscode/mcp.json に貼り付けます
{
"servers": {
"mastyf-ai": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@mastyf_ai/server"
],
"env": {
"MASTYF_AI_DB_PATH": "your-value",
"ALERT_WEBHOOK_URL": "your-value",
"METRICS_ENABLED": "your-value"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。
選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。
MASTYF_AI_DB_PATH envMETRICS_ENABLED envこの設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月6日にチェック
レジストリ名は、リポジトリを所有するGitHubアカウント mastyf-ai で確認済みです
このリポジトリはまだGitHubから読み取っていません
このリポジトリはまだGitHubから読み取っていません
これはパソコンで動くため、インターネット上のエンドポイントはありません
パソコンで動き、代わりにローカルの設定を使います
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
入力が必要なもの:ALERT_WEBHOOK_URL
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
GitHubリポジトリの最終更新は–、最新バージョン(4.1.12)がレジストリに届いたのは4 か月前です。
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。
同じカテゴリには:Spec Driven Development, Remote Desktop Commander, Recta
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Cheaper cross-chain stablecoin routes for AI agents; 5 % of the verified saving, nothing if none.
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
mastyf.ai
Secure the Action Boundary, Not Just the Prompt.
A local reference monitor and security gateway for AI agents and MCP. Your LLM proposes actions. Mastyf decides whether those actions reach the real world.
Website · Quick start · Policy · Dashboard · GitHub
[!NOTE]
Enterprise & Cloud Platform Support: Mastyf is verified and deployed as a native
CONTENT_AUTHZService Extension for Google Cloud Agent Gateway (us-central1), with distributed Redis state, sub-second fail-closed enforcement, and real-time BigQuery audit logging. See the Google Agent Gateway Runbook.
AI agents can read your files, push code, query databases, execute shell commands, and call external APIs. They do it autonomously, at machine speed.
Traditional security controls weren't built for that.
Mastyf.ai acts as a perimeter security layer for AI. It intercepts every tool call, evaluates it against your security policies using multi-agent swarm analysis, and blocks malicious or unauthorized actions before they execute.
Every decision is enforced, logged, and auditable.
| Threat | What it looks like |
|---|---|
| Prompt injection | Malicious instructions embedded in tool arguments to hijack agent behavior |
| Path traversal | Attempts to access /etc/passwd, .ssh/id_rsa, .aws/credentials |
| Secret exfiltration | API keys and tokens leaking through tool arguments |
| Shell injection | Reverse shells, rm -rf, encoded PowerShell commands |
| Data exfiltration | Bulk SQL dumps, git push, aws s3 cp, unauthorized file transfers |
| SSRF | Calls to metadata endpoints, localhost, and private IP ranges |
| Encoding evasion | Base64 blobs and Unicode homoglyphs used to bypass pattern detection |
| Cost abuse | Runaway agent loops burning through token budgets |
| Rug-pull attacks | Tool definitions that silently change mid-session |
Run the local reference monitor, MCP discovery, and plain-English protected agent runtime:
# Install Mastyf Gateway package
git clone https://github.com/mastyf-ai/mastyf.ai.git cd mastyf.ai/mastyf_gateway pip install -e .
mastyf
mastyf audit verify).# Start interactive protected agent (or first-run onboarding if fresh install)
mastyf
mastyf -m "Find unpaid customer invoices"
mastyf policy "Allow reading invoices, but never delete data or make HTTP calls"
mastyf policy status
mastyf policy activate
mastyf proxy -- uvx mcp-server-sqlite --db /tmp/test.db
mastyf audit verify --ledger ~/.mastyf/receipts.jsonl
mastyf demo --scenario all
Clone the repository and run the setup script.
Requirements:
git clone https://github.com/mastyf-ai/mastyf.ai.git
cd mastyf.ai chmod +x setup.sh ./setup.sh
The setup script automatically:
mastyf shell aliasOnce installation completes, start the proxy and dashboard:
node dist/cli.js start
Or simply use the alias after opening a new terminal:
mastyf
The dashboard will be available at:
If the dashboard is running, verify the HTTP bridge:
curl -X POST http://localhost:4000/mcp -H "Content-Type: application/json" -d '{"jsonrpc":"2.0","id":"1","method":"tools/list","params":{}}'
Full visibility into every action your AI takes.
| Section | What you see |
|---|---|
| Protection | Block rate, top triggered rules, live threat feed |
| Activity | Every tool call with full arguments, allow or block status, timestamp |
| Policy | Live rule editor with hot-reload from YAML |
| Threat Lab | AI-suggested attack tests, reviewed and approved before anything applies |
| Cost | Token usage and cost estimates broken down per tool call |
Dashboard auth is on by default, including loopback. The start scripts provision
$MASTYF_HOME/dashboard_api_keyand never print it. SetDASHBOARD_AUTH_DISABLED=trueonly for explicit local test isolation — that combination is refused on any non-loopback bind.
Every tool call passes through three layers before it reaches your infrastructure.
Layer 1 - Pattern detection Regex-based scanning for injection, dangerous paths, leaked secrets, shell commands, and encoding tricks. Runs in microseconds with no external dependencies.
Layer 2 - Schema validation Rejects malformed payloads, oversized arguments, and JSON-RPC violations before they reach policy evaluation.
Layer 3 - Semantic review An optional local LLM (Ollama) or cloud model evaluates borderline calls that pass pattern checks. Falls back to heuristics if no model is configured.
Anything that fails is blocked. The tool never runs. Everything is logged.
Your rules live in default-policy.yaml. You own them. mastyf.ai enforces them.
policy:
mode: block default_action: pass unicode_strict: true rules:
[^]+`']
Roll out safely with three enforcement modes:
| Mode | Behavior | When to use |
|---|---|---|
audit | Log everything, block nothing | First week, understand what your AI does |
warn | Log and flag, still forwards | Tuning phase before enforcement |
block | Stops violations before execution | Production |
Pre-built templates for HIPAA, PCI-DSS, GxP, and data residency are in policy-templates/.
mastyf.ai runs two coordinated swarms. The CI Swarm attacks your policy before code ships. The Runtime Swarm enforces and learns from every live tool call in production. Four feedback loops connect them so the system gets harder to bypass over time.
flowchart TB
AI["🤖 AI Clients\nCursor · Claude Desktop · Cline"]
subgraph CI["🔵 CI Swarm (PR + Nightly)"] direction LR Scout["🔍 Scout Agent\nSAST, deps, config scan"] Corpus["📋 Corpus Agent\n228 fixtures eval"] Evasion["⚡ Evasion Agent\n120+ probes + generate new"] Parity["🔄 Parity Agent\nNode vs Python"] ProxyA["🖥️ Proxy Agent\nLive stdio MCP tests"] Report["📊 Report Agent\nsecurity-swarm/latest.json"] Scout --> Corpus --> Evasion --> Parity --> ProxyA --> Report end
subgraph Runtime["🟢 Runtime Swarm (Production Proxy)"] direction LR BG["🛡️ BlockGuard\nsync policy"] IL["📈 InstantLearner\nper-block stats + suggestions"] SA["🧠 SemanticAuditor\nasync LLM, optional"] PS["🔗 PatternSynthesizer\nbatch suggestions"] Cal["⚙️ Calibrator\nlabels + thresholds"] BG --> IL --> PS --> Cal BG --> SA --> PS end
Tools["🗄️ MCP Tools\nfilesystem · GitHub · databases · APIs"]
AI -->|"every tool call"| BG BG -->|"✅ allowed"| Tools Report -->|"🔁 Loop A: bypasses to corpus"| Corpus Cal -->|"🔁 Loop B: blocks to rules"| BG Cal -->|"🔁 Loop C: labels to LLM"| SA Report -->|"🔁 Loop D: CI metrics weekly"| Cal
style CI fill:#EFF6FF,stroke:#3B82F6,stroke-width:2px,color:#1E3A5F style Runtime fill:#F0FDF4,stroke:#22C55E,stroke-width:2px,color:#14532D style Scout fill:#DBEAFE,stroke:#3B82F6,color:#1E40AF style Corpus fill:#DBEAFE,stroke:#3B82F6,color:#1E40AF style Evasion fill:#DBEAFE,stroke:#3B82F6,color:#1E40AF style Parity fill:#DBEAFE,stroke:#3B82F6,color:#1E40AF style ProxyA fill:#DBEAFE,stroke:#3B82F6,color:#1E40AF style Report fill:#DBEAFE,stroke:#3B82F6,color:#1E40AF style BG fill:#BBF7D0,stroke:#16A34A,color:#14532D style IL fill:#BBF7D0,stroke:#16A34A,color:#14532D style SA fill:#BBF7D0,stroke:#16A34A,color:#14532D style PS fill:#BBF7D0,stroke:#16A34A,color:#14532D style Cal fill:#BBF7D0,stroke:#16A34A,color:#14532D style AI fill:#FEF3C7,stroke:#F59E0B,stroke-width:2px,color:#78350F style Tools fill:#FEF3C7,stroke:#F59E0B,stroke-width:2px,color:#78350F
Canonical gates: 228/228 corpus, 0 bypasses, 100% parity
Runs on every PR and nightly. Six agents work in sequence, each one hardening what the previous found.
| Agent | What it does |
|---|---|
| Scout | SAST scan, dependency audit, config review |
| Corpus | Evaluates all 228 attack fixtures against current policy |
| Evasion | Runs 120+ bypass probes and generates novel ones using an LLM |
| Parity | Verifies Node and Python implementations produce identical decisions |
| Proxy | Live stdio MCP session tests against a running proxy instance |
| Report |
冒頭だけを表示しています。続きはリポジトリで読めます