Connect Claude Code to TokenKit
Verified 153 test sessions were run with Claude Code 2.1.334.
Before you start
- TokenKit installed on macOS 14 or later, and opened once.
- Claude Code installed and working.
1. Add TokenKit to Claude Code
In TokenKit, open Connections and copy the setup for Claude Code. It is this, with the path of your copy of the app:
claude mcp add --scope user tokenkit -- "/Applications/TokenKit.app/Contents/MacOS/tokenkit" mcpClaude Code keeps this in ~/.claude.json, managed by the claude mcp command. The independent version of TokenKit can add it for you with the Connect button; it saves a copy of the file first.
2. Authorise a folder
In TokenKit, open Permissions, press Add folder… and choose the folder the agent may use. Until you do, every call is answered with “not authorised”.
3. First test
Run this to see TokenKit listed:
claude mcp listThen ask for something in the folder you authorised, for example: “Which pages of the PDF in that folder mention payment terms?”
Troubleshooting
- “TokenKit is not open”: open the app, or switch on “Open at login” in Settings (Mac App Store version).
- “outside the authorised folders”: add the folder in Permissions.
- “part of TokenKit Pro”: the tool or option is not in the free plan.
- The agent does not list TokenKit: check the path in the setup and restart the agent.
Disconnect
claude mcp remove tokenkitRevoke file access
Remove the folder in Permissions. The next call to anything inside it is refused. You do not need to disconnect the agent.
Tell us how it goes
If anything does not work as described here, write to us and we will help.