MCP (zero glue)
Connect the Sentvia MCP server and email becomes native tools — no per-framework
wiring. Best if your runtime speaks MCP.
Native tools
Wrap a few REST calls as your framework’s tool type. Use this when you want full control or your
framework doesn’t do MCP yet.
The tool surface
Whatever the framework, you’re exposing a handful of operations to the model. The recipes use these:| Tool | Endpoint |
|---|---|
create_inbox(local_part) | POST /inboxes |
send_email(inbox_id, to, subject, body) | POST /messages |
check_inbox(inbox_id) | GET /messages?inbox_id=… |
reply(message_id, body) | POST /messages/{id}/reply |
https://api.sentvia.ai/v1 (auth).
Recipes
LangChain
OpenAI Agents SDK
Vercel AI SDK
CrewAI
LlamaIndex
Anthropic (Claude)
These are starting points — adapt the tool set and your framework’s exact API to your version.
The endpoints they call are stable.