Before You Start
Sign in to your xysq account at app.xysq.ai.Step 1 - Add the xysq Marketplace
In any Claude Code session, run:Step 2 - Install the Plugin
/reload-plugins.
Step 3 - Sign in via OAuth
Open the MCP panel:Step 4 - Verify
Start a new Claude Code session and try:memory_retain and confirm the memory was stored.
Working with teams
OAuth ties the MCP session to your xysq user, so teams are configured in one place — your web UI — and Claude Code picks them up automatically.- Open app.xysq.ai/teams.
- On any team card, flip the MCP sync toggle on.
- Your next MCP tool call in Claude Code will fan-write to that team’s vault alongside your personal vault, and recall from both.
team_id=..., personal_only=true) and the 10-team cap.
What Gets Installed
| Component | Purpose |
|---|---|
| MCP connection | OAuth-authorised connection to api.xysq.ai/mcp as your xysq user |
| Memory skill | Teaches Claude the session protocol, tool usage, consent rules |
Alternative: API key (server-to-server, CI, headless)
If you’re configuring Claude Code for a non-interactive context (a CI runner, an automation script, a shared workstation where browser-based OAuth isn’t practical), use an API key instead:- At app.xysq.ai, click Connect Agent → Claude Code tab → Generate API Key. Save the
xysq_...key — it’s shown once. - Wire the MCP connection by hand:
- To include team vaults on an API-key session, add the
X-Xysq-Teamsheader with a comma-separated list of team UUIDs:
Troubleshooting
| Problem | Fix |
|---|---|
| Plugin install fails | Make sure Claude Code is up to date — run claude update (or reinstall from claude.com/code) and restart your session. Then retry /plugin install xysq. If it persists, use the API-key alternative above. |
| Browser doesn’t open for OAuth | Some terminal environments don’t have a default browser handler. Copy the URL Claude Code prints into your browser manually, complete the login, return to the terminal. If you can’t open a browser at all, use the API-key alternative. |
| MCP not connecting after install | Run /reload-plugins or start a new session. Check /plugin list to verify xysq is listed. |
| ”Authentication required” error | Your OAuth session may have expired. Disconnect via /plugin disable xysq then /plugin enable xysq to re-run OAuth. For API-key installs, regenerate at app.xysq.ai/connect and reinstall. |
| Skills not loading | Verify with /plugin list that xysq shows as installed and enabled. Try /plugin disable xysq then /plugin enable xysq. |
| Team memories not appearing | Check that MCP sync is toggled on for that team at app.xysq.ai/teams. The toggle takes effect on the next MCP call — no reconnect needed. |
| Want to update the plugin | Run /plugin update xysq to pull the latest version. |