How Much Does an MCP Server Cost? Build, Hosting and Running Costs Explained

Hosting an MCP server is cheap. Building one that real AI clients can sign in to, and keeping it working, is where the money goes. Real AWS prices for three sizes, the costs nobody quotes, and a checklist to estimate your own.

How Much Does an MCP Server Cost? Build, Hosting and Running Costs Explained

Search for MCP server cost and you find either a hosting price or a vague "it depends". Hosting is the smallest part of the bill, and "it depends" never says on what.

The short answer: an MCP server's cost has three parts. Build is the biggest one-off cost and depends on the number of tools, whether you already have a backend and API, and how sign-in and permissions work. Run is usually small: at AWS list prices, from under a dollar to about $80 a month for the traffic levels we priced. Keep up is the cost people forget: security reviews, monitoring, and updates as AI clients and the protocol change. The AI tokens are normally paid by the client, not by you.

This guide is for CTOs, heads of product and founders who want AI agents such as Claude, ChatGPT and Cursor to use their product. We built and run a production MCP server, so these costs come from doing it.

What is an MCP server?

An MCP server is a small service that lets AI applications use your product. It publishes a list of tools, each with a description, and an AI client such as Claude or ChatGPT reads that list, decides which tool fits the person's request and calls it.

The Model Context Protocol (MCP) is the open standard that defines how the two sides talk. For the business case, and what being listed in an MCP registry does and doesn't get you, see MCP for business. This post is about what it costs.

The three cost buckets: build, run, keep up

Every MCP server budget falls into three buckets:

  • Build. A one-off cost: designing the tools, writing the server, connecting it to your backend, adding sign-in and permissions, and testing it with real AI clients. If you have no backend, building that comes first, and it is usually the largest single item.
  • Run. A monthly cost: hosting, data transfer, logs and monitoring. For most MCP servers this is the smallest bucket.
  • Keep up. A monthly cost in engineering time: fixing what breaks when a client changes how it connects, adding tools, reviewing security when a tool starts changing data, and keeping registry listings and documentation accurate.

Budgets go wrong when "MCP server pricing" is read as "hosting pricing".

Who pays for the AI tokens?

Usually the client, not the server.

When someone asks Claude to use your tool, their AI application does the thinking: it reads your tool list, picks a tool, reads the result and writes the answer. That runs on the client's model, so the tokens are on their subscription or API account. Your server receives a structured request and returns a structured result.

There are two exceptions:

  • Your tool calls a model itself, for example to summarise a document before returning it. Then you pay for those tokens, and the cost grows with every call.
  • Large results cost the client more. Every word your tool returns is read by the client's model. Returning tidy, structured results instead of long text keeps the client's bill down and makes agents more likely to choose your tool again.

What drives the cost to build an MCP server?

Four things decide most of the build cost.

1. The number and complexity of tools

A tool is one job an agent can do: "find overdue invoices", "check stock for a product", "create a draft order". Read-only tools that look something up are the cheapest. Tools that change data cost more, because they need validation, permission checks, approval steps and careful error handling.

Writing the description is part of the build. An agent decides whether to call a tool from its description alone, so the description is the specification an agent works from. It also has to be short: we keep our server instructions within a fixed budget so a client can read them in full, which means every tool must be explained clearly in few words. We treat descriptions as something agents and people rely on, and test them automatically, so a tool's read-only label always matches what it actually does.

2. An existing API, or a backend built from scratch

This is the largest swing in MCP integration cost. If your product already has a working API, the MCP server is a thin layer that calls it: the business logic stays where it is, and the work is choosing jobs, describing them and handling sign-in.

If there is no API, or the logic lives only inside a web interface, the backend has to be built first: data model, business rules, storage and an API. That is a software project in its own right, and the MCP layer sits on top of it.

3. Sign-in and permissions

This is where most first estimates fall short. An MCP server that only its developer uses can get by with a static key. A server that customers' AI clients connect to needs proper sign-in. The MCP specification makes authorisation optional, but a server reached over the internet that uses it should follow the specification's rules, which are based on OAuth 2.1:

  • OAuth, the sign-in method the MCP specification sets out for remote servers. The person signs in and approves access on a consent screen, and the agent receives a short-lived pass that works only on your server.
  • Delegated, revocable access. The agent acts for a named person with no more than that person's permissions, and the person can withdraw access at any time.
  • Support for how real clients actually connect. The current specification, the 2026-07-28 revision, recommends that clients identify themselves with a client ID metadata document, a public web address describing the client. It has deprecated dynamic client registration and keeps it only for backwards compatibility. Claude Code and claude.ai identify themselves with a client ID metadata document when they connect to our server, so a sign-in service that supports only dynamic registration is building on the deprecated path.

How we apply these rules is in how we secure our AI agents.

4. Testing with real AI clients

A server that passes its own tests can still fail when Claude, ChatGPT or Cursor connects, because each client handles sign-in, errors and tool selection a little differently. Budget for testing with every client you care about, including whether agents pick the right tool, not just whether a connection works.

MCP server hosting cost: real AWS numbers

Here is what hosting costs on AWS for three traffic levels and two common designs.

How we priced it. AWS on-demand list prices, checked on 28 November 2026 against AWS's published price files, for Asia Pacific (Mumbai, ap-south-1) with US East (N. Virginia, us-east-1) for comparison. All figures are US dollars a month, at list prices before the AWS free tier, discounts and tax. A month is 730 hours.

What counts as a request. One HTTP request to the MCP endpoint. A single tool call usually takes several: clients on the 2025 revisions of the protocol open with a handshake, then read the tool list, then make the call. The 2026-07-28 revision removes the handshake and lets clients cache the tool list, so the same traffic can mean more sessions. We assume 100,000 requests is roughly 20,000 to 35,000 agent sessions.

Assumptions:

Small Medium Busy
Requests a month 100,000 1,000,000 10,000,000
Data sent out to the internet 1 GB 10 GB 100 GB
Logs (about 1 KB per request) 0.1 GB 1 GB 10 GB
Serverless: function memory, average time per request (x86) 1,024 MB, 300 ms 1,024 MB, 300 ms 1,024 MB, 300 ms
Always-on server (Arm, Linux) t4g.small, 20 GB disk t4g.medium, 20 GB disk t4g.large, 30 GB disk

The serverless design is an HTTP API gateway in front of a function that runs only when called. The always-on design is one small server with a disk and a public IP address, running all month.

Monthly hosting cost (USD, AWS list prices before free tier, discounts and tax, November 2026):

Design Region Small Medium Busy
Serverless functions + API gateway Mumbai $0.80 $8.01 $80.13
Serverless functions + API gateway N. Virginia $0.76 $7.60 $76.00
One always-on small server Mumbai $13.83 $23.59 $56.72
One always-on small server N. Virginia $17.65 $31.18 $69.11

Each figure adds up the gateway, function requests, running time, data out and logs (serverless), or the server, disk, public IP address, data out and logs (always-on), using the rates below. Worked example, serverless in Mumbai at the small level: $0.105 gateway + $0.02 function requests + $0.50 running time (30,000 GB-seconds) + $0.109 data out + $0.067 logs = $0.80.

Rates used (Mumbai / N. Virginia): HTTP API requests $1.05 / $1.00 per million; function requests $0.20 per million and running time $0.0000166667 per GB-second (x86) in both; data out $0.1093 / $0.09 per GB; logs ingested $0.67 / $0.50 per GB; t4g.small $0.0112 / $0.0168 an hour, t4g.medium $0.0224 / $0.0336, t4g.large $0.0448 / $0.0672; gp3 disk $0.0912 / $0.08 per GB-month; public IPv4 address $0.005 an hour; application load balancer in Mumbai $0.0239 an hour plus $0.008 per capacity unit-hour. Sources: AWS pricing pages for Lambda, API Gateway, EC2 on-demand, EBS, VPC (public IPv4), CloudWatch and Elastic Load Balancing.

What the numbers say:

  • Hosting is rarely the problem. Even at ten million requests a month, hosting is a small fraction of what building the server costs.
  • Serverless wins at low and medium traffic because it costs nothing while idle. In Mumbai, a t4g.small becomes cheaper than serverless at about 2.2 million requests a month, if it can carry the load; a t4g.medium at about 3.5 million.
  • A single server has no failover. Two t4g.large servers behind an application load balancer in Mumbai come to roughly $115 to $120 a month at the busy level, more than serverless.
  • Running time is the biggest lever on the serverless bill. Faster tools and the right memory setting matter more than anything else, and running the function on Arm cuts the running-time rate by a fifth.
  • Real bills are usually lower. AWS gives 100 GB a month of data out to the internet free, across services, and Lambda's free tier covers one million requests and 400,000 GB-seconds a month. The table applies no free tier at all.

What the table leaves out: your backend and database, a custom domain and certificate, a web application firewall, and the identity service that handles sign-in. If your backend already exists, most of these are already paid for.

One more thing hosting decides: cold starts. A serverless function that has been idle takes longer to answer its first request, and some AI clients give up quickly. Keeping start-up code light, and giving the function enough memory (which also buys CPU), keeps the first response fast. An always-on server avoids the problem but pays for idle hours.

What are the hidden costs of an MCP server?

These are the costs that turn a quick project into a long one. None shows up on a hosting quote.

  • OAuth done properly. A consent screen, short-lived tokens, refresh that works and withdrawal that actually ends access. This is often bigger than all the tools put together.
  • Security review. Every tool that changes data needs a review: whose permissions it uses, what approval it needs, and what happens if an agent calls it with the wrong input. We make tools read-only by default and send changes through approval. What an agent reads from your data must be treated as data, never as instructions.
  • Rate limiting. Agents retry quickly and sometimes in loops. You need limits per person and per agent, and errors that carry a machine-readable code plus the action that clears it, such as "retry after 30 seconds". An agent that knows what to do next stops hammering your server.
  • Logging and telemetry. You need to know which tools agents call, what fails and who called it. Expect most traffic to be connection set-up and reads of your tool list, not tool calls. If you count every request as usage, your numbers will be wrong.
  • Protocol and client changes. MCP is young and moves quickly. Between the June 2025 and November 2025 revisions of the specification, the authorisation rules moved dynamic client registration from recommended to optional and added client ID metadata documents as the recommended way for clients to identify themselves. The 2026-07-28 revision went further: it deprecated dynamic registration and removed the start-of-connection handshake and protocol sessions. Each change is a piece of work, and a new revision has arrived every few months.
  • Versioning and registry listings. If you publish your server to the official MCP registry or a client's directory, each release has a version, and your listing, documentation and sign-in instructions must change in step with the server. A listing that still describes an old sign-in method will send agents to a dead end.

Build in-house, open source, managed platform or hire a team?

There are four ways to get an MCP server. They trade cost against control and time.

Option Up-front cost Ongoing cost Fits when
Build in-house Your team's time; high if sign-in is new to them Your team keeps up with the protocol and clients You have engineers with OAuth and API experience and time to spare
Self-host an open-source server Low for a common product with an existing open-source server You patch, secure and host it; you depend on its maintainers The server already does exactly what you need, for internal use
Managed MCP platform Low to start A subscription, often per user or per call You want standard connectors fast and can accept the platform's limits on sign-in and data
Hire a team to build it A project fee Optional hosting and maintenance You want your own server on your own product, with proper sign-in, without diverting your team

Open-source and managed options are fastest when your product is already supported. For your own product, with your own data and permissions, you are building something new either way: the question is who builds it and who keeps it running.

Estimate your own: a checklist

Answer each question and see which column your answer falls in. The more answers fall on the right, the bigger the build and keep-up budget.

Question Lower cost Higher cost
Do you have a working API for the jobs agents need? Yes, documented and stable No, or the logic lives only in the web interface
How many tools do you need at launch? 3 to 5 15 or more
Do the tools only read, or also change data? Read-only Create, update or delete, with approval
Who connects? Only your own team Your customers' AI clients
How do people sign in today? An identity provider that already supports OAuth Your own login, or none
Do permissions differ per customer or per role? One level for everyone Per organisation, per role, per tool
Which AI clients must work? One Claude, ChatGPT, Cursor and others
Does a tool call a language model itself? No Yes, so you also pay for tokens
Expected traffic? Under a million requests a month Tens of millions, or sharp peaks
Do you need a public listing in MCP registries? No Yes, kept up to date with every release
Who hosts and maintains it? Your team, with spare capacity You need someone else to

Any honest estimate depends on these answers.

Key takeaways

  • An MCP server's cost has three parts: build, run and keep up. Hosting is usually the smallest.
  • At AWS list prices, hosting runs from under a dollar to about $80 a month for 100,000 to 10 million requests.
  • The AI tokens are normally paid by the client, unless your tool calls a model itself.
  • An existing API is the biggest saving. Without one, the backend is built first.
  • Sign-in and permissions, and testing with real AI clients, are where first estimates fall short.
  • The protocol keeps changing, so budget engineering time every month, not just once.

How to get a quote for an MCP server

At ITMTB we build MCP servers: see MCP server development. If you have a backend, we put MCP on top of it. If you need the backend built too, we build that as well. We can also host and maintain the server, and list it in MCP registries. You can see a production MCP server we run on Tomorrow Central.

The price depends on three things: the number of tools, whether a backend already exists, and whether we host it. Bring the checklist above, and we will come back with a scope and a quote. For the wider picture of how we put agents to work, see agentic AI at ITMTB.

We build MCP servers on your existing backend, or build the backend too, with secure sign-in and approval for changes. Talk to us for a quote.

Frequently asked questions

How much does an MCP server cost?

It has three parts. Hosting is usually the smallest: on AWS list prices, a small or medium server costs from under a dollar to a few tens of dollars a month. The build is the largest one-off cost, driven by the number of tools, whether a backend already exists and how sign-in and permissions work. Keeping it working costs engineering time every month, because clients and the protocol keep changing.

Who pays for the AI tokens when an agent uses my MCP server?

Usually the client, not the server. The person or company running Claude, ChatGPT, Cursor or another AI client pays for the model that reads your tool descriptions and results. Your server pays only if it calls a language model itself as part of a tool.

What does it cost to host an MCP server on AWS?

At AWS list prices in Mumbai, before free tier and tax, our worked examples come to about $0.80 a month for 100,000 requests on serverless functions, about $8 for one million and about $80 for ten million. One always-on small server costs about $14 to $57 a month across the same sizes, without failover.

Is serverless or a single server cheaper for an MCP server?

Serverless is cheaper at low and medium traffic because it costs nothing while idle. In our example, the smallest always-on server becomes cheaper at a little over two million requests a month, but it has no failover. Two servers behind a load balancer cost more than serverless at every size we priced.

What is the most expensive part of building an MCP server?

Sign-in and permissions, followed by testing with real AI clients. A tool that works in a local test can still fail when Claude or ChatGPT tries to connect, because every client handles authorisation slightly differently.

Is it cheaper to build an MCP server on an existing API?

Yes, by a wide margin. The MCP server becomes a thin layer that calls your existing API, so you pay for choosing which jobs to expose, describing them well and handling sign-in, not for rebuilding the product. Without an API, the backend has to be built first, and that is usually the largest single cost.

What ongoing costs should I budget for?

Hosting, logs and monitoring, a security review when you add tools that change data, updates when the MCP specification or a major client changes, and keeping registry listings and documentation in step with the server.

How do I get a quote for an MCP server?

Tell us how many tools you need, whether you already have a backend and API, and whether you want us to host and maintain it. Those three answers decide most of the price.

Sources


Working on something in this space?

ITMTB works with enterprises on AI, cloud, security, and digital transformation — from strategy through deployment.

Explore More Insights

MCP for Business: Can AI Agents Become a New Software Distribution Channel?

MCP for Business: Can AI Agents Become a New Software Distribution Channel?

Read More
How We Secure Our AI Agents: The Rules Every Agent at ITMTB Follows

How We Secure Our AI Agents: The Rules Every Agent at ITMTB Follows

Read More
AI Agents and Enterprise Cybersecurity: Risks, Governance, and Operational Controls

AI Agents and Enterprise Cybersecurity: Risks, Governance, and Operational Controls

Read More
5 Enterprise Workflows Ripe for Agentic AI – And How to Operationalize Them Safely

5 Enterprise Workflows Ripe for Agentic AI – And How to Operationalize Them Safely

Read More