PP

paloaltonetworks/pan-mcp-relay

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

33 stars 10 forks 质量 60 趋势 11NOASSERTION

帕洛阿尔托网络 AI 运行时安全模型上下文协议(MCP)中继服务器

概览

pan-mcp-relay 是一款经过安全增强的模型上下文协议(MCP)中继(代理)服务器,为 MCP 客户端提供实时的 AI 威胁防护,采用 [Prisma AIRS AI 运行时 API 拦截]构建。 pan-mcp-relay 将通过自动扫描和阻断各种威胁,包括提示注入、恶意 URL、不安全输出、AI 代理威胁、敏感数据丢失等,帮助保护 MCP 客户端(如 IDE、LLM 聊天客户端和 AI 代理)免受有害的 MCP 服务器工具的侵害。 MCP 中继扫描所有 MCP 服务器工具描述、工具调用参数和工具调用响应。 关于授权、引导、激活以及获取API认证密钥和配置文件名称,请参阅[Prisma AIRS AI运行时:API拦截概览]管理文档。 请遵循以下激活和入职指南: 1. 在您的客户支持门户创建并关联 Prisma AIRS AI 运行时 API 拦截的部署配置文件。2.

概述(AI 翻译)

作者:帕洛阿尔托网络

  • Prisma AIRS MCP 安全中继
  • 概述
  • 先决条件
  • Prisma AIRS API 使用要求
  • 安装
  • 独立安装程序
  • 快速启动:通过 pypi.org 安装并运行
  • 标准安装
  • 安装最前沿的开发版本
  • 升级
  • 配置
  • MCP中继服务器配置
  • 配置优先级
  • 配置文件格式
  • 环境变量
  • MCP客户端配置
  • 交通选择
  • 使用情况
  • pan-mcp-relay CLI 使用
  • 运行中继服务器
  • STDIO 传输(默认)
  • 可流式HTTP传输
  • SSE传输
  • 法律

概述

pan-mcp-relay 是一种经过安全增强的模型上下文协议 (MCP)中继(Proxy)服务器,为MCP客户端提供实时的AI威胁防护,采用[Prisma AIRS AI运行时API拦截]构建。

pan-mcp-relay 将通过自动扫描和屏蔽,帮助保护 MCP 客户端(如 IDE、LLM 聊天客户端和 AI 代理)免受有害的 MCP 服务器工具的侵害 各种威胁,包括提示注入、恶意URL、不安全输出、AI代理威胁、敏感数据丢失等。

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Prisma AIRS MCP Security Relay

By Palo Alto Networks

Overview

pan-mcp-relay is a security-enhanced Model Context Protocol (MCP) Relay (Proxy) Server providing real-time AI threat protection for MCP Clients, built with the [Prisma AIRS AI Runtime API Intercept].

pan-mcp-relay will help protect MCP Clients such as IDE’s, LLM Chat Clients, and AI Agents from harmful MCP Server Tools by automatically scanning and blocking various threats, including prompt injections, malicious URLs, insecure outputs, AI agentic threats, sensitive data loss, and more.

The MCP Relay scans all MCP Server tool descriptions, tool call parameters, and tool call responses.

For licensing, onboarding, activation, and to obtain an API authentication key and profile name, refer to the [Prisma AIRS AI Runtime: API Intercept Overview] administration documentation.

Prerequisites

Follow the following Activation and Onboarding guides:

  1. Create and associate a deployment profile for Prisma AIRS AI Runtime API intercept in your Customer Support Portal.
  2. Onboard Prisma AIRS AI Runtime API intercept in Strata Cloud Manager.
在 GitHub 查看完整 README

安装

uvx pan-mcp-relay@latest
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "pan-mcp-relay": { "command": "uvx", "args": [ "pan-mcp-relay@latest" ] } } }