You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+45-5Lines changed: 45 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -233,9 +233,9 @@ Because the agent that can only use pre-built tools hits a ceiling. Phantom buil
233
233
234
234
</div>
235
235
236
-
## Connect from Claude Code
236
+
## Connect from Claude
237
237
238
-
Generate a token, then add Phantom to your MCP config.
238
+
First, generate a token. The command outputs a bearer token — save it for the next step.
239
239
240
240
**Bare metal:**
241
241
```bash
@@ -249,13 +249,25 @@ docker exec phantom bun run phantom token create --client claude-code --scope op
249
249
250
250
**Or just ask your Phantom in Slack:** "Create an MCP token for Claude Code." It will generate the token and give you the config snippet.
251
251
252
-
Then add this to your Claude Code MCP config:
252
+
Then use the token to connect. Replace `YOUR_TOKEN` below with the token from the command above. For local instances, use `http://localhost:3100/mcp` instead of the `ghostwright.dev` URL.
253
+
254
+
### Claude Code (CLI)
255
+
256
+
Add via the CLI:
257
+
258
+
```bash
259
+
claude mcp add phantom https://your-phantom.ghostwright.dev/mcp \
0 commit comments