Skip to content

Setup and Installation

The MCP server is fully remote and does not require any local installation.

Prerequisites

To use MCP, ensure that Node.js is installed.

Connecting to the remote server

In any application supporting MCP (for example, Cursor or Claude), add the following configuration to your mcp.json:

{
  "mcpServers": {
    "coralogix-server": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "https://api./mgmt/api/v1/mcp",
        "--header",
        "Authorization: Bearer: ${CORALOGIX_API_KEY}"
      ],
      "env": {
        "CORALOGIX_API_KEY": "<YOUR-API-KEY>"
      }
    }
  }
}
  • If necessary, modify the https://api./mgmt/api/v1/mcp endpoint to correspond to your Coralogix domain using the domain selector at the top of the page.

  • Replace <YOUR-API-KEY> with a personal Coralogix API key.

Direct integration with Cursor

Cursor supports direct MCP server integration (recommended), as follows:

{
"New-Coralogix-MCP-Server": {
      "url": "https://api./mgmt/api/v1/mcp",
      "headers": {
        "Authorization: Bearer <YOUR-API-KEY>"
      }
    }
  • If necessary, modify the https://api./mgmt/api/v1/mcp endpoint to correspond to your Coralogix domain using the domain selector at the top of the page.

  • Replace <YOUR-API-KEY> with a personal Coralogix API key. The MCP server inherits the permissions associated with the user’s personal API key. Find out more in Permissions.

To configure and enable your MCP server to connect to Coralogix using OAuth 2.1 with OpenID Connect (OIDC), see Authorize MCP with OAuth 2.1.

Using a proxy for outbound connections

If your network requires a proxy for outbound connections, run MCP with: mcp run <component> --enable-proxy. This ensures the MCP server uses your system’s proxy settings and avoids connectivity issues.

Starting a session

Start a conversation by entering a prompt such as:

Show me the most frequent errors for service XYZ in the past week.

The assistant should locate relevant log entries and identify problematic functions.

Requesting a fix for agent-based IDEs

After identifying the issue, for agent-based IDEs such as Cursor, instruct the assistant to fix it by saying:

Now, fix the issue.

You can also ask:

When did the issue start?

Additional resources

Coralogix EndpointsCoralogix Endpoints