Connect an agent
There are two ways to connect an AI app: you sign in to Horuph from the app, or you give the app a token. Which one depends on the app.
Which way your app uses
| App | Sign in | Token |
|---|---|---|
| Claude Desktop and claude.ai | Yes | No |
| Claude Code | Yes | Yes |
| Cursor | Yes | Yes |
| VS Code | Yes | Yes |
| LM Studio | No | Yes |
| Open WebUI | No | Yes |
When an app can do both, signing in is simpler and safer: there is nothing to copy, and the app renews its access by itself.
Before you start
- The permission to connect agents. Your administrator decides who may. Without it you do not see AI agents in Admin.
- The MCP address. The AI agents page shows it under How to connect. It ends in
/addons/mcp/http/mcp, such ashttps://crm.example.com/addons/mcp/http/mcp. - For signing in: Horuph's public address. An administrator sets it under Settings, General, Public address. Until it is set, the page offers tokens only.
Connect by signing in
- Add Horuph to your app as an MCP server, with the MCP address. The page for your app below says where.
- The app opens Horuph in your browser. Sign in if you are not signed in yet.
- Horuph shows which app wants to connect and where it will send you back. Check that this is the app you just started from.
- Choose the Access and how long it should Stay connected, then choose Allow.
- You are back in the app, and the connection appears in the list on the AI agents page.
Connect with a token
- On the AI agents page, choose Connect an agent.
- Give the connection a Name you will recognize later, such as "LM Studio on my laptop".
- Choose the Access and how long the token stays Valid for: 7, 30 or 90 days, or one year.
- Choose Create token. Horuph shows the token once: copy it now.
- Paste the MCP address and the token into your app. Under How to connect, the page shows ready-made settings to copy.
Warning
Anyone who has the token can act as you. Keep it in the app's settings only, never in a chat, an email or a shared file. If it leaks, revoke the connection on the AI agents page.