Should your SaaS have an MCP server? Lessons from two builds

Someone on your sales call asks, “Can I just use this from Claude?” A week later, a prospect asks the same about ChatGPT. Then a competitor announces an MCP server, and your roadmap meeting gets a new line item. If you’re wondering whether your SaaS should build an MCP server, you’re in good company, and most of the pages answering that question are written by vendors selling MCP infrastructure.

We’re writing from the other side. Railsware, a product development company and studio behind Mailtrap and Coupler.io, has shipped public MCP servers for both products. They ended up looking quite different: one runs locally with an API token and exposes almost the whole product, the other runs remotely behind OAuth and exposes a curated set of data tools. This post covers why, what we’d decide the same way again, and when we’d tell a team to wait.

TL;DR

Should my SaaS product have an MCP server?

Your SaaS product should have an MCP server if three things are true: your customers already do part of their work in AI assistants (Claude, ChatGPT) or AI coding tools (Cursor, VS Code), your product’s value can be delivered through actions or data rather than a visual interface, and you have a stable API to build on. If all three hold, an MCP server is a relatively small project that puts your product where your users already are. If one is missing, fix that first.

The Model Context Protocol (MCP) is an open standard for connecting AI applications to external systems. Anthropic introduced it in November 2024, and both Claude and ChatGPT now connect to remote MCP servers. An MCP server is the piece you build: it describes your product’s actions as “tools” an AI model can discover and call on a user’s behalf.

A quick self-check:

Both of our teams started from the first question. At Mailtrap, “we saw growing demand for using Mailtrap directly from AI coding tools,” says Julia Romanenkova, Product Lead at Mailtrap, “so MCP felt like a natural extension of our API.”

Coupler.io’s reason was even simpler. “When MCP came out, we saw a natural fit,” says Peter Laczko, Product Lead at Coupler.io, so the team built one right away. Coupler.io’s whole job is getting business data to where people analyze it, and AI assistants had just become one of those places.

MCP server vs public API: what changes when the caller is an agent

An MCP server is not a second API. It’s a layer over the API you already have that tells an AI model what it can do, in words the model reads, and lets the model do it on the user’s behalf. The endpoints stay the same. The caller, and what the caller needs to know, changes.

Public APIMCP server
Who calls itCode a developer wroteAn AI model, deciding at runtime
How the caller learns what’s availableReads your docs onceReads tool names and descriptions on every session
Unit of designEndpoint and resourceTool call (“send a test email”, “get last month’s ad spend”)
ErrorsStatus codes for a developer to handleMessages the model can read and recover from
AuthAPI keys, OAuth appsAPI token for local servers; OAuth for remote ones, per the MCP authorization spec
Who confirms risky actionsThe developer’s codeThe user, through the AI client

Two things follow from that table. First, tool descriptions are product copy. A model picks a tool from its name and description, so a vague description means the wrong tool gets called. Second, granularity matters more than with an API. A developer can chain ten calls; a model chaining ten calls has ten chances to go off track. Tools that map to a user’s task usually work better than tools that mirror your REST resources one to one.

Tool names are also part of your product’s vocabulary. Mailtrap has renamed MCP tools, Romanenkova says, mostly to keep them in line with terminology changes in the product itself. If your UI says “Email Sandbox” and a tool still says “test inbox,” the model has to guess they’re the same thing.

Renaming tools can also bring unexpected quirks. When Coupler.io first renamed its tools, connected LLM clients broke because early models cached exact tool names in their memory instead of checking what the server offered. Rather than breaking integrations, the team shifted strategy, Laczko explains: keeping existing names intact, launching new tools for updated functionality, and marking older ones as deprecated in their descriptions.

What we built for Mailtrap and Coupler.io, and why

Mailtrap and Coupler.io are Railsware’s own products, and each has a public MCP server. They serve different users doing different jobs, and the servers ended up shaped around that.

Mailtrap MCP serverCoupler.io MCP server
Who it’s forDevelopers, marketers and AI builders sending, receiving and testing emailsMarketers, analysts and founders asking questions about business data
Where it runsLocally, as a Node.js command-line tool (npx, Docker, or a Claude Desktop extension)Remotely, as a hosted endpoint (the first version ran locally in Docker)
AuthMailtrap API token in an environment variableOAuth in the browser; “no API keys to manage”
Clients named in the docsClaude Desktop, Claude Code, Cursor, VS Code, Windsurf/DevinClaude, ChatGPT, Cursor, Gemini CLI, Perplexity and custom MCP clients
Tool scopeBroad: sending, Email Sandbox, templates, domains, logs, stats, contacts, campaigns, webhooks, inbound emailFocused: 24 tools for finding, querying and setting up data flows
SourceOpen source, MIT license (GitHub)Hosted by Coupler.io

Mailtrap: the whole product, from the IDE

The Mailtrap MCP server lets you “automate email workflows from your AI IDE” or send emails from an assistant like Claude Desktop. A few of the tools it exposes:

The typical job: a developer building a signup flow asks the assistant to send a test email to the sandbox, check the spam score and HTML, and fix the template, without leaving the editor. Running locally with an API token also suits that audience, since developers are used to environment variables.

The local-first choice was mostly practical. A local server “was the simpler and more established approach at the time,” Romanenkova says. “A remote MCP with OAuth requires more infrastructure and engineering effort, and we didn’t have the capacity for that initially.” The tool list grew the same way: the first version was “essentially one tool for sending an email,” and the team added more over time. Today the server covers almost the full Mailtrap API, and new API endpoints generally get an MCP tool too.

Coupler.io: questions about your data, answered where you ask them

The Coupler.io MCP server connects AI assistants to the data sets users build from Coupler.io’s 400+ sources. Its 24 tools fall into two groups:

The typical job: a marketer asks Claude or ChatGPT why cost per lead went up last month, and the assistant queries the ad spend and CRM data sets Coupler.io already keeps fresh. These users don’t manage API keys, so OAuth in the browser was the natural fit, and a hosted server means nothing to install.

It didn’t start that way. Coupler.io built its server as soon as MCP came out, when local servers were the only option, so the first version ran on the user’s machine and needed Docker. “Was fun!” is how Laczko remembers it. 

The team later moved to the hosted server with OAuth it runs today. For an audience of marketers and analysts, removing the install step matters as much as the tools themselves.

Both bets paid off. Claude is now one of Coupler.io’s top three destinations, and Laczko names how fast AI destinations grew as one of the surprises after launch. Mailtrap’s MCP package has around 24,000 npm downloads, roughly 4,100 of them in the last 30 days, and the GitHub repository has around 66 stars (as of November 2026). The AI tools Mailtrap customers use with it most are Claude, Codex and Cursor. 

Analysis of Coupler.io’s AI logs shows five main categories of customer queries: 

Choosing which actions to expose (and which to keep out)

The tools you expose define what an agent can do with your product, so pick them from customer jobs, not from your API reference. Start with the three to five things customers already ask support or sales how to do faster, ship those, and add more when people ask for them.

A simple way to sort candidate actions:

Action typeExamplesOur default
Read and searchList data sets, get logs, get statsExpose first. Low risk, high value, and it’s how users test whether the server is useful
Create in a safe spaceSend to Email Sandbox, create a draft templateExpose early. Mistakes stay contained
Write with real-world effectsSend a real email, run a data flow, start a campaignExpose when there’s demand, with clear descriptions and user confirmation
Destructive or account-levelDelete data, reset credentials, manage API tokens, billingKeep out by default, or isolate behind separate credentials – or build in a special approval flow

The two servers show how this plays out. Coupler.io’s docs state that queries are read-only, so the AI can’t edit, delete or overwrite imported rows, while configuration changes like creating or running a data flow are allowed, and the AI is instructed to confirm before making a change the user didn’t ask for. Mailtrap keeps real sends and sandbox sends as separate tools, so a model testing a template doesn’t have to guess which one is safe, and organization-level tools need a separate organization token.

The MCP spec points the same way: there “SHOULD always be a human in the loop with the ability to deny tool invocations,” and clients should confirm sensitive operations. Don’t rely on the client alone, though. Name destructive tools so their effect is obvious, and say in the description what can’t be undone.

A mistake we’d steer you away from: generating one tool per API endpoint on day one. Mailtrap’s server does cover almost the whole API today, but it got there one job at a time, starting from a single tool. Coupler.io did the same thing: first data reading, then create data flow, then transformations. Dumping every endpoint in at launch skips the part where you learn which tools people call, and every extra tool is one more description loaded into the conversation.

Coupler.io drew its line by looking at where users already struggle. Configuring data sources was a long-standing pain point, so letting the AI create data flows was an easy call. The team wasn’t worried about the AI breaking data flows, because, as Laczko puts it, customers break them too. The guardrails come in layers:

The line keeps moving. Coupler.io is now building AI management of ad campaigns, so the agent will be able to raise budgets and start or pause campaigns. When an action spends a customer’s money, prompt instructions aren’t enough. The team is adding hard settings that decide what the agent can do on its own and what needs approval, and those limits sit on the tool calls themselves, so the agent can’t talk its way around them.

Mailtrap’s lesson is about pace rather than risk: start small. Its first MCP release was a single send-email tool. “Rather than designing a large MCP upfront, we deliberately started small and expanded it over time,” Romanenkova says.

Auth, permissions and customer data

Authentication for an MCP server depends on where it runs. A local server reads credentials from the user’s environment, which is what the MCP authorization spec recommends for the stdio transport. A remote server should use OAuth, and the spec sets the rules: OAuth 2.1 with PKCE, protected resource metadata, and tokens issued specifically for your server.

The spec rules that matter most in practice:

Permissions are the harder part. An agent acting for a user should never see more than that user could see in your UI. In practice that means:

If you sell to larger companies, expect their security review to ask what an agent can read, write and delete through your product. A clear, written answer for your MCP server saves a few rounds of email.

Coupler.io’s ads work shows the rule we’d apply here: anything that matters for safety belongs in code that restricts the tool call, not in the prompt. Instructions guide a model. They don’t bind it.

Local or remote, and what it costs to run

A local MCP server runs on the user’s machine and talks to the AI client over stdio; a remote server runs on your infrastructure and is reached over HTTP (the spec’s “Streamable HTTP” transport). Local is cheaper to start. Remote reaches more people.

Local serverRemote server
InstallUser runs a package (npx, Docker) or a desktop extensionUser pastes a URL or picks you from a connector directory
AuthAPI key in an environment variableOAuth
Works inDesktop apps and IDEsWeb and mobile assistants too, plus desktop and IDEs
Your hosting costNone for the server itself; API traffic as usualA service to run, scale and monitor
UpdatesUsers pick up new versions when they updateYou deploy once, everyone gets it
Best forDeveloper audiences, early experimentsNon-technical users, directory listings

Claude’s docs say a remote server is the recommended kind for a directory listing, which matters if being discoverable inside Claude is part of the point.

On cost: the code is usually the small part. The server is a thin layer over an existing API, and SaaSRise reports founders who had shipped one agreeing it’s “a relatively low lift.” What adds up is everything around it: OAuth if you don’t have it, tool descriptions you’ll rewrite more than once, rate limits for agents that retry in loops, logging, and someone keeping up with a spec that has had five dated versions since November 2024.

What surprised us

The first surprise for Coupler.io was how quickly early momentum gave way to market normalization. “We got good traction in the beginning, as we were in the first few data connectors in the official stores of Claude and ChatGPT,” Laczko explains. “However, having an MCP quickly became a commodity. It was surprising how much customers adopted it and were looking for it, but on the other hand, the speed of how the market reacts was also surprising. It foreshadowed the speed of development that we experience today.”

The second surprise was the friction of navigating an evolving standard. Moving early to MCP and directory stores brought initial hurdles, as there were no established best practices for updating a live integration. The platform ecosystem had not yet built robust mechanisms to handle resubmitting a constantly evolving MCP server, requiring teams to adapt as those processes were defined.

At Mailtrap there was no single big surprise. “The adoption validated the idea,” Romanenkova says. The team had seen requests for MCP support from the community, and real usage confirmed them. The build itself was small: the first version took roughly one engineer about a week and a half.

When not to build an MCP server yet

You should wait on an MCP server when the API underneath isn’t ready, when your product’s value is mostly visual, or when nobody can tell you what a customer would ask an agent to do with it. Most “should you build an MCP server” articles skip this part because they sell the build. Here’s where we’d hold off:

A decision table we’d use with a client:

Your situationOur call
Developer audience, stable API, users already in Cursor or ClaudeBuild now. A local server with an API key is a fine start
Business users asking for “ChatGPT access” to their dataBuild a remote server with OAuth, read-only first
Stable API but no customer requests yetPrototype internally, ship when you can name the first three jobs
API in flux or permissions model being reworkedWait. Fix the foundation first
Value is mostly visual or in the UIProbably not. Look at agent-friendly exports or embeds instead

Not everyone at Railsware thinks there’s a “not yet.” Laczko’s view: “I don’t really have a good use case for NOT building an MCP server. It is like not having a website nowadays.” We think both positions hold. For a product like Coupler.io, whose job is moving data to where people work with it, the case was obvious on day one. The list above is about timing and foundations, not about whether agents matter. Most products will want an MCP server eventually; the question is whether yours is ready for one this quarter.

Romanenkova puts the “not yet” more precisely, with two checks:

FAQ

How long does it take to build an MCP server?

Less than you might think, if your API is stable and documented. Mailtrap’s first MCP server, a single tool for sending email, took roughly one engineer about a week and a half. The server itself is a thin layer. Time goes into auth (especially OAuth for a remote server), writing and testing tool descriptions, and permission checks, and a remote server with OAuth takes noticeably more infrastructure than a local one.

Do I need OAuth for an MCP server?

Not for a local server: the MCP spec says servers using the stdio transport should read credentials from the environment, so an API key works. For a remote server, OAuth is the standard path. The spec builds remote authorization on OAuth 2.1 with PKCE, and Claude and ChatGPT both document OAuth for remote servers.

Will ChatGPT and Claude both use my MCP server?

Yes, if it’s a remote server that follows the spec. Both Claude and ChatGPT connect to remote MCP servers, though their OAuth client-registration preferences differ. Local servers work in desktop apps and IDEs such as Claude Desktop, Cursor and VS Code. Test in every client you plan to support; they don’t behave identically. Coupler.io ended up exposing a different tool set to Claude than to ChatGPT.

How do I measure whether my MCP server is used?

Log every tool call with the account, tool name, arguments and result status, and tag API traffic that comes through the MCP server. Then track connected accounts, weekly active accounts, most-called tools and error rates. Most-called tools tell you what to improve; tools nobody calls are candidates to remove.

What’s the difference between an MCP server and a public API?

A public API is called by code a developer wrote. An MCP server is called by an AI model that decides at runtime which tool to use, based on names and descriptions you write. Most MCP servers wrap an existing public API; they don’t replace it. Use API for recurring needs and when you develop a script on it, as it doesn’t change and it doesn’t use LLMs, so it’s cheaper to run it. Meanwhile, an MCP always needs an LLM and each run has inference costs

The short version

If your customers already live in AI assistants and your API is solid, an MCP server is one of the cheaper ways to show up where they work. Pick the first few jobs carefully, decide local or remote based on who your users are, and keep anything destructive behind a confirmation. If the API or permissions aren’t ready, fix those first. The agent will find the cracks.

Thinking about an MCP server for your product, or not sure your API is ready for one? Our AI Integration team has shipped them for our own products and can help you scope yours. Book a call and bring your API docs.

Exit mobile version