Connect your MCP server to Claude Desktop

Day 5, 25 minutes · beginner

Goal of this lessonAdd Romy's MCP server to the Claude Desktop configuration file, restart the app and get an answer that uses your own stock tool.

Why it matters

So far you called Romy's tools yourself. That proves the server works, but it is not why she wants it. She wants to type a customer question in a chat and get an answer that uses her real stock. For that the server has to be added to a host, an AI application that starts the server, lists its tools and lets Claude call them.

Today you connect Romy's server to Claude Desktop, the desktop app for macOS, Windows and Linux. You add one entry to its configuration file, restart the app and ask a real question. At the end Claude Desktop starts your server by itself, and you have seen Claude call your tool with your approval.

The words you need today

  • Configuration file: a text file an app reads at start-up. Claude Desktop reads its MCP servers from claude_desktop_config.json.
  • mcpServers: the key in that file that holds one entry per server. Each entry has a name you choose, a command to start the server and a list of args.
  • Absolute path: the full path to a folder, starting from the drive or the root, such as C:\Users\you\quillfeather. A relative path such as quillfeather is not enough here.
  • Connector: the word Claude Desktop uses in its menus for a connected server.

Where the file lives

The MCP docs give the location per system:

System Path
macOS ~/Library/Application Support/Claude/claude_desktop_config.json
Windows %APPDATA%\Claude\claude_desktop_config.json
Linux ~/.config/Claude/claude_desktop_config.json

The connect local servers page opens it from the app: Claude menu, Settings..., the Developer tab, Edit Config. That creates the file if it does not exist yet. Newer versions of the app may lay out the settings differently, so the guide below also opens the file directly by its path.

Add, do not replace

The official examples show a whole file with one server in it. If you already use other servers in Claude Desktop, pasting that over your file removes them. So first make a copy of the file, then add Romy's entry inside the existing mcpServers block, next to what is there. If the file is empty or new, use the full example from the guide.

The entry follows the build guide: the command is uv, and the arguments tell uv which folder to work in and which file to run. That is the same as running uv --directory <your folder> run quillfeather.py in a terminal.

Two things that trip people up

  • Paths. The folder must be absolute. On Windows, write each backslash twice in JSON (C:\\Users\\...) or use forward slashes. The build guide also warns that you may need the full path to uv itself in command: find it with which uv on macOS or Linux and where uv on Windows (in PowerShell type where.exe uv, because there where means something else).
  • Restart. Claude Desktop reads the file at start-up. Closing the window is not enough. The guide says to quit fully: on Windows right-click the Claude icon in the system tray and choose Quit, on macOS press Cmd+Q.

What happens when you ask a question

The build guide lists the steps under the hood. The client sends your question to Claude. Claude looks at the available tools and picks one. The client runs it through your MCP server. The result goes back to Claude, which writes the answer. Before a tool runs, Claude Desktop asks for your approval, so you see every call.

When it does not work

Claude Desktop writes MCP logs: mcp.log for connections and failures, and mcp-server-quillfeather.log with the stderr of your server, which is where your logger.info lines end up. The log folder is ~/Library/Logs/Claude on macOS and %APPDATA%\Claude\logs on Windows. Check the JSON for a missing comma or bracket first. Then run the same command from the entry by hand in a terminal: if it fails there, it fails in Claude Desktop too.

The steps

  1. Find and back up your Claude Desktop configuration file.
  2. Find the absolute path of your quillfeather folder and of uv.
  3. Add the quillfeather entry under mcpServers.
  4. Quit Claude Desktop fully and start it again.
  5. Check the connector and ask a question that needs the stock tool.

Follow the steps below.

Today's actions

Ticks are not saved without an account

Do it in Claude API

Claude API

  1. Install or update Claude Desktop from claude.ai/download and sign in.
  2. Open the configuration file. In the app: Claude menu, Settings..., Developer tab, Edit Config. Or open it in your editor by its path: %APPDATA%\Claude\claude_desktop_config.json on Windows, ~/Library/Application Support/Claude/claude_desktop_config.json on macOS.
  3. Make a backup first. Save a copy of the file next to it as claude_desktop_config.backup.json. If the file already lists servers under mcpServers, you keep them: you only add one entry.
  4. Find two absolute paths. In your quillfeather folder run pwd for the folder. For uv run which uv on macOS or Linux, or where.exe uv in PowerShell on Windows.
  5. If the file is empty or new, paste this whole example and put your own folder path in it. On Windows write the path with double backslashes, as in the next step.
    {
      "mcpServers": {
        "quillfeather": {
          "command": "uv",
          "args": [
            "--directory",
            "/ABSOLUTE/PATH/TO/quillfeather",
            "run",
            "quillfeather.py"
          ]
        }
      }
    }
  6. If mcpServers already has entries, paste only this block inside it, after the last entry, and put a comma after that last entry. This is the Windows form; on macOS use the path style from the previous step.
    "quillfeather": {
      "command": "uv",
      "args": [
        "--directory",
        "C:\\ABSOLUTE\\PATH\\TO\\quillfeather",
        "run",
        "quillfeather.py"
      ]
    }
  7. Save the file. Quit Claude Desktop fully: on Windows right-click the Claude icon in the system tray and choose Quit, on macOS press Cmd+Q. Then start it again.
  8. In a new chat, open Add files, connectors, and more, hover over Connectors and click Manage connectors: quillfeather is listed. Ask: Is Little Women in stock at Quillfeather Books? Approve the tool call and save the answer in mcp-notes.txt.

Note: If uv is not found, put the full path from where.exe uv or which uv in command. If the server does not show up, check the JSON for a missing comma, then read mcp.log and mcp-server-quillfeather.log in %APPDATA%\Claude\logs (Windows) or ~/Library/Logs/Claude (macOS).

Checked on 4 December 2026 · Source: MCP docs: Connect to local MCP servers (opens in a new tab)

Create a free account to save your progress. Sign in or sign up