cd /news/developer-tools/your-first-mcp-server-is-easy-the-se… · home topics developer-tools article
[ARTICLE · art-57950] src=dev.to ↗ pub= topic=developer-tools verified=true sentiment=· neutral

Your First MCP Server Is Easy. The Second One Is the Problem

A developer warns that while building a first MCP server is easy, the second one introduces real challenges around authorization, error handling, and configuration distribution. The post recommends scoping credentials narrowly and keeping the tool count low to avoid degrading model performance. It provides a walkthrough from initial server setup to production deployment with OAuth and debugging.

read1 min views1 publishedJul 13, 2026

Most teams write their first MCP server in an afternoon and then lose a week to the second one.

The first server is easy because you are the only user. It runs over stdio on your laptop, you point one client at it, and the tools work. Nothing about that setup tells you what happens when someone else needs it.

Then the questions start. Who is allowed to call this tool? What happens when a call returns the wrong shape and the model acts on it anyway? How do you ship the config to a team without pasting tokens into a Slack thread?

That is the real curve, and it is worth knowing the shape of it before you start.

The three primitives are enough for most work: tools the model can call, resources it can read, and prompts it can reuse. Transport is stdio while it is local, and streamable HTTP once it is not.

Two things I would decide early. Scope the credentials narrowly, because an MCP server is a door into whatever it is wired to, so a read replica and a scoped token beat your own credentials every time. And keep the tool count low, because every extra tool is another line in the model's decision space and most agents get worse, not better, past a dozen of them.

Full walkthrough, from first server in Python or TypeScript through production deployment with OAuth and debugging: https://www.adaptiverecall.com/mcp-servers/

── more in #developer-tools 4 stories · sorted by recency
── more on @mcp 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/your-first-mcp-serve…] indexed:0 read:1min 2026-07-13 ·