@mcp2pro/mcpspy
This server manages a simple note store with read, write/replace, delete, and list operations.
Read a note by exact title and return its plain-text body, or an empty string if it doesn't exist.
Create or replace a note under a title with full text; existing content at that title is overwritten.
Permanently delete a note by exact title when explicitly requested.
List saved note titles, optionally filtering by a case-insensitive substring query; returns empty string if no titles match.
π PINNED 5 tool schema(s) locked (rug-pull protection active)
π’ READ filesystem/read_file β src/index.ts 12ms
π‘οΈ REDACTED 2 secret(s) (Stripe Key, .env Secret) in read_file
βοΈ CAPPED query_db response trimmed β saved ~14,200 tokens
π SANDBOX filesystem/read_file sensitive credential path (~/.ssh/id_rsa)
π΄ DELETE filesystem/delete_file β .env β BLOCKEDMCP Firewall (mcpspy) is a zero-dependency stdio firewall that wraps any MCP server with no cloud, no VPS, and no config headache:
Protection | What It Does |
π‘οΈ Auto-Secret Redaction | Masks OpenAI ( |
π Blast-Radius Sandbox | Blocks |
π Rug-Pull Schema Pinning | SHA-256 pins |
βοΈ Token-Bloat Cost Shield | Estimates tokens per call and caps oversized tool responses ( |
β‘ 1-Command Auto-Setup |
|
Quick Start (1 Command)
Automatically wrap all MCP servers in Cursor (~/.cursor/mcp.json) and Claude Desktop (claude_desktop_config.json):
npx @mcp2pro/mcpspy setupRevert anytime:
npx @mcp2pro/mcpspy unwrapRelated MCP server: mcp-guard
Manual Usage & Flags
# Wrap any stdio MCP server
npx @mcp2pro/mcpspy -- npx @modelcontextprotocol/server-filesystem /your/project
# Full firewall mode (workspace path jail + strict rug-pull freeze)
npx @mcp2pro/mcpspy --jail --strict-pin -- npx @modelcontextprotocol/server-filesystem .
# Custom response size cap (default: 24000 chars)
npx @mcp2pro/mcpspy --max-chars 12000 -- python my_mcp_server.py
# Disable automatic secret redaction
npx @mcp2pro/mcpspy --no-redact -- node ./my-server/index.jsIf an MCP server intentionally updates its tools, re-trust it:
npx @mcp2pro/mcpspy trustCustom Block & Warn Rules
Create ~/.mcpspy/rules.json:
npx @mcp2pro/mcpspy init{
"block": ["delete_file", "send_email"],
"warn": ["write_file", "execute_command"]
}How It Works
mcpspy sits transparently between your AI client and any stdio MCP server over JSON-RPC 2.0, rendering alerts to stderr so it never interferes with protocol traffic on stdout.
AI Client (Cursor / Claude) ββstdinβββΊ mcpspy ββstdinβββΊ MCP Server
ββstdoutββ ββstdoutββ
β
stderr (live UI)Pricing
Free mode includes the firewall and unlimited tool calls. Paid keys add an audit log on disk.
Feature | Free | Personal $1 | Team $5 |
Live terminal UI + secret redaction | β | β | β |
Sandbox + rug-pull pinning + token cap | β | β | β |
1-command | β | β | β |
Tool calls | Unlimited | Unlimited | Unlimited |
Local JSONL audit logs ( | β | β | β |
Team name on each log line | β | β | β |
Prices are one-time. Polar sends a personal key like MCPSPY-XXXX-XXXX-XXXX or a team key like MCPSPYTEAM-XXXX-XXXX-XXXX.
Personal, $1 β Β· Team, $5 β
npx @mcp2pro/mcpspy activate MCPSPY-XXXX-XXXX-XXXX
npx @mcp2pro/mcpspy activate MCPSPYTEAM-XXXX-XXXX-XXXX --team "Your Team"License
MIT Β© ShahFahadHashmi
Available Tools
4 toolsdelete_noteADestructiveIdempotent
Permanently remove one note by its exact title. Use this only when the user explicitly asks to delete that note. The note cannot be restored.
Inputs: title (required).
list_notesARead-onlyIdempotent
List saved note titles, one per line. Use this when the exact title is unknown, or before choosing a note to read, replace, or delete. Pass query to keep only titles that contain that text, ignoring case. Omit query to list every title. The result is an empty string when nothing matches.
Inputs: query.
read_noteARead-onlyIdempotent
Return the plain-text body of a note saved under an exact title. Use this before changing a note. The result is an empty string when that title has never been saved.
Inputs: title (required).
write_noteAIdempotent
Create or replace a note. Use this when the user asks to save text under a title. Any existing body at that title is overwritten with the new text.
Inputs: text (required), title (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
TDQS
Scored across 4 tools
Each tool maps to a distinct action on a single resource (read/list/delete/write a note) with no functional overlap. write_note explicitly covers create-or-replace, so there is no need for a separate create/update tool and no resulting boundary confusion.
All four names follow the same verb_noun snake_case pattern (read_note, list_notes, delete_note, write_note). The only variation is the plural noun in list_notes, which is semantically correct and does not break the pattern.
Four tools is a well-scoped, minimal surface for a title-keyed note store; nothing is redundant and no operation is split artificially. It sits comfortably within the 3-15 range for a focused server.
The full lifecycle is covered: write handles create and update, read retrieves bodies, list enumerates and filters by title, and delete removes notes. There are minor gaps (no content-based search, no append or rename), but agents can work around these with read plus write.
Maintenance
Related MCP Connectors
Real-time MCP & A2A prompt-injection, jailbreak, and tool-schema poisoning firewall for AI agents.
Security firewall for AI agents β scans MCP calls for injection, secrets, and risks.
Shared memory MCP server for Claude Code, Codex, Gemini CLI and Cursor. Cited, editable.
Scan prompts for injection attacks, redact PII, and audit LLM SDK usage from any MCP client
Related MCP Servers
- AlicenseNot gradedqualityDmaintenancePolicy-enforcing MCP proxy that blocks dangerous tool calls before they execute. Protects credentials, filesystem, shell, and databases across Claude Desktop, Cursor, Windsurf, and OpenClaw.13 npm41Apache 2.0
- AlicenseNot gradedqualityCmaintenanceZero-dependency local proxy that wraps any MCP server to redact secrets, strip hidden-Unicode prompt injection, and block writes to protected paths like ~/.ssh and .env.4MIT
- FlicenseNot gradedqualityCmaintenanceA policy and audit layer for Model Context Protocol (MCP). MCP Firewall sits transparently between any MCP client (Claude Desktop, Cursor, VS Code, etc.) and an upstream MCP server, allowing you to inspect, allow, block, or audit requests before they reach the server.-
- FlicenseNot gradedqualityBmaintenanceEnables autonomous agents and MCP-compatible clients to route inputs through a deterministic firewall that flags and sanitizes prompt injection, jailbreaks, system prompt exfiltration, and tool hijacking. It supports JSON-RPC stdio integration for tools like Claude Desktop, Cursor, and multi-agent frameworks.7-