Skip to content
47% off: the complete course for $79 (reg. $149)Order now →
Agent Builder
Module 4Full course14 min read

Remote MCP Servers: HTTP, Auth, and Deployment

Turn a local MCP server into a hosted one: Streamable HTTP, OAuth-based authorization, multi-user concerns, and deployment.

Your notes server works beautifully, on one laptop, for one person. The moment a teammate asks "can I use that too?", a local stdio server hits its limits. Each person has to install it, keep it updated, and hold their own credentials, and a web-based host like Claude on the web or ChatGPT can't launch a process on your machine at all.

A remote MCP server solves this: one deployment at a URL that any MCP host can connect to. In this lesson you'll turn the notes server into one. You'll serve it over Streamable HTTP, protect it with OAuth-based authorization as the MCP spec defines it, give every user their own private notes, and deploy it. Along the way you'll learn the security details that separate a remote server you can trust from one that leaks everyone's data to everyone else.

What changes when a server goes remote

Moving from stdio to HTTP changes who can reach your server, and that changes your responsibilities:

ConcernLocal stdio serverRemote server
Who can reach itOnly the host that launched itAnyone who can reach the URL
IdentityImplicit: it's youMust be proven on every request
CredentialsEnvironment variables on your machineOAuth access tokens issued per user
DataOne user's dataMany users' data, which must never mix
AbuseNot a concernRate limits, quotas, and monitoring
OperationsRuns when the host runsHosting, HTTPS, deploys, logs

The good news is that the protocol has become friendlier to hosting. As you saw in What Is MCP and Why It Matters, the 2026-07-28 revision made MCP stateless: no handshake, no session IDs, every request self-contained. A stateless server can run as many identical copies behind a load balancer, with no "sticky" routing.