The Lansweeper MCP server is currently in beta. Functionality and supported clients may change before general availability.
Connecting an MCP-compatible AI assistant to Lansweeper is a one-time setup per device or workspace. Once connected, your assistant can query your IT estate in plain language. For background on what the Lansweeper MCP server is and what you can ask, see Explore the Lansweeper MCP server.
Prerequisites
Before you connect:
- A Lansweeper account with access to at least one site
- An MCP-compatible AI assistant such as Claude, Cursor, or Atlassian Rovo
Regional endpoints
Lansweeper runs separate MCP servers for the EU and US regions. Connect to the endpoint that matches the region your sites are in. If you have sites in both regions, register both servers. Your AI assistant treats them as two distinct connections.
| Region | Endpoint |
|---|---|
| EU | https://mcp.eu.lansweeper.com/mcp |
| US | https://mcp.us.lansweeper.com/mcp |
Connect your AI assistant
Lansweeper's MCP server supports the following clients: Claude Desktop, Claude Code, Cursor, and Atlassian Rovo. For most, setup follows the same pattern: add the endpoint URL for your region and sign in with your Lansweeper credentials when prompted. Steps specific to each client are listed below.
Microsoft Copilot is not currently supported. Microsoft's security policies block external MCP server connections. Use one of the clients listed below.
Claude Desktop
-
Open Claude Desktop and select Customize.
-
Select Connectors, then Add custom connector.
-
Enter a name and the endpoint URL for your region, then select Add.
-
Authenticate with your Lansweeper credentials when prompted.
If you prefer to configure manually, you can edit the configuration file directly:
-
Windows:
%APPDATA%\Claude\claude_desktop_config.json -
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonAdd the Lansweeper MCP server entry to the
mcpServersobject. Add both entries if you have sites in both regions:{ "mcpServers": { "lansweeper_eu": { "type": "http", "url": "https://mcp.eu.lansweeper.com/mcp" }, "lansweeper_us": { "type": "http", "url": "https://mcp.us.lansweeper.com/mcp" } } }Save the file and restart Claude Desktop. On your first query, a browser window opens for sign-in.
Claude Code
-
Open a terminal and run the following commands to register the Lansweeper MCP server. Run both if you have sites in both regions:
claude mcp add --scope user --transport http lansweeper_eu https://mcp.eu.lansweeper.com/mcp claude mcp add --scope user --transport http lansweeper_us https://mcp.us.lansweeper.com/mcp -
In Claude Code, type
/mcpand selectlansweeper_euorlansweeper_usfrom the list. -
Select Authenticate. A browser opens. Sign in with your Lansweeper credentials.
-
Once the browser shows a Connected confirmation, return to Claude Code. The server is ready.
Cursor
-
Open or create Cursor's MCP configuration file at
~/.cursor/mcp.json. -
Add the Lansweeper MCP server entry. Add both entries if you have sites in both regions:
{ "mcpServers": { "lansweeper_eu": { "type": "http", "url": "https://mcp.eu.lansweeper.com/mcp" }, "lansweeper_us": { "type": "http", "url": "https://mcp.us.lansweeper.com/mcp" } } } -
Save the file and restart Cursor.
-
On your first query, a browser window opens for sign-in. Sign in with your Lansweeper credentials.
Atlassian Rovo
-
In Rovo, open Connected Apps.
-
Select Add external MCP server.
-
Enter a name (for example,
Lansweeper EU) and the endpoint URL for your region. Select HTTP as the transport type. -
Save. Rovo authenticates via SSO, so no separate sign-in is required.
-
Repeat for the US endpoint if you have sites in both regions.
Limits
| Limit | Value |
|---|---|
| Results per query | 1–20 (default: 10) |
| Write operations | None. The connection is read-only. |
| Session timeout | 60 minutes of inactivity |
| Cross-region queries | Not supported in a single session. Use the matching EU or US endpoint. |
Troubleshooting
| Problem | Likely cause | Fix |
|---|---|---|
| "Unauthorized" error on every query | Missing or expired sign-in | Sign in again through the MCP authentication flow. Most clients do this automatically. |
| A site you expect isn't listed | Wrong regional endpoint | Check whether the site is in the EU or US region and connect to the matching endpoint. |
| A field or dataset isn't available | The field is outside your subscription tier or your account permissions | Ask the assistant to list available datasets, or check with your Lansweeper admin. |
| Session appears to reset after inactivity | 60-minute idle timeout | Send another message. The client reconnects automatically. |