Skip to main content
Glama
do345

tanium-gateway-mcp

by do345

Tanium Gateway MCP

Tanium Gateway GraphQL APIをModel Context Protocol (MCP)サーバーとして公開するNode.jsプロジェクトです。Claude Desktop、Cursor、VS Code、Gemini CLIなどのMCPホストから、自然言語でTaniumの資産・脆弱性・パッチ・配布情報を照会できます。

機能概要

MCP機能

内容

Tools

8モジュール、約20ツール(Asset、Comply、Deploy、Discover、Integrity Monitor、Patch、Reporting、Threat Response)

Resources

FieldFilter構文、ツールカタログ、既知の制限事項(静的ドキュメント)

Prompts

週次脆弱性レポート、パッチ準拠スナップショット、資産分類レポート

サーバーはstdioトランスポートを使用します。LLMはMCPを通じてツールを呼び出し、サーバーがTanium Gateway GraphQLに代わりにリクエストします。

MCP Host (Claude / Cursor / Gemini …)
        │  MCP (stdio)
        ▼
tanium-gateway-mcp
        │  GraphQL (session 헤더)
        ▼
Tanium Gateway (`/plugin/products/gateway/graphql`)

Related MCP server: Purple AI MCP Server

要件

  • Node.js 18以上(ES2022 / ESM)

  • Tanium環境のGateway GraphQLエンドポイント

  • APIトークン(sessionヘッダーで送信)

インストール

git clone <이 저장소 URL>
cd tanium-gateway-mcp_dev   # 또는 클론한 디렉터리 이름
npm install

環境変数

プロジェクトルートに.envファイルを作成します。トークンはコミットしないでください。 .gitignore.envが含まれています。

TANIUM_BASE_URL=https://your-tanium-instance.example.com
TANIUM_GRAPHQL_PATH=/plugin/products/gateway/graphql
TANIUM_API_TOKEN=your-api-token

変数

必須

説明

TANIUM_BASE_URL

はい

TaniumインスタンスのベースURL

TANIUM_API_TOKEN

はい

Gateway APIトークン

TANIUM_GRAPHQL_PATH

いいえ

デフォルト /plugin/products/gateway/graphql

NODE_TLS_REJECT_UNAUTHORIZED

いいえ

0の場合TLS検証を無効化。開発/テスト専用

社内バージョンによっては、認証ヘッダー名がsessionでない場合があります。401が返る場合はsrc/tanium-client.tsを確認してください。

ビルドおよび実行

npm run build          # TypeScript → dist/
node dist/index.js     # stdio MCP 서버 (Host가 spawn하는 방식과 동일)

開発時にTypeScriptを直接実行する場合:

npm run dev

ツール一覧をGUIで確認する場合:

npm run inspect

@modelcontextprotocol/inspectorを使用)

MCPホスト設定例(Cursor)

~/.cursor/mcp.jsonまたはプロジェクトの.cursor/mcp.json:

{
  "mcpServers": {
    "tanium-gateway": {
      "command": "node",
      "args": ["/절대경로/tanium-gateway-mcp_dev/dist/index.js"],
      "env": {
        "TANIUM_BASE_URL": "https://your-tanium-instance.example.com",
        "TANIUM_GRAPHQL_PATH": "/plugin/products/gateway/graphql",
        "TANIUM_API_TOKEN": "your-api-token"
      }
    }
  }
}

設定後、npm run buildを一度実行し、CursorでMCPサーバーを再読み込みしてください。

Gemini CLI、VS Code Copilotなど他のホスト連携はdocs/Gemini_MCP_Host_연동_가이드.mdを参照してください。

ツール一覧

Asset

Tool

説明

get_all_assets

全資産(OS、プロセッサ、仮想化有無など)

get_asset_product_endpoints

ベンダー/製品/バージョン基準のインストール資産

get_installed_applications

インストール・実行中のアプリケーションセンサー

Comply

Tool

説明

get_compliance_findings

ポリシー/標準違反のfindings

get_cve_findings

CVE findings全体

get_filtered_cve_findings

深刻度、CISA KEV、日付などでフィルタリング

Deploy

Tool

説明

get_deploy_packages

パッケージカタログ

get_deployment_status

配布の進行状況

deploy_package_to_group

グループにパッケージを配布(書き込み、環境によって制限)

Discover

Tool

説明

get_discover_interfaces

Discoverインターフェース(資産)一覧

get_unmanaged_interfaces

未管理資産のみ

get_discover_labels

ラベル別の管理/未管理集計

Integrity Monitor

Tool

説明

get_integrity_monitor_status

IM配布状態

get_integrity_monitor_monitors

モニター(スキャン設定)

get_integrity_monitor_watchlists

ウォッチリスト(監視パス)

Patch

Tool

説明

get_patch_definitions

CVE基準のパッチカタログ

get_patch_deployment

特定の配布詳細

get_patch_applicability

コンピューターグループ別の適用可能パッチ

Reporting

Tool

説明

get_reports

保存済みレポート一覧

get_report_result_data

レポート結果データ

Threat Response

Tool

説明

get_endpoint_threat_alerts

エンドポイント脅威アラート

resolve_threat_alert

アラート解決処理(書き込み)

一覧型クエリはTanium Gateway共通のFieldFilterpath / op / value / any / filters)を使用します。構文はMCPリソースtanium://docs/field-filter-syntaxにもあります。

Prompts

Prompt

用途

weekly_vuln_report

直近N日間のCritical/CISA KEV CVEの要約

patch_compliance_snapshot

コンプライアンスのPass/Failおよび違反のグルーピング

asset_classification_report

資産分類 + Discover管理比率

プロジェクト構造

src/
  index.ts                 # MCP 서버 엔트리 (stdio)
  tanium-client.ts         # GraphQL 클라이언트
  resources.ts             # MCP Resources
  prompts.ts               # MCP Prompts
  tools/                   # 모듈별 Tool
    asset.ts
    comply.ts
    deploy.ts
    discover.ts
    integrityMonitor.ts
    patch.ts
    reporting.ts
    threatResponse.ts
docs/
  Tanium_Gateway_MCP_구축_가이드.md

GitHubにアップロードする前に

  1. .envをコミットしないでください。(すでに.gitignoreに含まれています)

  2. mcp.json.cursor/mcp.jsonに実際のトークンが含まれている場合はリポジトリに置かないでください。 例ではプレースホルダーのみを使用してください。

  3. dist/node_modules/はコミットしません。クローン後にnpm installおよびnpm run buildで生成します。

既知の制限

次の領域は現在のツールでは照会しません。詳細はリソースtanium://docs/known-limitationsを参照してください。

  • 資産ライフサイクル・EOL予定日、カスタム重要度グレード

  • パッチSLA、承認ワークフロー、自動ロールバック

  • Self Service Portal、MDM、Disk Encryptionなど別モジュール全体

ライセンス

このリポジトリにライセンスファイルがない場合は、アップロード時に利用条件を明記することを推奨します。

Install Server
F
license - not found
A
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    B
    quality
    D
    maintenance
    Allows developers to query security findings (SAST issues, secrets, patches) using natural language within AI-assisted tools like Claude Desktop, Cursor, and other MCP-compatible environments.
    17
    9
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Enables MCP clients to interact with SentinelOne's cybersecurity platform for security analysis, threat investigation, and asset management through natural language queries. Provides read-only access to alerts, vulnerabilities, misconfigurations, and inventory data.
    33
    90
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Exposes Tenable security operations as MCP tools for AI-powered security workflows, enabling asset, vulnerability, scan, plugin, and tag management via natural language.
    17
    MIT

View all related MCP servers

Related MCP Connectors

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/do345/Tanium-Gateway-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server