Skip to content

ENفارسی

HORUPH

VS Code

VS Code uses MCP servers in its chat's agent mode. Add Horuph to a file named mcp.json and connect by signing in or with a token.

Where the settings go

Put the settings in .vscode/mcp.json in a project, or in your user settings to use Horuph in every project. VS Code's file names its servers under servers, not mcpServers as Cursor and LM Studio do, so write it as shown here rather than copying the example from the AI agents page.

Connect by signing in

{
  "servers": {
    "horuph": {
      "type": "http",
      "url": "https://crm.example.com/addons/mcp/http/mcp"
    }
  }
}

Save the file and start the server from VS Code. It opens Horuph in your browser: sign in, choose the Access and how long to stay connected, and choose Allow.

Connect with a token

Create a token on the AI agents page with Connect an agent, then add it as a header:

{
  "servers": {
    "horuph": {
      "type": "http",
      "url": "https://crm.example.com/addons/mcp/http/mcp",
      "headers": { "Authorization": "Bearer YOUR-TOKEN" }
    }
  }
}

Replace YOUR-TOKEN with the token you copied. Keep this file out of shared projects and version control, because it holds your token.