Netskope NPA MCP Server

by johnneerdael

Netskope NPA MCP サーバー

この MCP サーバーは、Netskope のネットワーク プライベート アクセス (NPA) API へのインターフェイスを提供し、パブリッシャー、アップグレード プロファイル、アクセス ポリシー、パブリッシャー ステアリングを管理できるようにします。

インストールオプション

オプション 1: NPX インストール (推奨)

npx @johnneerdael/netskope-npa

オプション2: 手動インストール

npm install @johnneerdael/netskope-npa

Claude/Cline での MacOS/Linux のセットアップ

{ "mcpServers": { "netskope-npa": { "command": "npx", "args": [ "-y", "@johnneerdael/netskope-npa", ] "env": { "NETSKOPE_API_TOKEN": "YOUR_API_KEY_HERE", "NETSKOPE_API_BASE": " https: //your-netskope-instance.goskope.com " } } } }

Claude/Cline での WSL セットアップ

  1. まだインストールされていない場合は、WSL をインストールします。
# Run in PowerShell as Administrator wsl --install
  1. WSL に NVM をインストールします。
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash source ~/.nvm/nvm.sh
  1. NVM を使用して Node.js をインストールします。
nvm install v23.6.1 nvm use v23.6.1
  1. Claude プロジェクトで MCP を構成します。
{ "mcpServers": { "netskope-npa": { "command": "wsl.exe", "args": [ "bash", "-c", "source ~/.nvm/nvm.sh && NETSKOPE_API_BASE=https://your-netskope-instance.goskope.com NETSKOPE_API_TOKEN=your-api-token $NVM_BIN/npx -y @johnneerdael/netskope-npa" ] } } }

注: your-wsl-usernameyour-windows-username実際のユーザー名に置き換えてください。

WSLパスの理解

  • WSL パス: /home/your-wsl-username
  • WSL にマップされた Windows パス: /mnt/c/Users/your-windows-username

環境設定

  1. .envファイルを作成します:
NETSKOPE_API_BASE=https://your-netskope-instance.goskope.com NETSKOPE_API_TOKEN=your-api-token

使用法

import { NetskopeNpaClient } from '@your-org/netskope-npa-mcp'; const client = new NetskopeNpaClient( process.env.NETSKOPE_API_BASE!, process.env.NETSKOPE_API_TOKEN! ); // List all publishers const publishers = await client.listPublishers({ fields: 'publisher_id,name,status' }); // Create a new publisher const newPublisher = await client.createPublisher({ name: 'npa_publisher_1', lbrokerconnect: false, publisher_upgrade_profiles_id: 1 });

発達

建物

npm run build

テスト

npm test

開発モードで実行

# Using NPX npx ts-node src/index.ts # Or using the built version npm run build && node dist/index.js

ライセンス

マサチューセッツ工科大学

トラブルシューティング

WSL パスの問題

パス マッピングの問題が発生した場合:

  1. WSLのインストールを確認します: wsl -l -v
  2. パスマッピングを確認する: wsl pwd
  3. NVM が適切にソースされていることを確認します: source ~/.nvm/nvm.sh

よくある問題

  1. EACCES エラー: 適切な権限で実行してください
    sudo chown -R $USER:$USER ~/.npm
  2. パスが見つかりません: WSL パスを確認してください
    ls /mnt/c/Users/your-windows-username/Scripts
  3. ノードバージョンの不一致: 正しいNVMバージョンを使用してください
    nvm use v23.6.1
-
security - not tested
-
license - not tested
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Netskope のネットワーク プライベート アクセス (NPA) API のパブリッシャー、アップグレード プロファイル、アクセス ポリシー、ステアリングを管理するためのインターフェイスを提供します。

  1. インストールオプション
    1. オプション 1: NPX インストール (推奨)
    2. オプション2: 手動インストール
  2. Claude/Cline での MacOS/Linux のセットアップ
    1. Claude/Cline での WSL セットアップ
      1. WSLパスの理解
      2. 環境設定
    2. 使用法
      1. 発達
        1. 建物
        2. テスト
        3. 開発モードで実行
      2. ライセンス
        1. トラブルシューティング
          1. WSL パスの問題
          2. よくある問題

        Related MCP Servers

        • -
          security
          F
          license
          -
          quality
          This server provides an interface with the Finnhub API, enabling users to obtain the latest market news, stock market data, basic financials, and recommendation trends for specific stocks.
          Last updated -
          Python
          • Apple
        • A
          security
          A
          license
          A
          quality
          Integrates Cline with Azure DevOps services, enabling access to work items, repositories, and pull requests through configurable MCP tools.
          Last updated -
          15
          11
          TypeScript
          MIT License
        • A
          security
          F
          license
          A
          quality
          Provides tools for managing Netskope infrastructure, policies, and steering configurations via the Model Context Protocol.
          Last updated -
          50
          0
          1
          TypeScript
          • Linux
          • Apple
        • A
          security
          A
          license
          A
          quality
          Connects Claude to Portkey's API for managing AI configurations, workspaces, analytics, and user access, providing comprehensive control over API usage and settings.
          Last updated -
          9
          TypeScript
          MIT License

        View all related MCP servers

        ID: u010q8xb0f