MCP Directory

MCP for Beginners: Your First Working Setup

Skip the protocol lecture. Here's the shortest path from zero to an AI assistant that can actually touch your files, repos, and docs.

Hua·June 30, 2026·6 min read
Innovative 3D abstract geometric shapes in vibrant purple and green tones, showcasing modern design and technology.
Photo by Pachon in Motion on Pexels

MCP for beginners comes down to one move: you point your AI client at a small program called an MCP server, and now the model can read your files, open pull requests, or pull live docs instead of guessing. That's the whole idea — the Model Context Protocol is just a shared plug so one server works across Claude, Cursor, and other clients without custom glue.

This guide skips the theory and gets you to a working setup. You'll add three servers worth starting with, see a real config, and learn the beginner mistakes that eat the first hour. If you want the deeper definition first, read what an MCP server is — otherwise, keep going.

What MCP actually does for you

MCP turns your AI assistant from a chat box into something that can act on your machine. Without it, the model only knows its training data and whatever you paste. With an MCP server connected, it can list a directory, grep a repo, or fetch a library's current docs — on its own, mid-conversation.

Three things worth knowing before you touch a config:

  • A server is a small process, not a website. Roughly 90% of MCP servers run locally on your machine over a transport called stdio. Nothing is deployed; the client launches the server as a subprocess.
  • Servers are either official or community. Official ones are published by the vendor (GitHub, Anthropic). Community ones can be excellent but you're trusting a stranger's code — check the repo before you run it.
  • Tools have a budget. Each server exposes "tools" (individual actions). Most clients get vague and slow past roughly 40 tools total, so more servers is not better. Start with one or two.

The three servers to start with

Start with these three: a filesystem server, GitHub, and a docs server. They cover the most common beginner jobs — read my files, work with my repo, stop hallucinating API syntax — and all three run locally over stdio.

ServerWhat it's forOfficial?Why start here
Filesystem (Reference)Read/write files in folders you allowYesThe canonical first server; simplest possible install
GitHub MCP ServerRepos, issues, PRs, ActionsYesThe job most people actually want an agent for
Context7 MCP ServerLive, version-specific library docsCommunityKills the "outdated API" hallucination in coding tasks

The Filesystem reference server is the one to install first — it's Anthropic's own example, and it only reads and writes inside the directories you explicitly hand it. The GitHub server is where MCP earns its keep; it runs local via Docker or connects to GitHub's hosted remote if you'd rather not. Context7 is community-built but solves a real pain: it injects up-to-date docs so the model stops writing code against a library version that no longer exists.

Skip everything else for now. A Slack server, a database server, five scraper servers — they're fine later, but adding them today just burns your tool budget and confuses the model.

Your first config, minimally

Adding a server means writing a few lines of JSON into your client's config file. Here's the entire filesystem server entry — it's representative of the ~90% that run locally:

{
  "mcpServers": {
    "filesystem": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-filesystem", "/absolute/path/to/dir"]
    }
  }
}

That's it. command plus args tells the client to launch the server as a subprocess over stdio; the path at the end is the only folder it's allowed to touch. Use an absolute path — a relative one is the single most common reason a beginner's server "doesn't work."

Every client reads a config like this, though the file location and exact key names vary. Rather than hand-editing, you can generate a correct entry with the config generator, and for the step-by-step per client see how to add an MCP server. Restart the client after saving — most only read the config on startup.

The mistakes that waste your first hour

Almost every beginner failure is one of five things, and none of them are about the protocol. Check these before you go debugging anything clever:

  • Relative paths. The server launches from a directory you didn't expect. Always use absolute paths in args.
  • Didn't restart the client. Config changes don't hot-reload. Fully quit and reopen.
  • npx or node not on PATH. GUI apps often don't inherit your shell's PATH; the server never launches and you get a silent failure.
  • Too many servers at once. You added six on day one, the model got confused, and you blamed MCP. Add one, confirm it works, then add the next.
  • Assuming remote when it's local. If a server needs a command, it runs on your machine — no port, no URL. If it needs a url, it's remote. Mixing these up produces baffling errors.

When something's genuinely broken, work through the troubleshooting guide rather than guessing — it's ordered by how often each cause actually bites.

Where to go after your first server works

Once one server responds, expand deliberately — add servers for tools you use daily, not everything that looks interesting. The tool budget is real: keep the total number of exposed tools well under ~40 and prune anything the model never calls.

Two next steps that pay off:

  • Read the security basics. A local server runs with your permissions and a community server is someone else's code. MCP security: what actually matters covers the handful of things that genuinely reduce risk.
  • Browse by job. The best MCP servers list is filtered by category and flags official versus community, which matters more than raw feature counts once you're past the basics.

The honest summary: MCP for beginners is one config file, one server, and a restart. Get the filesystem server answering, then grow from there — the protocol was never the hard part.

FAQ

Is MCP free to use?

Yes. MCP is an open protocol and the servers you start with — the Filesystem reference server, GitHub's server, Context7 — are free and open source. You only pay for the underlying services a server talks to (a paid GitHub plan, an API you connect), not for MCP itself or for running a local server.

Do I need to know how to code to use MCP?

No, but you'll edit a small JSON config file. If you can paste a block of text into a file and change a folder path, you can add a server. You don't need to write any code — the servers are already built. A config generator can produce the exact entry for you if editing JSON by hand feels risky.

Is it safe to run an MCP server?

It depends on the server. Official servers from vendors like GitHub or Anthropic are safe to trust; a local filesystem server can only touch folders you explicitly allow. Community servers run with your full permissions, so read the repo and prefer well-maintained ones. See the security guide before installing anything unfamiliar.

Which MCP server should a beginner install first?

The Filesystem reference server. It's Anthropic's own example, it's the simplest possible install, and it only reads and writes inside the directories you hand it — so you can confirm your setup works with almost no risk before adding anything heavier like the GitHub server.

Why isn't my MCP server showing up?

Almost always one of three causes: you used a relative path instead of an absolute one, you didn't restart the client after editing the config, or the client can't find npx/node on its PATH. Fix those first — they account for most first-time failures — then check the troubleshooting guide.

Put this into practice

Browse MCP servers by capability, or check your own setup's tool budget and security.

More essays