Claude Desktop and Claude Code
Add the following to
~/.claude_desktop_config.json for
Claude Desktop or ~/.claude.json for
Claude Code:
{
"mcpServers": {
"paloaltonetworks-dlp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@paloaltonetworks/mcp-dlp"
],
"env": {
"DLP_CLIENT_ID": "<your-client-id>",
"DLP_CLIENT_SECRET": "<your-client-secret>",
"DLP_TSG_ID": "<your-tsg-id>"
}
}
}
}Cursor
Add the following to .cursor/mcp.json:
{
"mcpServers": {
"paloaltonetworks-dlp": {
"command": "npx",
"args": [
"-y",
"@paloaltonetworks/mcp-dlp"
],
"env": {
"DLP_CLIENT_ID": "<your-client-id>",
"DLP_CLIENT_SECRET": "<your-client-secret>",
"DLP_TSG_ID": "<your-tsg-id>"
}
}
}
}VS Code
Add the following to .vscode/mcp.json:
{
"servers": {
"paloaltonetworks-dlp": {
"command": "npx",
"args": [
"-y",
"@paloaltonetworks/mcp-dlp"
],
"env": {
"DLP_CLIENT_ID": "<your-client-id>",
"DLP_CLIENT_SECRET": "<your-client-secret>",
"DLP_TSG_ID": "<your-tsg-id>"
}
}
}
}OpenAI Codex
Add the following to ~/.codex/config.toml:
[mcp_servers.paloaltonetworks-dlp]
command = "npx"
args = ["-y", "@paloaltonetworks/mcp-dlp"]
[mcp_servers.paloaltonetworks-dlp.env]
DLP_CLIENT_ID = "<your-client-id>"
DLP_CLIENT_SECRET = "<your-client-secret>"
DLP_TSG_ID = "<your-tsg-id>"
Other AI agents
Add a standard I/O (stdio) MCP server to your agent's configuration
with the following values. The file and format depend on your agent,
so follow its documentation.
Name—paloaltonetworks-dlp
Command—npx
Arguments—-y and
@paloaltonetworks/mcp-dlp
Environment variables—DLP_CLIENT_ID,
DLP_CLIENT_SECRET, and
DLP_TSG_ID