Loading interactive tool…

This page in plain text

Connect your first MCP server

An MCP server is a small program that hands Claude a set of tools: read these files, search that account, look up this record. MCP is a shared standard, so one server works with any assistant that speaks it, and you connect one somebody else published. We connected one to Claude Code, asked it two questions and kept the output, including the mistake we made first.

What an MCP server is

  • It adds tools. The one we used added 16, from “list a folder” to “read a text file”. Claude sees their names and what each one does.
  • It has a boundary. A server reaches only what it was given: one folder, one account, one database.
  • It runs on your machine. This kind is a program your computer starts, so you read what you are connecting before you connect it.

The four steps

We used the filesystem server published by the MCP project itself. It needs no account and no key, only Node on your computer. We had Node 24.

  1. Make a folder to share. A new folder with a few text files in it. Ours had three: two sets of call notes and a list of ideas.
  2. Add the server. One command, typed in a terminal inside that folder: claude mcp add --scope project notes -- npx -y @modelcontextprotocol/server-filesystem . It writes a small file there called .mcp.json.
  3. Approve it. A server added to a project waits for your yes. Claude Code listed ours as “Pending approval (run `claude` to approve)”.
  4. Ask about your files. Start Claude Code in the folder and ask a question the files can answer. We asked: “Look through my client notes. What dates have been promised, and by whom?”

In the command, “notes” is the name we gave the server, and “–scope project” keeps it in this one folder, so nothing else on your computer changes. We ran Claude Code without a screen, so we gave our approval in the test folder’s own settings file and did not see the approval question a normal session asks.

What came back

We switched off Claude Code’s own ways of reading files, so anything it learned had to come through the server. It asked the server which folders it may use, listed the folder, read the three files and answered: 14 December is the launch date, from the call with Dana, and 28 November is when Luis will fix the signup form. It added that nobody yet signs off the price list, and that the January webinar in the ideas list is marked “not agreed”, so it is not a promised date.

Then we asked it to open a file in another folder. The server answered “Access denied – path outside allowed directories”, and Claude said the file was outside its reach.

What went wrong first

Our first command ended with the full path of a notes folder somewhere else on the computer. The server connected, and when Claude asked which folders it could use, the answer was the folder we had started Claude Code in, not the one we named. So Claude looked in an empty folder and replied “There are no client notes here.” The fix was to put the notes in the folder we start in. We did not look into why; we only measured what the server reported.

What the run showed

  • The server connected and gave Claude 16 tools. We did not name one; Claude chose which to call.
  • Both dates in the answer are in the notes, each with the call it came from.
  • A file outside the folder was refused by the server itself.
  • The 16 tools include writing, editing and moving files. A server that reads can often change things too.
  • We asked the first question twice. One run read all three files; the other read two and never opened the ideas list.

That was two runs of each question, on 20 November 2026, with Claude Code 2.1.278. Claude Code can already read files in a folder by itself; we used this server because it needs no account, to show the steps.

Taking it out again

One command removed ours: claude mcp remove notes -s project. After it, claude mcp list no longer showed the server and the .mcp.json file was empty. Nothing outside that folder had been changed.

Before you connect a real one

A folder of test notes is safe to share. Your email, your code host or your customer records are not the same thing. Connect a server published by the maker of the product, give it the least it needs, and read what tools it adds before you approve them. Ask who published it, what it can reach, whether it can change things or only read, and how to remove it. Our server directory lists servers published by their makers, and the skill walkthrough covers the other half: telling Claude how you want a job done.

Ask Jing

Become a Jingius.

You're chatting with our fast model. Create a free account for the more thorough one, and more messages.