---
page_title: Troubleshooting
product: Integration CLI
page_source: https://juspay.io/in/docs/integration-cli/docs/integrate-with-cli/troubleshooting
llms_txt: https://juspay.io/in/docs/llms.txt
product_llms_txt: https://juspay.io/in/docs/integration-cli/llms.txt
---


# Troubleshooting



Most issues fall into three buckets: the CLI **didn't detect**  your agent, the MCP/skills **aren't visible** , or **authentication**  to `juspay-mcp` is stuck. Start with the quick table, then jump to the detailed fix.


## Quick Fixes




| Symptom | Likely Cause | Fix |
|---|---|---|
| Agent not listed during setup | Agent not installed, or its CLI isn't on PATH. | Install the agent; ensure its executable runs in your shell; re-run agent-setup. |
| MCP servers / skills don't appear | Agent loaded config before setup finished. | Restart the agent or editor, then run agent-setup list to confirm. |
| juspay-mcp won't authenticate | Stale/cached auth state (common in VS Code & Antigravity). | See Authentication issues below. |
| "Does not support automatic client registration" / OAuth loops | Cached dynamic auth provider or a stale token. | See VS Code / Antigravity fixes below. |
| Want a clean slate? | Reset | npx juspay checkout agent-setup uninstall |



## **Authentication issues** 



`docs-mcp-server` needs **no**  auth. Only `juspay-mcp` (dashboard) uses OAuth, and nearly all auth problems are **cached credentials**  on the agent side.


### **VS Code Copilot Chat** 



A cached **dynamic authentication provider**  blocks re-auth. Clear it:

* Open the **Command Palette**  (`Cmd/Ctrl + Shift + P`).
* Run `Authentication: Remove Dynamic Authentication Providers`.
* Reload the window, then trigger `juspay-mcp` again to re-authenticate.

> **Note**
> Still stuck? Test with a clean profile to rule out other extensions: `code --user-data-dir /tmp/vscode-fresh`.




### **Antigravity** 



A stale MCP token is cached. Clear **only**  the MCP token file:

`# remove Juspay's cached dashboard-MCP token (safe — MCP token cache only)``rm ~/.gemini/antigravity/mcp_oauth_tokens.json`

Then re-authenticate from **Settings → Customizations** .


## **Still not working?** 



* Confirm **Node.js + npm**  work in the same shell you run the CLI from.
* Run `agent-setup list` to see the actual configured state.
* For a **project-only**  setup, make sure you're in the right repository.
* Restart the agent/editor once more — MCP servers are read at startup.
* Copy the generated configuration from our package and paste it into your AI agent. The agent will scan the configuration and automatically apply the required fixes.

---

## See Also

- [Get Started](https://juspay.io/in/docs/integration-cli/docs/integrate-with-cli/get-started)
