- Cortex XCOR MCP server: Connects to your tenant and requires authentication.
- Documentation MCP server: Serves public Cortex XCOR documentation and does not require authentication.
- Generate a Cortex XCOR API token, either through a personal access token or a service account.
-
Use OAuth. To use the Cortex XCOR MCP server with OAuth,
your MCP client must support OAuth.
OAuth authentication with the Cortex XCOR MCP server has been tested with the following MCP clients only.
Prerequisites
If you’re authenticating your MCP client with a Cortex XCOR API token, use one of the following options to generate one:- Personal access: Create a personal access token to authenticate your user account with Cortex XCOR. When you authenticate with a personal access token, Cortex XCOR associates the actions you take with your identity and respects the permissions granted to your user account’s team.
- Programmatic access: Create an unrestricted service account to create a persistent identity for a service or agent that you want to authenticate with your MCP client. You must have administrative access to create a service account.
Authenticating using Claude Code
To authenticate with the Cortex XCOR MCP server from Claude Code, add the MCP server as a remote HTTP server.-
From within Claude Code, run the following commands to add the Cortex XCOR MCP server
and the public documentation MCP server:
Replace the following for the Cortex XCOR MCP server:To authenticate using OAuth instead of a Cortex XCOR API token, omit the
--headerflag. You can also use the/mcpcommand to authenticate with OAuth authentication. -
Test your connection with the Cortex XCOR MCP server:
Authenticating using Cursor
To authenticate with the Cortex XCOR MCP server from Cursor, modify themcp.json
file to include the Cortex XCOR MCP server remote endpoint.
-
From within Cursor,
access the
mcp.jsonfile. -
Add the following configuration to the
mcp.jsonfile to add the Cortex XCOR MCP server and the public documentation MCP server:Replace the following for the Cortex XCOR MCP server:To authenticate using OAuth instead of a Cortex XCOR API token, omit theheaderssection from the configuration. -
Save and close the
mcp.jsonfile. - Refresh the MCP server settings in Cursor.