{
  "name": "Piisend",
  "description": "Email API for developers. Transactional and marketing sends over HTTPS.",
  "homepage": "https://piisend.com",
  "documentation": "https://piisend.com/docs/ai",
  "repository": "https://github.com/raodevender/piisend",
  "server": {
    "package": "@piisend/mcp",
    "command": "npx",
    "args": ["-y", "@piisend/mcp"],
    "environment": {
      "PIISEND_API_KEY": {
        "description": "Piisend API key (pii_…). Create one at https://app.piisend.com under API → Keys.",
        "required": true
      }
    }
  },
  "remote": {
    "transport": "streamable-http",
    "url": "http://127.0.0.1:3333/mcp",
    "authentication": {
      "type": "api_key",
      "bearer_methods_supported": ["header"],
      "api_key": {
        "description": "Run `npx -y @piisend/mcp --http --port 3333` then send Authorization: Bearer pii_…",
        "required": true
      }
    }
  },
  "tools": [
    { "name": "send_email", "description": "Send a raw or template email" },
    { "name": "list_emails", "description": "List recent messages" },
    { "name": "get_email", "description": "Get one message by id" },
    { "name": "list_domains", "description": "List sending domains and verification status" },
    { "name": "get_domain", "description": "Get domain DNS records and status" },
    { "name": "list_templates", "description": "List tenant templates" },
    { "name": "list_webhooks", "description": "List webhook endpoints" }
  ],
  "clients": {
    "cursor": {
      "config": {
        "mcpServers": {
          "piisend": {
            "command": "npx",
            "args": ["-y", "@piisend/mcp"],
            "env": { "PIISEND_API_KEY": "pii_xxxxxxxxx" }
          }
        }
      }
    },
    "claude-code": {
      "command": "claude mcp add piisend -e PIISEND_API_KEY=pii_xxxxxxxxx -- npx -y @piisend/mcp"
    }
  }
}
