> ## Documentation Index
> Fetch the complete documentation index at: https://docs-xcor.paloaltonetworks.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Cortex XCOR MCP server

> Learn how to connect large language models to the Cortex XCOR MCP server.

Connect large language models (LLMs) to Palo Alto Networks Cortex XCOR using
the Model Context Protocol (MCP) server. After connecting, your LLM can:

* Query [telemetry data](https://docs-xcor.paloaltonetworks.com/overview/types), including change events, metrics, logs,
  and traces.
* Use [Cortex XCOR MCP server tools](https://docs-xcor.paloaltonetworks.com/integrate/mcp-server/resources.md) to read
  resources, such as dashboards and monitors.
* Search and retrieve Cortex XCOR documentation through the
  [documentation MCP server](https://docs.chronosphere.io/mcp).
* Create and update [Notebooks](https://docs-xcor.paloaltonetworks.com/navigate/notebooks.md) after you enable write access.

> [!NOTE]
>
> The Cortex XCOR MCP server is read-only by default. To create or update resources,
> [enable write access](https://docs-xcor.paloaltonetworks.com/integrate/mcp-server/resources.md#enable-write-access) for the
> connection.

## Use cases

Use AI-enabled developer tools such as [Claude Code](https://www.claude.com/product/claude-code),
[Cursor](https://cursor.com),
[Codex](https://developers.openai.com/codex/mcp/),
and [Gemini CLI](https://github.com/google-gemini/gemini-cli/tree/main) to submit
queries. The following examples show common tasks for the Cortex XCOR MCP server:

* Find error logs with stack traces and review code for root cause analysis.
* Fetch a monitor's configuration and explain what's triggering it.
* Write PromQL queries targeting a specific service's metrics.
* List active shaping rules, such as drop rules, to determine why data is or isn't
  being dropped.

## Get started

Before you use the Cortex XCOR MCP server,
[configure authentication](https://docs-xcor.paloaltonetworks.com/integrate/mcp-server/authenticate.md) for your MCP client.


## Related topics

- [Integrate with Cortex XCOR](https://docs-xcor.paloaltonetworks.com/integrate.md)
- [Authenticate with the Cortex XCOR MCP server](https://docs-xcor.paloaltonetworks.com/integrate/mcp-server/authenticate.md)
- [Cortex XCOR MCP server tools](https://docs-xcor.paloaltonetworks.com/integrate/mcp-server/resources.md)
- [Get started with Cortex XCOR](https://docs-xcor.paloaltonetworks.com/overview/get-started.md)
- [Ask Operator about your telemetry](https://docs-xcor.paloaltonetworks.com/navigate/operator.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.