Day 5, 25 minutes · beginner
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
commandto start the server and a list ofargs. - 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 asquillfeatheris 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 touvitself incommand: find it withwhich uvon macOS or Linux andwhere uvon Windows (in PowerShell typewhere.exe uv, because therewheremeans 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
- Find and back up your Claude Desktop configuration file.
- Find the absolute path of your quillfeather folder and of
uv. - Add the quillfeather entry under
mcpServers. - Quit Claude Desktop fully and start it again.
- 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 accountDo it in Claude API
Claude API
- Install or update Claude Desktop from claude.ai/download and sign in.
- 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.jsonon Windows,~/Library/Application Support/Claude/claude_desktop_config.jsonon macOS. - 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 undermcpServers, you keep them: you only add one entry. - Find two absolute paths. In your quillfeather folder run
pwdfor the folder. For uv runwhich uvon macOS or Linux, orwhere.exe uvin PowerShell on Windows. - 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" ] } } } - If
mcpServersalready 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" ] } - 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.
- 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).
Create a free account to save your progress
Free, and no payment details. Your ticks and finished lessons are kept, on every device.
Create a free account I already have an accountCreate a free account to save your progress. Sign in or sign up