How long does it take to build an MCP server?

It takes an afternoon to build an MCP server that works in a demo, and weeks to build one a team can depend on. MCP (Model Context Protocol) is the open standard that lets AI assistants call your tools. We plan about 2 weeks for a read-only server and about three weeks for a full one.

By Babar Ali, founder · Published 21 November 2026 · outside facts checked on 21 November 2026, sources below

On this page: By size · The demo · Phase by phase · What adds time · Other estimates · In house or hire · Questions

How long does an MCP server take, by size?

MCP is an open-source standard for connecting AI applications such as Claude and ChatGPT to external systems[1]. An MCP server is your side of that connection: a program offering a short list of tools, such as “find this order”, that a language model can call[2]. How long one takes depends on which server you mean.

How long an MCP server takes to build, by size
Size of serverWhat it hasHow long
A demo on your laptopOne or two tools on one person's machine. No sign-in, no automated tests, nothing hosted.An afternoon. One tutorial we read says 30 minutes[3].
Starter: read-only with up to 3 toolsOne system with a clean API, one service account or each person's own token, tested in the AI app your team uses, then handed over.We plan about 2 weeks.
Full: reads and writesWrite tools behind an approval step, per-person sign-in where the server is shared, hosting, a log of every call and a security pass.We plan about three weeks.
A platform for your own customersMany tenants (separate customer accounts), each seeing only its own data, with rate limits and support for the AI apps your customers bring.Scoped first, with no standard length. Published estimates for enterprise builds run to months[4][5].

The two middle rows are how we plan our own builds, not measured averages. The rest of this guide shows where the time goes.

Why do tutorials say you can build an MCP server in 30 minutes?

Because you can, and the tutorials are honest about what they build. The MCP project’s own tutorial builds a weather server with two tools and connects it to Claude for Desktop[6]. The first guide for the official TypeScript SDK, the library that speaks the protocol for you, registers one tool and serves it over stdio[7], the transport where the AI app starts the server as a program on the same machine[8]. A DEV Community tutorial splits its 30 minutes into steps: 5 for project setup, 10 for the first tool, 8 for the first resource, 5 to connect Claude Desktop and 2 for common pitfalls[3].

What that 30-minute server leaves out is the list a team needs:

  • Sign-in. The tutorial does not mention authentication[3].
  • A shared address. It runs on one machine. The author says the HTTP transport “adds meaningful complexity and is worth a separate article”[3].
  • Automated tests. The checks are by hand: one typed request and a look in the MCP Inspector[3].
  • Anything that writes. Its one tool converts a colour code, so nothing needs approving.

The author’s closing line is the fairest summary: “The scaffolding is 30 minutes; the tool design is the actual work.”[3] Deploy speed is a separate claim: one hosting platform says it takes a server from a git push to a live address in under 60 seconds on its own cloud[9]. That measures the deploy step, not the build.

One trap for an in-house build: that tutorial installs @modelcontextprotocol/sdk, version 1 of the TypeScript SDK. Version 2, @modelcontextprotocol/server, is now the stable line, and version 1 gets fixes for at least six months after version 2 shipped on 27 July 2026[10]. A demo copied from an older tutorial starts on the older line.

What happens in each phase of building an MCP server?

This is how we plan a build, phase by phase, for our two fixed offers: the starter server, read-only with up to 3 tools, and the full server with write tools. The week labels are a plan, not measurements, and the phases overlap: testing starts as soon as the first tool exists.

MCP server build timeline, phase by phase, for a starter server and a full server
PhaseWhat happensStarter serverFull server
1. Tool mapThe tasks people will ask for, the few tools that serve them, which tools write, who may call each one and where credentials live. Agreed in writing before any code.Week 1, first daysWeek 1
2. ToolsEach tool gets a name, a description the model reads, typed inputs and small results.Week 1: the read toolsWeeks 2 to 3: read tools first, then write tools
3. Sign-in and permissionsA local server takes credentials from its environment. A shared remote server signs each person in and checks every token.Week 1: one service account, or each person's own tokenWeeks 2 to 3: per-person sign-in where the server is shared
4. Approval on writes, and the logA person approves each write, the server checks it again, and every call is recorded.Nothing writes, so there is no approval step to buildWeeks 2 to 3
5. TestsGood and bad arguments, a write the server must refuse, an expired credential, and hostile text inside tool results.Week 2Weeks 2 to 3, alongside the build
6. Real AI appsReal tasks in the apps your people use, such as Claude, ChatGPT, Cursor or your own agent.Week 2: the one app your team usesBefore handover: each app you name
7. HostingA local server needs none. A remote one needs an HTTPS address in your cloud account.Week 2, if the server is remoteWeeks 2 to 3
8. Security passPrompt injection cases, token handling and what error messages reveal.Week 2Before handover
9. HandoverThe repository, the deployment and the documentation. The code is yours.At the endAt the end
Live inFrom the tool map to a server your team uses.About 2 weeksUsually about three weeks

The tool map comes first

A tool is a name, a description and a schema, the typed shape of its inputs, and tools are model-controlled: the model decides when to call one from what those say[2]. So the map is where a server succeeds or fails. It is also the phase that most often waits on your side, because somebody has to decide who may do what.

Sign-in is where demos stop

The protocol makes authorization optional, and a local server over stdio should take its credentials from its environment[11]. A remote server that signs people in follows the specification’s flow, built on OAuth 2.1, the standard way for an app to act for a person without holding their password. The server must publish metadata that tells an AI app where to sign in, must check that each token was issued for it, and must not accept or pass on any other token[11]. The security guidance calls that shortcut token passthrough and says the specification forbids it[12].

The work is not unusual, but it involves your identity provider, the system that holds your company’s logins, which often belongs to another team with its own queue.

A write needs two checks

The specification says there should always be a human in the loop who can deny a tool call, and that servers must validate all tool inputs and implement access controls[2]. So every write gets an approval prompt in the AI app and a second check on the server. The prompt alone is not enough: Claude Code lets a server mark a tool so that it asks a person on every call[13], but in Claude a person can set a tool to Always allow[14].

Tests, then real AI apps

The MCP Inspector is the project’s reference tool for testing and debugging servers, with a command-line client for CI, the automated checks that run on every code change[15]. It shows that the server answers correctly, not how it behaves in the app your people use. Apps differ. Claude Code, for example, warns when a tool’s output passes 10,000 tokens, the units a model counts text in, and caps it at 25,000 by default[13], so a tool that returns a whole table has to return pages instead.

Hosting and the security pass

A remote server speaks Streamable HTTP: each message is an HTTP POST to one address[8]. The specification requires the server to validate the Origin header, to stop DNS rebinding, an attack where a website reaches a server on your own machine[16]. An SDK does not always do this for you: by its own documentation, the TypeScript SDK’s HTTP handler validates no Host header, no Origin header and no token[17].

The security pass covers what the project’s security guidance lists, such as the confused deputy problem and server-side request forgery, each a way of tricking trusted software into acting for an attacker[12]. It also covers prompt injection: text inside a tool result that the model reads as an instruction. Claude Code’s documentation warns that servers which fetch external content can expose you to it[13]. Our guide to testing an MCP server for prompt injection has the test cases, the Claude Code guide shows the smallest server in code, and the rest are on the insights page.

Want a date for your server?

Send the system and the tasks you have in mind. A starter server, read-only with up to 3 tools, is $1,999 and live in about 2 weeks, and the price is fixed in writing before the build starts.

What makes an MCP server take longer?

Eight things add the most time, and each has a way to keep it short.

What makes an MCP server take longer to build, and how to keep it short
What adds timeWhyHow to keep it short
Per-person sign-inThe server must check a token on every request, and your identity provider usually has to issue those tokens[11].Start local, with each person's own token, or use the sign-in your company already runs.
Tools that writeEach write needs validation, an approval step, a second check on the server and a record.Ship the read tools first. Add writes one at a time.
More toolsEvery tool is designed, described and tested, and the model has to choose between them.Three to five tools shaped around tasks, not one per API endpoint.
The system behind the serverAn API with gaps, rate limits or no test environment slows every phase. One vendor notes that its estimates shift with the source API[5].A staging copy and test credentials on the first day.
Waiting on accessCredentials, a cloud account and a security sign-off often sit with other teams. One guide says requirements gathering “gets underestimated every time”[4].One named owner on your side who can grant access.
Each extra AI appApps differ in how they ask for approval and how much output they accept[13][14].Name one or two apps for the first release.
Content from outside the companyEmails, tickets and web pages can carry text a model may read as an instruction[13].Start with internal data.
Several tenantsOnce customers sign in, every tool must check whose data it is touching. The security guidance says to bind stored state to the signed-in user[12].Treat it as a product build and scope it first.

What do other published estimates say?

Estimates run from 30 minutes to more than six months because they describe different servers. These are the authors’ own figures, quoted as theirs. Most of the authors sell something next to the estimate, as we do, so read every row with that in mind, ours included.

Published estimates of how long an MCP server takes to build, read on 21 November 2026
WhoWhat they sayWhat the figure covers
Eazetech (our service)About 2 weeks for a starter server; usually about three weeks for a full one.One server over one system, from the tool map to handover. A plan, not a measured average.
DEV Community tutorial, by GDS K S30 minutes.A first server in TypeScript: one tool and one resource on one machine[3].
Triple Minds, a development company1 to 2 weeks for a simple server; 3 to 5 weeks for a standard custom server.Simple means one or two tools and no authentication. Standard adds sign-in and a handful of tools[18].
Amit Kothari, a consultant2 to 3 weeks for a simple database connector; 3 to 5 weeks for an API integration server; 8 to 12 weeks for multi-system work.He adds 4 to 6 weeks for an enterprise sign-in layer with single sign-on, role-based access and audit logging[4].
CData, which sells a governed MCP interface to data sources24 to 40 engineering hours for a read-only prototype; an estimated four to six months for a first production connector.Its own planning estimates for a single data source. Security, access controls and audit logging add an estimated two to three months[5].
Zuplo, a gateway vendor3 to 6 months with 2 to 4 engineers for a production-ready server.Production-ready means sign-in, rate limiting and basic observability (logs and metrics)[19].
LeanIX engineering blog, a first-hand accountWork began at the start of June, with a soft launch set for August and the official release in November.The team chose “the bare minimum for logs, monitoring, authentication, and infrastructure”. By late March it was “spending more time fixing or trying to fix tools”[20].

Read together, the pages agree more than the numbers suggest. A small server over one system, with little or no sign-in, runs from an afternoon to two or three weeks. Sign-in, access controls and audit logging are where the extra weeks or months come from.

How we compared: we read each page on 21 November 2026 and quote its own figures. The Triple Minds and Zuplo pages did not load for our reader, so we confirmed their figures through a search limited to each site. Check the source before you quote a number.

Should you build an MCP server in house or hire it out?

The official SDKs do the protocol work. The TypeScript SDK ships stdio, Streamable HTTP and auth helpers[10], the Python SDK speaks every standard transport[21], and the project’s tutorial covers eight languages[6]. So the question is not whether your developers can write one. It is whether they have built one before, and whether they have the weeks free.

Build it in house when

  • It is two or three read-only tools over a system your developers know
  • A developer has a free week or two, and someone else can review the security side
  • The server stays local, for a few developers, each with their own token

Hire it out when

  • Tools will write to systems that matter, and nobody on the team has built approval steps
  • People outside engineering, or your customers, will sign in to it
  • You need a fixed date and a fixed price before you commit

What slows an in-house team is rarely the code. It is the first-time reading: the 2026-07-28 revision of the protocol removed protocol-level sessions from Streamable HTTP[16], so tutorials written for earlier revisions describe a different transport.

A freelancer is a third route, and for one small connector it can cost less than a studio. Our MCP server cost page lists the freelancer and studio prices we found, next to ours.

When do you not need to build an MCP server?

Check these before you spend a week, or pay anyone, us included.

  • The vendor already publishes one. GitHub’s official MCP server is open source under the MIT licence[22]. Linear’s is centrally hosted, with OAuth 2.1 sign-in and a separate read-only address[23].
  • Your AI app has a connector for it. Claude’s Connectors Directory is a catalog of MCP servers that work across Claude’s products, though its own page says verification is not a security audit[24]. The Official MCP Registry lists published servers[25].
  • A script would do. A one-off data pull is an export or a script, not a server.
  • The job is moving data on a schedule. That is automation, and it needs no MCP server.

One caution. The MCP project describes the reference servers in its own repository as educational examples, not production-ready solutions[26]. And there is a middle path: use the vendor’s server read-only, and build only the one or two tools it lacks.

Where Eazetech comes in

Eazetech, an agentic AI studio in Lahore, Pakistan, builds MCP servers to the plan above. A starter server, read-only with up to 3 tools, is $1,999 and live in about 2 weeks; a full server with its tools is $3,500 to $7,500, usually live in about three weeks. Any tool that writes needs the full server, with its approval steps. Our founder, Babar Ali, built the control flow and human-in-the-loop layer of the agent builder at Beam AI, an agentic process automation platform: approval gates, run traces and the MCP integration picker.

We also publish a server of our own. On 16 November 2026 we released our free website security scanner as an open-source MCP server: on npm as @eazetech/website-security-audit-mcp, in the Official MCP Registry as co.eazetech/website-security-audit, with the code on GitHub. It has three read-only tools, and it had 63 tests passing before we published it. Read the code before you talk to us.

Questions about MCP server timelines

A working demo takes an afternoon. A server a team can depend on takes weeks, because sign-in, permissions, approval on writes, tests and hosting come after the demo. With us, a starter MCP server, read-only with up to 3 tools, is $1,999 and live in about 2 weeks; a full server with its tools is $3,500 to $7,500, usually live in about three weeks.

Sources

Every outside fact above comes from these pages, checked on 21 November 2026. Other people’s timelines are quoted as theirs.

  1. Model Context Protocol documentation: What is the Model Context Protocol (MCP)?. modelcontextprotocol.io/docs/getting-started/intro. Checked 21 November 2026.
  2. Model Context Protocol specification, version 2026-07-28: Tools. modelcontextprotocol.io/specification/2026-07-28/server/tools. Checked 21 November 2026.
  3. DEV Community: Build your first MCP server in TypeScript: the 2026 setup that takes 30 minutes, by GDS K S. dev.to/thegdsks/build-your-first-mcp-server-in-typescript-the-2026-setup-that-takes-30-minutes-3m1n. Checked 21 November 2026.
  4. Amit Kothari: MCP server development cost, what enterprises actually pay for custom Claude integrations, updated 2 September 2026. www.amitkoth.com/mcp-server-development-cost/. Checked 21 November 2026.
  5. CData: MCP server build hours and governance overhead, DIY cost breakdown (2026), by Yazhini Gopalakrishnan, 6 November 2026. www.cdata.com/blog/mcp-server-build-hours-governance-cost. Checked 21 November 2026.
  6. Model Context Protocol documentation: Build an MCP server. modelcontextprotocol.io/docs/develop/build-server. Checked 21 November 2026.
  7. MCP TypeScript SDK v2 documentation: Build your first server. ts.sdk.modelcontextprotocol.io/v2/get-started/first-server.html. Checked 21 November 2026.
  8. Model Context Protocol specification, version 2026-07-28: Transports. modelcontextprotocol.io/specification/2026-07-28/basic/transports. Checked 21 November 2026.
  9. Manufact: How fast can you deploy an MCP server from GitHub to production? (no author or date shown). ai.manufact.com/task/blog/typical-time-deploy-mcp-server-github-production. Checked 21 November 2026.
  10. GitHub: modelcontextprotocol/typescript-sdk, the official TypeScript SDK. github.com/modelcontextprotocol/typescript-sdk. Checked 21 November 2026.
  11. Model Context Protocol specification, version 2026-07-28: Authorization. modelcontextprotocol.io/specification/2026-07-28/basic/authorization. Checked 21 November 2026.
  12. Model Context Protocol documentation: Security best practices. modelcontextprotocol.io/docs/2026-07-28/tutorials/security/security_best_practices. Checked 21 November 2026.
  13. Claude Code documentation: Connect Claude Code to tools via MCP. code.claude.com/docs/en/mcp. Checked 21 November 2026.
  14. Claude documentation: Add a connector that isn't in the directory. claude.com/docs/connectors/custom/remote-mcp. Checked 21 November 2026.
  15. Model Context Protocol documentation: MCP Inspector. modelcontextprotocol.io/docs/2026-07-28/tools/inspector. Checked 21 November 2026.
  16. Model Context Protocol specification, version 2026-07-28: Streamable HTTP. modelcontextprotocol.io/specification/2026-07-28/basic/transports/streamable-http. Checked 21 November 2026.
  17. MCP TypeScript SDK v2 documentation: Serve over HTTP. ts.sdk.modelcontextprotocol.io/v2/serving/http.html. Checked 21 November 2026.
  18. Triple Minds: MCP development cost 2026 (the page refused our reader, so its figures were confirmed through a search limited to tripleminds.co). tripleminds.co/blogs/costing/mcp-development-cost/. Checked 21 November 2026.
  19. Zuplo learning center: Build vs buy MCP server infrastructure, a decision framework (the page did not load for our reader, so its figures were confirmed through a search limited to zuplo.com). zuplo.com/learning-center/build-vs-buy-mcp-server-infrastructure. Checked 21 November 2026.
  20. LeanIX Engineering Blog: Technical debt by design, how we launched our MCP server, by Jernej Klancic, 22 May 2026. engineering.leanix.net/blog/technical-debt-by-design/. Checked 21 November 2026.
  21. GitHub: modelcontextprotocol/python-sdk, the official Python SDK. github.com/modelcontextprotocol/python-sdk. Checked 21 November 2026.
  22. GitHub: github/github-mcp-server, GitHub's official MCP server. github.com/github/github-mcp-server. Checked 21 November 2026.
  23. Linear documentation: MCP server. linear.app/docs/mcp. Checked 21 November 2026.
  24. Claude documentation: Connectors directory. claude.com/docs/connectors/directory. Checked 21 November 2026.
  25. Official MCP Registry. registry.modelcontextprotocol.io/. Checked 21 November 2026.
  26. GitHub: modelcontextprotocol/servers, the MCP reference servers. github.com/modelcontextprotocol/servers. Checked 21 November 2026.

Keep reading

Want a date for your MCP server?

A starter MCP server, read-only with up to 3 tools, is $1,999 and live in about 2 weeks; a full server with its tools is $3,500 to $7,500, usually live in about three weeks. Send the system and the tasks you have in mind, and we reply within one business day with where we would start, or whether an existing server will do.

Get an estimate