Get your endpoint and key
Open the dashboard, go to Settings, then Connect Agents, and choose MCP clients. Everything you need is on that screen, pre-filled with an API key created for you.The MCP clients setup in the dashboard
- It is personal. It is tied to your account and lets the agent see what you see. Treat it like a password.
- It is created once and reused. Reopening the dialog shows the same key. You can revoke it under Settings, Connect Agents, API Keys at any time, and create a new one.
If your organization runs on a dedicated Hyperspell instance, the shared endpoints above will not know your organization. Always copy the URL from the dashboard.
Set up your client
- Cursor
- Claude Code
- Codex
- Other clients
Click Add to Cursor in the dashboard. Cursor opens and asks you to confirm the new server, already configured with your key.If the button does nothing, or you prefer to edit the file yourself, add this to your The dashboard shows this snippet with your real key filled in, so you can copy it directly.
mcp.json (in .cursor/mcp.json for a project or ~/.cursor/mcp.json globally):What the agent gets
Once connected, the agent sees these tools. It chooses among them based on what you ask, so you rarely need to name them.
Results are compact by default: an answer plus its citations, or a list of documents plus their summaries. Agents can ask for the full document when they need it.
Personal keys and organization keys
The key from Connect Agents acts as you. That is what you want for an agent you use yourself. For an agent that serves the whole team, such as an internal bot, an admin can create an organization-wide key under Settings, API Keys. That key sees content shared with everyone and nobody’s personal data. See Permissions for the difference and Configuration for creating keys.Troubleshooting
The agent lists the server but every call fails with an authentication error. Check that the header readsBearer followed by a space and the key, and that the key has not been revoked in the dashboard.
The agent connects but says the brain is empty. Run brain_status, or ask the agent to. If your tools are still syncing, the brain fills in over the next minutes to hours. If a source is missing, check its connection in Settings.
I am in the EU region and get a not-found error. Use https://api.eu.hyperspell.com/mcp. Keys are region-specific, and the US endpoint will not accept an EU key.