AgentHubAgentHub

Fortinet MCP配置与安装教程 (Cursor/Claude)

MCP ServerMCP Registry官方收录

io.github.Servosity/fortinet-mcp · v0.1.10

Audit every client FortiGate for firmware, SSL-VPN exposure, admin accounts and license expiry.

建议先在本页复制安装配置,再到上游核对文档与权限。

产品介绍

Audit every client FortiGate for firmware, SSL-VPN exposure, admin accounts and license expiry. Fortinet MCP 是一个MCP Server,收录自 官方 MCP Registry。支持 stdio 传输。本页提供产品介绍、配置教程、安装命令与适用场景,支持 Trae、通义灵码、Cursor、Claude Code、VS Code 等。

适用场景

AgentHub Verified 可用性验证技术测试通过

自动化测试流水线已校验安装命令、传输协议与客户端兼容性

最近校验时间2026-11-29
安装配置格式测试有效CLI 与 mcpServers JSON 语法校验通过
协议连接与握手响应正常支持标准 JSON-RPC 2.0 规格规范
上游数据源存活来源 official-mcp-registry,可正常下载依赖
测试可用客户端Claude Code、Claude Desktop、Cursor 等
安全等级: A+ 级 · 官方认证推荐 (A+)·该工具由官方或知名生态团队维护,源码遵循标准开源许可协议,可安全接入 Cursor / Claude。
暂无自动生成的安装指引,请查看源仓库 README。

常见报错排查与运行避坑 (Troubleshooting)FAQ

针对 Fortinet MCP 在 Cursor、Claude Code 中的常见连接错误与解决办法

在 Cursor / Claude Code 中配置 Fortinet MCP 提示 connection closed 或 exit code 1?

通常由本地运行时环境缺失或命令路径未被 IDE 继承引起。排查步骤: 1. 确认已安装 Node.js 18+(支持 npx)或 Python 3.10+(支持 uvx); 2. 尝试在终端运行 which npx 或 which uvx,把配置文件中的 "command" 字段改为完整绝对路径; 3. 修改 mcp.json 后,必须完全重载或重启客户端窗口。

Fix Snippet
# 终端测试命令是否存在:
which npx
node -v
提示 spawn npx ENOENT 或 command not found?

这是因为编辑器后台进程未加载完整的终端环境变量(PATH)。解决方案:在全局安装该包(如 npm install -g 包名),或在配置文件中将 command 设置为系统的实际路径(如 Windows 下的 C:\Program Files\nodejs\npx.cmd,Mac 下的 /usr/local/bin/npx)。

提示 Missing required environment variable 或 API 认证失败?

Fortinet MCP 依赖环境变量(如 FORTINET_BASE_URL、FORTINET_API_TOKEN)。请在客户端配置文件的 "env" 对象中填入有效密钥,注意不要包含多余空格或未闭合的双引号。

Fix Snippet
// .cursor/mcp.json 或 claude_desktop_config.json
{
  "env": {
    "FORTINET_BASE_URL": "your_actual_key_here"
  }
}

免安装模拟调用 (Playground)

仿真环境

Fortinet MCP 核心接口调用仿真 · 无需配置本地环境,直接预览调用参数与返回格式

沙盒就绪 (Virtual Mock)
fn: fortinet_mcpAudit every client FortiGate for firmware, SSL-VPN exposure, admin accounts and license expiry.
请求入参 (Arguments)JSON Schema
{
  "target": "Fortinet MCP",
  "action": "execute",
  "options": {
    "mode": "standard",
    "timeoutMs": 5000
  }
}
💡Agent 在规划任务时会自动生成并传递上述入参
Agent Tool Output

点击上方「模拟运行」按钮

查看该工具在 Agent 内部的返回数据格式

测试环境:AgentHub Virtual SandboxJSON-RPC 2.0

选型与决策建议(为什么选它?)

帮助你快速判断该资源是否契合当前项目,避免盲目折腾

适合什么任务?
  • PR 自动审查
  • 生成 changelog
  • 跨仓库 Issue 检索
什么时候不建议用?
  • 替代人工安全审计
  • 在无授权仓库上操作
推荐工作流搭配:查看完整场景 →

Fortinet MCP + 对应场景 Prompt → 组成标准 Agent 自动化任务

MCP 实战教程:从安装到看见效果

按完整实例走一遍(含期望效果与对比验收)。装完本页资源后,用教程里的提示词核对是否真正生效。

打开教程 →

相关资源

常搭配使用

AI 保险顾问(中国大陆)

v2.4.67

SkillClawHub8111.6k

io.clawhub.mnetfairy/ai-insurance-advisor

中国大陆保险顾问。本 skill 仅覆盖 6 项实际实现的能力:保险需求分析(needs_analyzer.py)、产品对比(premium_calculator.py + 本地 products.json)、保费计算(premium_calculator.py)、方案设计(plan_designer.py)、保险知识问答(insurance-knowledge.md)、合规要点提示(compliance.md)。不提供核保预审、理赔代办、朋友圈/营销文案生成、培训话术、代理人展业工具等能力——这些场景请转人工或调用专业服务。

source

AI 时代职业规划师(中国)

v2.3.38

SkillClawHub7610k

io.clawhub.mnetfairy/career-planner-china

AI时代职业规划师技能。专为AI时代职场变化而设计,帮助用户应对AI带来的职业冲击与机遇。当用户询问职业规划、职业建议、选专业、职场转型、未来就业方向时触发。功能包括:收集用户基本信息、霍兰德职业兴趣测评、职业价值观分析、AI时代职业影响评估(高危/中危/低危分级),并输出完整的个性化职业规划报告。关键词:职业规划、选专业、工作建议、做什么工作好、职业转型、AI时代职业、AI替代、哪些工作会被AI取代。

source

继续逛 AgentHub

大多数人安装前还会对比同类工具或看场景方案——下面这些能帮你少走弯路。

收录徽章:把 AgentHub 挂到你的官网

复制下面任意一段代码到项目主页、官网或 GitHub README。徽章是 SVG 热链,无需上传文件,链接指向本页,访客可由此直接找到安装方式。

预览AgentHub 已收录:Fortinet MCP
HTML
<a href="https://myagenthub.cn/p/io.github.Servosity/fortinet-mcp" title="AgentHub 已收录:Fortinet MCP" target="_blank" rel="noopener">
  <img src="https://myagenthub.cn/badge/io.github.Servosity/fortinet-mcp" alt="AgentHub 已收录:Fortinet MCP" height="20" style="border:0"/>
</a>
Markdown(GitHub README)
[![AgentHub 已收录:Fortinet MCP](https://myagenthub.cn/badge/io.github.Servosity/fortinet-mcp)](https://myagenthub.cn/p/io.github.Servosity/fortinet-mcp)

徽章由 /badge/<资源ID> 动态生成,名称与收录状态变化后自动更新;请保留链接指向,它是收录来源的判定依据。

统一 Manifest

{
  "id": "io.github.Servosity/fortinet-mcp",
  "type": "mcp-server",
  "version": "0.1.10",
  "displayName": "Fortinet MCP",
  "description": "Audit every client FortiGate for firmware, SSL-VPN exposure, admin accounts and license expiry.",
  "repository": {
    "url": "https://github.com/servosity/msp-skills",
    "source": "github",
    "subfolder": "skills/fortinet"
  },
  "distribution": {
    "packages": [
      {
        "registryType": "mcpb",
        "identifier": "https://github.com/Servosity/msp-skills/releases/download/fortinet-v0.1.10/fortinet-mcp.mcpb",
        "version": "0.1.10",
        "transport": "stdio",
        "environmentVariables": [
          {
            "name": "FORTINET_BASE_URL",
            "description": "Your FortiGate's REST API root, e.g. https://203.0.113.10:8443/api/v2.",
            "isRequired": true
          },
          {
            "name": "FORTINET_API_TOKEN",
            "description": "The FortiGate REST API admin token (System > Administrators > Create New > REST API Admin). Use a read-only admin profile.",
            "isRequired": true,
            "isSecret": true
          },
          {
            "name": "FORTINET_DEVICES",
            "description": "Optional. Path to a devices.toml listing every FortiGate the fleet, audit and policies hygiene commands check, each with a token_file. Leave blank to check only the FortiGate above."
          },
          {
            "name": "FORTINET_FMG_URL",
            "description": "Optional. https://<fortimanager> for the read-only fmg commands. Leave blank if you do not use FortiManager."
          },
          {
            "name": "FORTINET_FMG_API_KEY",
            "description": "Optional. API key of a FortiManager REST API admin (FortiManager 7.2.2 or later) for the fmg commands.",
            "isSecret": true
          },
          {
            "name": "FORTINET_CLOUD_API_USER",
            "description": "Optional. FortiCloud IAM API user (with FortiGate Cloud portal permission) for the read-only cloud commands."
          },
          {
            "name": "FORTINET_CLOUD_API_PASSWORD",
            "description": "Optional. Password of the FortiCloud IAM API user. Repeated failed logins lock the FortiCloud account for 15-30 minutes.",
            "isSecret": true
          },
          {
            "name": "FORTINET_CLOUD_REGION",
            "description": "Optional. global (default), us, eu or jp: the region your FortiGates were provisioned in."
          },
          {
            "name": "FORTINET_CLOUD_ACCOUNT_ID",
            "description": "Optional. Required only when FortiCloud Organizations are enabled."
          },
          {
            "name": "FORTINET_MCP_READ_ONLY",
            "description": "Optional. Set to 1 to expose only read-only mirrored tools and refuse any non-GET execute call."
          },
          {
            "name": "FORTINET_MCP_HTTP_TOKEN",
            "description": "Required only when running the MCP server with --transport http (a remote/hosted deployment); callers must send a matching Authorization: Bearer header. Not needed for the default local stdio transport Claude Desktop uses.",
            "isSecret": true
          },
          {
            "name": "FORTINET_NO_LOCAL_DATA",
            "description": "Optional. Set to 1 to keep no local copy of API responses: reads go to the API and the response cache is off."
          },
          {
            "name": "FORTINET_USER_AGENT",
            "description": "Optional. Overrides the User-Agent the CLI sends to your FortiGates. Leave blank to use the built-in one."
          },
          {
            "name": "PRINTING_PRESS_CLIENT_PROFILE",
            "description": "Only used when the MCP server is bound to a tenant-gated client profile. This connector registers no tenant-gated source, so leave it blank.",
            "isSecret": true
          }
        ]
      }
    ],
    "remotes": []
  },
  "dependencies": [],
  "installTargets": [
    "claude-code",
    "claude-desktop",
    "cursor",
    "vscode",
    "trae",
    "cherry-studio",
    "lingma",
    "windsurf",
    "cline",
    "workbuddy"
  ],
  "keywords": [],
  "provenance": {
    "origin": "official-mcp-registry",
    "originalId": "io.github.Servosity/fortinet-mcp",
    "originalUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/io.github.Servosity%2Ffortinet-mcp/versions/latest",
    "isOfficial": true,
    "status": "active"
  }
}