Dumb question.. but after login.. now what?
Product
VS Code extension (perplexity-vscode)
Version
0.8.53
MCP Client (if applicable)
Other
Perplexity tier
Pro
OS
MXLinux
Browser used by the MCP server
buillt in
What happened?
Now after i managed to login with VSCode. Everything looks good...
Now what? How do i use the AI? Under the mcp extention tab, there is no chat, or any other information.. Tried to use the "copilot" chat thinking i would be able to use the perplexity mcp in there, but nope.
Doctor output (optional, recommended)
Relevant logs or errors
same.. no idea myself??? this was logged 2 weeks ago, so is there a fix?
Not a dumb question at all — and thanks for flagging it, this is a real gap on our side, not something you did wrong.
The key thing: this extension is an MCP server, not a chat window — so there's deliberately no chat box inside the Perplexity tab. You query it from an AI agent. That's why it felt like a dead end after login.
To use it in VS Code Copilot (what you tried):
- Open Copilot Chat
- Switch the mode dropdown from Ask to
Agent— ⚠️ MCP tools only appear in Agent mode, not Ask/Edit. This is almost certainly why "copilot chat… but nope." - Click the 🔧 tools picker in the chat box and make sure Perplexity MCP is checked
- Just ask, e.g. "search the web for the latest React 19 release notes" — Copilot will call
perplexity_search
Confirm the server is actually running via Ctrl+Shift+P → MCP: List Servers. Requires VS Code 1.102+ (that's where VS Code's MCP support went GA).
On Linux specifically: if the Perplexity server doesn't appear in MCP: List Servers at all, the bundled daemon likely failed to start — grab ~/.perplexity-mcp/daemon.log and open a follow-up issue with it so we can dig in.
Prefer Cursor / Claude Desktop / Cline instead? Open the dashboard's IDEs tab → Sync, then ask that client a question the same way.
We're also fixing the root cause: the post-login screen and the README now walk through exactly these steps instead of stopping at "you're logged in." Sorry for the confusion — and thanks @ITFinesse for the +1.
i dont have any spanner :| (vs code)
Daemon sees an anonymous session — run login to connect.
cant get it to change out of this status...
The same problem here, Daemon sees an anonymous session.
Two different problems ended up in this thread, so I'm splitting them — sorry for the runaround.
@ITFinesse — "i dont have any spanner"
That's the giveaway, and it means my earlier instructions were incomplete. The tools picker only exists in Agent mode. If the wrench is missing entirely — not just missing Perplexity — then Copilot isn't in Agent mode, or it can't do MCP at all. Check in this order:
- Help → About — you need VS Code 1.102+. Anything older has no MCP support at all, and no wrench. (We had a real bug here: the extension declared it worked on 1.100+, so it installed happily on versions that physically cannot register an MCP server, then said nothing. Floor is now 1.102 — thank you for surfacing it.)
- Copilot Chat installed and signed in.
- The mode dropdown in the chat box reads
Agent— not Ask, not Edit. - Ctrl+Shift+P →
MCP: List Servers. If that command doesn't exist, it's #1 or a policy block (chat.mcp.enabled, or an org MCP policy on Copilot Business/Enterprise). If it exists but Perplexity isn't listed, the daemon didn't start — check the Perplexity output channel.
@ITFinesse @lcarbow — "Daemon sees an anonymous session"
This is a separate bug, not the onboarding gap this issue was about — please follow #13, where I've written up the full diagnosis.
Short version: that message is emitted on a not-logged-in reason code, and we found at least four distinct ways to land on it. One is now fixed: the daemon wrote authenticated:false to its status file on shutdown, and the extension read that file with no liveness check — so a daemon that had simply stopped reported "anonymous session" forever, and no amount of logging in could clear it. That matches "cant get it to change out of this status" exactly. Fixed in the tree.
I deliberately did not fold you into #11 (the Windows keytar bug), even though it produces a similar symptom: #11 yields a different reason code (vault-locked, which renders a different message), it's Windows-only, and neither of you stated an OS — while this thread's original reporter is on MX Linux, which has its own route to the same symptom with a completely different fix. Guessing wrong there would have sent you chasing a packaging bug you don't have.
To get you unstuck, please post on #13: your OS, and the verbatim reason field from ~/.perplexity-mcp/profiles/<profile>/daemon-status.json. That one field forks the diagnosis cleanly.
Closing this one
The original question — "after login… now what?" — is fixed: the README and the post-login screen now walk through Agent mode instead of stopping at "you're logged in" (3166821), and the engines floor is raised so the extension stops installing where it can't work.
Thanks @VinterSolen for the original report and @ITFinesse for pushing on it — "I don't have any spanner" was the detail that exposed the version bug. Closing this; #13 carries the anonymous-session work.
maybe the spanner is now:
but output shows: 026-07-16 18:30:55.524 [info] Connection state: Error Error sending message to http://127.0.0.1:63596/mcp: TypeError: fetch failed: connect ECONNREFUSED 127.0.0.1:63596
Yes — that's the spanner, and you're now in Agent mode with the server registered. That part is done. The ECONNREFUSED is a real bug on our side, and your log is what found it. Thank you.
What your error actually proves
connect ECONNREFUSED 127.0.0.1:63596 means VS Code has a perfectly good MCP server definition and is dialling port 63596 — and nothing is listening. The daemon died.
I traced it, and it's a nasty one. watchReinit ran its callback like this:
try { callback(); } catch {}
…but the daemon hands it an async callback (async () => { await client.reinit() }). An async function returns a promise without throwing, so that catch never fires and the promise is dropped on the floor. When the reinit then fails, it becomes an unhandled rejection — and Node ≥15 hard-exits the process by default.
So a background session refresh failing killed the entire daemon, HTTP server and all. Then VS Code kept calling the port it had cached, and got ECONNREFUSED on every message.
The giveaway was that the neighbouring watcher, 11 lines below, already had a try/catch around its callback with a comment saying "Don't let a single rebind failure crash the daemon." The one that needed it most didn't have it.
Fixed in main (f05938a), guarded at both layers, with a regression test that spawns a real daemon subprocess and proves it now survives a failing reinit — it exits 1 against the old code.
This also explains your first message
Your two reports chain together, which is why they looked unrelated:
stuck Anonymous (#11 on Windows, or a missing keyring on Linux) → you retry Login → login touches the .reinit sentinel → the reinit fails → the daemon dies → ECONNREFUSED. Every retry re-killed it. It looked like nothing worked because, mechanically, nothing could.
Two of my own theories died on the way here, worth stating plainly: #12 (the Cloudflare bug) cannot cause this — the daemon's browser init is lazy, so the HTTP listener binds long before Cloudflare is ever touched; a CF block gives tool errors on a reachable port. And #11 doesn't kill the daemon either — that error is caught. Only the reinit crash produces a refused connection.
One thing still broken (#14)
Even with the crash fixed: the daemon takes a random port every start, VS Code caches it, and we never tell VS Code when it changes. So if the daemon dies for any reason, VS Code stays pinned to the dead port forever. Tracked in #14 — including the embarrassing part, that the Perplexity.daemonPort setting we prompt people to pin is dead code and does nothing.
Meanwhile — to get you working now
Reload the VS Code window (Ctrl+Shift+P → Developer: Reload Window). That forces the extension to re-resolve the daemon and hand VS Code a live port. If it comes back, you'll know the port was the problem.
And if you can, please post on #13: your OS, plus the reason field from ~/.perplexity-mcp/profiles/<profile>/daemon-status.json. Windows + vault-locked puts you squarely on #11 (fixed in main), and it'd close the loop on your original "anonymous session" report.
Genuinely — "i dont have any spanner" exposed a version-floor bug, and this log exposed a daemon-killer. Two real fixes from one thread.