{
  "markdown": "# SpamTitan MCP Server\n\n[![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n[![Node.js](https://img.shields.io/badge/node-%3E%3D18.0.0-brightgreen.svg)](https://nodejs.org/)\n\nA Model Context Protocol (MCP) server for SpamTitan email security. Enables AI assistants to manage quarantine, maintain allowlists and blocklists, and view email filtering statistics.\n\nThis is a [Model Context Protocol (MCP)](https://modelcontextprotocol.io/) server that connects Claude (or any MCP-compatible AI) to your SpamTitan environment.\n\n> **Part of the [MSP Claude Plugins](https://github.com/WYRE-AI) ecosystem** — a growing suite of AI integrations for the MSP stack. Built by MSPs, for MSPs.\n\n## Installation\n\n```bash\nnpm install @wyre-ai/spamtitan-mcp\n```\n\n## Configuration\n\nSet the following environment variables:\n\n| Variable | Required | Description |\n|----------|----------|-------------|\n| `SPAMTITAN_API_KEY` | Yes | Your SpamTitan API key |\n| `SPAMTITAN_BASE_URL` | No | Your SpamTitan instance URL, including any path prefix (e.g. `https://mail.example.com/spamtitan/`). Defaults to `https://api-spamtitan.titanhq.com`. |\n| `MCP_TRANSPORT` | No | Transport mode: stdio (default) or http |\n\n## Usage\n\n### Running with Claude Desktop\n\nAdd to your Claude Desktop `claude_desktop_config.json`:\n\n```json\n{\n  \"mcpServers\": {\n    \"spamtitan-mcp\": {\n      \"command\": \"npx\",\n      \"args\": [\"@wyre-ai/spamtitan-mcp\"],\n      \"env\": {\n        \"SPAMTITAN_API_KEY\": \"your-spamtitan-api-key\"\n      }\n    }\n  }\n}\n```\n\n### Running with Claude Code (CLI)\n\n```bash\nclaude mcp add spamtitan-mcp \\\n  -e SPAMTITAN_API_KEY=your-value \\\n  -- npx -y @wyre-ai/spamtitan-mcp\n```\n\n### Docker\n\n```bash\ndocker build -t spamtitan-mcp .\ndocker run \\\n  -e SPAMTITAN_API_KEY=your-value \\\n  -p 8080:8080 spamtitan-mcp\n```\n\n## Available Domains\n\n### Lists\nManage allowlists and blocklists\n\n### Quarantine\nEmail quarantine review and management\n\n### Stats\nEmail filtering statistics and reports\n\n## Features\n\n- **Interactive quarantined-message card (MCP Apps, SEP-1865)** — `spamtitan_get_message` renders as a read-only interactive card in MCP Apps hosts (Claude Desktop/web); plain-JSON behavior is unchanged in other hosts. The card is neutral by default, brandable via `window.__BRAND__` injection or `MCP_BRAND_*` env vars (`MCP_BRAND_NAME`, `MCP_BRAND_LOGO_URL`, `MCP_BRAND_PRIMARY_COLOR`, `MCP_BRAND_ACCENT_COLOR`, `MCP_BRAND_BG`, `MCP_BRAND_TEXT`) — no rebuild needed. Rebuild the card bundle with `npm run build:ui` after editing `ui/`.\n\n## Development\n\n```bash\n# Clone the repository\ngit clone https://github.com/WYRE-AI/spamtitan-mcp.git\ncd spamtitan-mcp\n\n# Install dependencies\nnpm install\n\n# Build\nnpm run build\n\n# Run tests\nnpm test\n```\n\n## Contributing\n\nContributions are welcome! Please see [CONTRIBUTING.md](CONTRIBUTING.md) if present, or open an issue to discuss changes.\n\n## License\n\nLicensed under the Apache License, Version 2.0. See [LICENSE](LICENSE) for details.\n",
  "bytes": 3013,
  "sha": "c179e834cb29e66aaa96d14935b579c688134223f80fbd7a932e3cbfff4ffb56",
  "repo_slug": "wyre-ai/spamtitan-mcp",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_io_github_wyre_ai_spamtitan_mcp_3b83b1cb/readme"
}