> For the complete documentation index, see [llms.txt](https://cortex-docs.paloaltonetworks.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cortex-docs.paloaltonetworks.com/cortex-xsiam/configure-cortex-xsiam/cortex-mcp-server.md).

# Cortex MCP server

The Cortex MCP Server connects your LLM applications to your Cortex tenant. It uses the Model Context Protocol (MCP), a standard for connecting AI models with applications and tools. Use natural language to investigate and manage your Cortex data.

**Key capabilities**

* Investigate

  Use the built-in tools to manage cases and issues, and conduct investigations.
* Customize

  Create, customize, and fine-tune tools to fit specific use cases and workflows.
* Flexible client

  The Cortex MCP Server is provided as a downloadable file that can be installed on a local machine or a container. While these instructions use Claude Desktop as the MCP client, you can use any client that supports MCP. More detailed setup instructions are provided in the README file included in the download.

{% hint style="info" %}
The Cortex MCP Server empowers you to integrate AI into your security workflows using natural language. When using LLM-based suggestions, always review and approve actions suggested by the AI before they're executed. We recommend deploying the Cortex MCP server in a secure environment where access is limited to authorized users.
{% endhint %}

To install, configure, and use the Cortex MCP server:

1. [Install the Cortex MCP server](/cortex-xsiam/configure-cortex-xsiam/cortex-mcp-server/install-the-cortex-mcp-server.md)
2. [Configure the MCP client](/cortex-xsiam/configure-cortex-xsiam/cortex-mcp-server/configure-the-mcp-client.md)
3. (Optional) [Create custom Cortex MCP server tools](/cortex-xsiam/configure-cortex-xsiam/cortex-mcp-server/create-custom-cortex-mcp-server-tools.md)
4. [Use the Cortex MCP server](/cortex-xsiam/configure-cortex-xsiam/cortex-mcp-server/use-the-cortex-mcp-server.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://cortex-docs.paloaltonetworks.com/cortex-xsiam/configure-cortex-xsiam/cortex-mcp-server.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
