Skip to main content

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.

Metadata

Release files for spamescudo-mcp 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for spamescudo-mcp 1.0.0
File Size Uploaded Provenance Actions
spamescudo_mcp-1.0.0.tar.gz 36.9 kB Without provenance Details for spamescudo_mcp-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for spamescudo-mcp 1.0.0
File Interpreter ABI Platform Actions
spamescudo_mcp-1.0.0-py3-none-any.whl Python 3 none any Details for spamescudo_mcp-1.0.0-py3-none-any.whl

Total release size: 61.1 kB

Release files / spamescudo_mcp-1.0.0.tar.gz

Download URL spamescudo_mcp-1.0.0.tar.gz
Size 36.9 kB
Tags Source
SHA-256 checksum
How to use checksums
7f17bfb6a7171c5b6160fbc1f46bba362622427b3c267f94259ec45a57fd0205
BLAKE2b-256 checksum
How to use checksums
a082adf5d790ac5a3606d9d260360b58950466b35cf7b394bd90ac69b843e135
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.10

Release files / spamescudo_mcp-1.0.0-py3-none-any.whl

Download URL spamescudo_mcp-1.0.0-py3-none-any.whl
Size 24.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
844cc05cee2c2c791cdb8e215cf66be25666454a52f7e3932d4c58df2e7e9181
BLAKE2b-256 checksum
How to use checksums
803c2034d2a36991356a241d92f69c1f81938248efebbed19924a910cc9b195c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.10

Security for spamescudo-mcp 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page