Skip to main content
Glama
Motorical SMTP MCP Server

Motorical SMTP MCP Server

README.md
# Motorical packages

Public source for Motorical’s agent/developer tooling published on npm.

**Agents: start here.** [docs.motorical.com/agents](https://docs.motorical.com/agents) has the route
chooser, rulebook, and journeys for every situation — machine twin at
[docs.motorical.com/agents.json](https://docs.motorical.com/agents.json).

**Most agents should not install anything.** If your client supports remote MCP servers with OAuth
(Claude Code, Cursor, Claude.ai connectors), connect the hosted server — no install, no keys held by the agent:
[docs.motorical.com/ai-mcp-hosted](https://docs.motorical.com/ai-mcp-hosted). Use the local package below only
when your client cannot do remote OAuth, when you need the dashboard-session-only tools, or for headless
automation with API keys. Writing code that sends mail needs no package: see
[docs.motorical.com/ai](https://docs.motorical.com/ai).


| Package | npm | Docs |
|---------|-----|------|
| `@motorical/mcp` | [npmjs.com/package/@motorical/mcp](https://www.npmjs.com/package/@motorical/mcp) | [docs.motorical.com/ai-mcp](https://docs.motorical.com/ai-mcp) |
| `@motorical/scope-catalog` | [npmjs.com/package/@motorical/scope-catalog](https://www.npmjs.com/package/@motorical/scope-catalog) | — |

`@motorical/cli` is **retired** for now and is no longer documented or supported; its source is kept, frozen, in `packages/motorical-cli/`. Use the hosted MCP server or the REST API instead.

## Examples

Runnable transactional-email examples (HTTP send, SMTP with Nodemailer, webhook verification, Python, a
Next.js contact form) live in [`examples/`](./examples). The HTTP send examples default to `dryRun: true`.

## Install

```bash
npm install -g @motorical/mcp
npm install @motorical/scope-catalog
```

Or from this repo:

```bash
cd packages/motorical-mcp && npm install -g .
cd ../motorical-scope-catalog && npm install .
```

## Layout

```
packages/
  motorical-cli/            # retired, source frozen (not published, not supported)
  motorical-mcp/             # MCP server for Cursor / Claude Desktop
  motorical-scope-catalog/  # OAuth/MCP scope metadata library, no bin — a dependency, not a tool
```

## Docs for agents

- https://docs.motorical.com/llms.txt
- https://docs.motorical.com/onboarding-sandbox-journey.json
- https://docs.motorical.com/openapi.json

This repository is **not** the Motorical API backend. It only contains public packages meant to be installed or depended on outside Motorical's own infrastructure.

## Every package here is a release-time mirror, not the dev source

Each package directory here is synced from Motorical's internal development repository
at release time — this is **not** where day-to-day development happens for any of them.
If you're looking to contribute, please open an issue first rather than sending a PR
directly against the source here; fixes made directly in this repo can be overwritten by
the next sync. Each package has its own publish workflow
(`.github/workflows/publish-motorical-mcp.yml`, `publish-motorical-cli.yml` (disabled: package retired),
`publish-motorical-scope-catalog.yml`) and its own npmjs.com trusted-publisher
registration; they don't share either. Publishing uses npm's OIDC trusted-publisher flow
— no long-lived npm token is stored anywhere in this repo or its workflows — and produces
a signed [provenance attestation](https://docs.npmjs.com/generating-provenance-statements)
visible on each package's npm page.

One field is intentionally different between each package's two copies of
`package.json`: `repository.url` here points at this repo, reflecting where the package
was actually built and published from (`bugs.url` is left pointing at the internal dev
repo on every package here, including the two pre-existing ones — despite what an earlier
version of this README claimed, that field was never actually changed during a sync).

## Repository security settings

- **Branch protection on `main`:** force-pushes and branch deletion are blocked. Direct
  push to `main` is allowed for maintainers — releases are pushed directly rather than
  through a PR, so required-review is deliberately not enabled.
- **Secret scanning + push protection:** enabled.
- **Dependabot security updates:** enabled (vulnerability alerts also on).
- **`sha_pinning_required: true`** at the repo level (Settings → Actions → General) —
  every workflow here pins its actions to commit SHAs rather than mutable tags.

## License

MIT. See [LICENSE](./LICENSE). The license covers the code in this repository, not the Motorical name or logo.

TDQS

B3.2/5.0

Scored across 55 tools

Disambiguation2/5

Several tool pairs overlap heavily: motorical_list_motor_blocks vs motorical_motor_block_list, motorical_domain_health vs motorical_get_domain_health, and motorical_get_rate_limits vs motorical_get_account_rate_limits. The descriptions try to explain the differences, but an agent must read long caveats to choose correctly, and sandbox allowlist tools duplicate free_recipient_add.

Naming Consistency2/5

There is a common motorical_ prefix, but conventions are mixed: verb_noun (get_message, send_email), noun_verb (motor_block_list, sandbox_provision, webhook_delete), and noun-only groups. Pairs like list_motor_blocks and motor_block_list use opposite order for nearly the same concept, which is error-prone.

Tool Count1/5

55 tools is far too many for an SMTP/email API surface and includes near-duplicate analytics and lookup endpoints. The set feels like several servers concatenated (documents, sandbox, analytics, webhooks, blocks) rather than a tightly scoped toolset.

Completeness3/5

Coverage is broad—sending, domains, blocks, webhooks, analytics, logs, and sandbox lifecycle—but there are notable gaps such as domain deletion/update and direct message listing beyond logs. The surface is large but uneven, with some lifecycle steps missing while other areas are over-served.

Maintenance

ActivityActive
ResponsivenessNo recent community issues