The easiest MCP servers to self-host, ranked by what they need


How hard an MCP server is to self-host depends on its credentials, not its code. Here are the easiest ones to run yourself, from no-auth reference servers to multi-user OAuth apps.
The code is never the hard part of self-hosting an MCP server. The login is.
Short answer: the easiest MCP servers to self-host are the ones that need no credentials at all, like the official Time, Fetch, Everything and Sequential Thinking reference servers. Next come servers that only touch local resources (Filesystem, Git, Memory), then servers that need a single API key (like the official Brave Search server), then a personal token (like GitHub's server with a personal access token). The hardest are servers where many users each sign in with OAuth, like Gmail, Slack or Google Calendar for a whole team.
| Difficulty | What it needs | Examples | Why |
|---|---|---|---|
| 1. Trivial | Nothing | Time, Everything, Sequential Thinking | No secrets, no external accounts. Runs over stdio on your machine |
| 2. Easy | Outbound internet | Fetch | Pulls web pages. Think about what URLs an agent can reach |
| 3. Easy, with care | Local files or repos | Filesystem, Git, Memory | Scope them to the right folders. Filesystem has configurable access controls for this reason |
| 4. Medium | One API key | Brave Search (official @brave/brave-search-mcp-server) | One secret to store and rotate |
| 5. Medium | One personal token or login | GitHub's local server (Docker image ghcr.io/github/github-mcp-server) | One user, one token. Easy for you, not shareable |
| 6. Hard | OAuth per user, many users | Gmail, Slack, Google Calendar for a team | OAuth app registration, token storage, refresh, revocation, for every person |
Levels 1 to 3 are the official reference servers from the modelcontextprotocol/servers repo. One important caveat from that repo's own README: they're reference implementations meant to demonstrate MCP features, "not as production-ready solutions". Great for learning and personal use, less great as the thing your whole company depends on.
Here's the pattern, using one example per level.
Brave Search: one API key. You put it in an environment variable or a secret store and you're done. Docker's MCP Gateway even has a command for exactly this, docker mcp secret set 'brave.api_key=XXXXX'. Rotate it now and then. That's the whole job.
GitHub: GitHub's own server runs locally in Docker. It can log you in with OAuth on first use, or take a personal access token via GITHUB_PERSONAL_ACCESS_TOKEN. For one developer this is genuinely easy. GitHub also hosts a remote version at api.githubcopilot.com/mcp/, so you might not need to self-host it at all.
Gmail, Slack, Google Calendar for a team: now it gets spicy. You need an OAuth app with the vendor (sometimes with a review), somewhere safe to store a refresh token per person, logic to refresh before expiry, a plan for revoked access, and a remote server over Streamable HTTP so it isn't tied to one laptop. Times every app. Times every user. this is where most "we'll just self-host it" plans quietly die tbh.
Ask these four questions about any server:
If you answer "no, one, no, yes", self-host it, it's easy. If it's "yes, per user, yes", think hard first.
Self-host the easy ones and the ones wrapping your own systems. Don't self-host per-user OAuth servers for common SaaS apps unless you have a real reason, like data that can't leave your network.
For those, a managed gateway does the hard part. MewCP, for example, keeps each user's credentials in an encrypted vault, injects them per call and refreshes tokens, and each call runs on the accounts the asking user connected. Your agent reaches all of it at one address. You keep running the trivial servers and your internal ones next to it. If you're weighing that split properly, read managed vs self-hosted MCP: the tradeoffs and where to host an MCP server.
The ones with no credentials: the official Time, Fetch, Everything and Sequential Thinking reference servers. Filesystem, Git and Memory are also easy, as long as you scope them to the right folders.
Yes. GitHub publishes a Docker image, ghcr.io/github/github-mcp-server, that logs in with OAuth or a personal access token. GitHub also hosts a remote version if you'd rather not run it.
No, by their own README. They're reference implementations to demonstrate MCP features and SDK use, so evaluate security for your own use case before relying on them.