spamescudo-mcp

v1.0.0
spamescudo-mcp Checked 3 days ago Published 13 days ago

SPAM Escudo Model Context Protocol (MCP) Server for AI coding assistants

Official Model Context Protocol (MCP) server for SPAM Escudo. Enables AI coding assistants (Cursor, Claude Desktop, Antigravity, Copilot) to inspect contact forms, generate strict validation schemas, provision scoped subkeys, inject signed timing honeypot tokens, and run end-to-end synthetic pipeline verifications. Modern MCP clients can execute the server on-demand without manual cloning, virtual environment management, or PYTHONPATH manipulation using uvx: Alternatively, install globally via pip:

Summary extracted from the README.

SPAM Escudo Model Context Protocol (MCP) Server

PyPI version Python versions License: MIT

Official Model Context Protocol (MCP) server for SPAM Escudo. Enables AI coding assistants (Cursor, Claude Desktop, Antigravity, Copilot) to inspect contact forms, generate strict validation schemas, provision scoped subkeys, inject signed timing honeypot tokens, and run end-to-end synthetic pipeline verifications.


Modern MCP clients can execute the server on-demand without manual cloning, virtual environment management, or PYTHONPATH manipulation using uvx:

uvx spamescudo-mcp

Global Installation via Pip

Alternatively, install globally via pip:

# macOS / Linux
pip3 install spamescudo-mcp

# Windows
pip install spamescudo-mcp

AI Assistant Configuration

1. Cursor (.cursor/mcp.json)

Add to your project root or user configuration:

{
  "mcpServers": {
    "spam-escudo": {
      "command": "uvx",
      "args": ["spamescudo-mcp"]
    }
  }
}

Or if installed via pip:

{
  "mcpServers": {
    "spam-escudo": {
      "command": "spamescudo-mcp"
    }
  }
}

2. Claude Desktop (claude_desktop_config.json)

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "spam-escudo": {
      "command": "uvx",
      "args": ["spamescudo-mcp"]
    }
  }
}

3. Antigravity (.agents/mcp_config.json)

{
  "mcpServers": {
    "spam-escudo": {
      "command": "uvx",
      "args": ["spamescudo-mcp"]
    }
  }
}

Terminal CLI Management

The MCP package includes CLI commands for local authentication and status checks:

# 1. Authenticate securely via loopback browser flow (no passwords exposed to AI)
spamescudo-mcp login
# Or with uvx:
uvx spamescudo-mcp login

# 2. Check authentication status, tenant ID, and expiration
spamescudo-mcp status
# Or with uvx:
uvx spamescudo-mcp status

# 3. Log out and clear cached tokens (~/.spamescudo/session.json)
spamescudo-mcp logout

# 4. Run the stdio MCP server directly
spamescudo-mcp serve

Out-of-Band Loopback Browser Authentication

Administrative operations (creating schemas, provisioning subkeys) require authenticated account permissions:

  1. When your AI assistant invokes spamescudo_login(), the local MCP server spawns a local HTTP server on 127.0.0.1 and opens your default browser.
  2. You authenticate directly in your browser with SPAM Escudo.
  3. Your credentials never touch the LLM prompt or chat history.
  4. Sessions are securely saved to ~/.spamescudo/session.json (0600 permissions) and refreshed in the background automatically.

Exposed MCP Tools

Tool Scope Description
spamescudo_login Public / Auth Opens browser on 127.0.0.1 for out-of-band user authentication.
spamescudo_get_auth_status Read-only Returns active user status, account ID, tier, and session expiration.
spamescudo_create_schema Control-plane Registers strict field validation schemas for $0 drop at the gateway.
spamescudo_list_schemas Control-plane Lists all schemas registered by the tenant.
spamescudo_generate_subkey Control-plane Generates public se_sub_v1_... subkeys bound to a schema ID.
spamescudo_list_subkeys Control-plane Lists tenant subkeys.
spamescudo_get_honeypot_snippet Boilerplate Generates React, FastAPI, Express, or HTML boilerplate with _t, _h and dummy traps.
spamescudo_verify_pipeline Diagnostic Sends synthetic valid and invalid submissions to verify pipeline enforcement.
spamescudo_logout Local state Clears cached session credentials.

License

MIT © SPAM Escudo.