Set up your AI assistant
Sendwing works with AI assistants two ways. Chat apps and coding agents connect to the MCP server and act in your workspace with tools: they draft campaigns, build workflows, tidy contacts and read reports. Code you write, or have an agent write, calls the REST API with an API key.
Connecting gives the assistant access to one workspace, with the permissions you approve. Sending to real people needs a verified sending domain, which the assistant can help you set up.
Copy this prompt into your agent
Section titled “Copy this prompt into your agent”Paste it into Claude Code, Codex, Cursor or any agent that can run commands. It connects Sendwing, then stops before anything emails your contacts.
Set up Sendwing for me, step by step, and ask before anything that emails people.
1. Check whether a "sendwing" MCP server is already connected and signed in. If it isn't, add the remote MCP server https://mcp.sendwing.app (Streamable HTTP, OAuth) to this client, then tell me how to sign in and wait until I have.2. Read Sendwing's guides with the get_guide tool (email, workflow and segment).3. Without changing anything, tell me what's in the workspace: sending domains and whether they're verified, mailing lists, segments, recent campaigns and workflows.4. Suggest one useful first task, like a draft campaign or a welcome workflow, and make it as a draft. Send a test only to my own address, and only after I say yes.Or connect it yourself
Section titled “Or connect it yourself”One command adds Sendwing to most coding agents at once: Claude Code, Cursor, VS Code, Codex and others it finds on your machine.
npx add-mcp https://mcp.sendwing.appThen sign in from your app: it opens Sendwing in your browser, where you pick a workspace and approve what the assistant may do. For a single app, or apps the command doesn’t cover such as claude.ai and ChatGPT, follow its steps in Connect a client.
Check it works
Section titled “Check it works”Ask the assistant:
What’s in my Sendwing workspace? List my sending domains, mailing lists and the last five campaigns.
It answers from your workspace using read-only tools. If it says it can’t reach Sendwing or needs to authenticate, sign in from the app’s MCP settings and ask again.
MCP or the REST API?
Section titled “MCP or the REST API?”Use MCP when a person is working with an assistant: asking questions, drafting, reviewing before anything sends. The assistant picks the tools, and every action stays within what you approved when you signed in.
Use the REST API when software runs on its own: syncing contacts from your product, recording events like signed_up that start workflows, or reacting to webhooks. Create a key under Settings → API keys with only the permissions it needs. See Patterns for agents for writing integrations that recover from errors.