Skip to main content
Glama
tanium-gateway-mcp

tanium-gateway-mcp

by do345

Tanium Gateway MCP

A Node.js project that exposes the Tanium Gateway GraphQL API as a Model Context Protocol (MCP) server. MCP hosts such as Claude Desktop, Cursor, VS Code, and Gemini CLI can query Tanium asset, vulnerability, patch, and deployment information in natural language.

Feature Overview

MCP Feature

Description

Tools

8 modules, about 20 tools (Asset, Comply, Deploy, Discover, Integrity Monitor, Patch, Reporting, Threat Response)

Resources

FieldFilter syntax, tool catalog, known limitations (static documentation)

Prompts

Weekly vulnerability report, patch compliance snapshot, asset classification report

The server uses stdio transport. The LLM calls tools through MCP, and the server makes the Tanium Gateway GraphQL request on its behalf.

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

Requirements

  • Node.js 18 or later (ES2022 / ESM)

  • Gateway GraphQL endpoint in your Tanium environment

  • API token (passed via the session header)

Installation

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

Environment Variables

Create a .env file in the project root. Do not commit your token. .env is included in .gitignore.

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

Variable

Required

Description

TANIUM_BASE_URL

Yes

Tanium instance base URL

TANIUM_API_TOKEN

Yes

Gateway API token

TANIUM_GRAPHQL_PATH

No

Defaults to /plugin/products/gateway/graphql

NODE_TLS_REJECT_UNAUTHORIZED

No

0 disables TLS verification. Development/test only

Depending on your on-premises version, the authentication header name may not be session. If you get a 401, check src/tanium-client.ts.

Build and Run

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

To run TypeScript directly during development:

npm run dev

To view the tool list in a GUI:

npm run inspect

(uses @modelcontextprotocol/inspector)

MCP Host Configuration Example (Cursor)

~/.cursor/mcp.json or project .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"
      }
    }
  }
}

After configuring, run npm run build once, then reload the MCP server in Cursor.

For integration with other hosts such as Gemini CLI and VS Code Copilot, see docs/Gemini_MCP_Host_연동_가이드.md.

Tool List

Asset

Tool

Description

get_all_assets

All assets (OS, processor, virtualization, etc.)

get_asset_product_endpoints

Installed assets by vendor/product/version

get_installed_applications

Installed and running application sensors

Comply

Tool

Description

get_compliance_findings

Policy/standard violation findings

get_cve_findings

All CVE findings

get_filtered_cve_findings

Filter by severity, CISA KEV, date, etc.

Deploy

Tool

Description

get_deploy_packages

Package catalog

get_deployment_status

Deployment progress status

deploy_package_to_group

Deploy package to a group (write; may be restricted by environment)

Discover

Tool

Description

get_discover_interfaces

Discover interface (asset) list

get_unmanaged_interfaces

Unmanaged assets only

get_discover_labels

Managed/unmanaged counts by label

Integrity Monitor

Tool

Description

get_integrity_monitor_status

IM deployment status

get_integrity_monitor_monitors

Monitors (scan settings)

get_integrity_monitor_watchlists

Watchlists (monitored paths)

Patch

Tool

Description

get_patch_definitions

Patch catalog by CVE

get_patch_deployment

Details of a specific deployment

get_patch_applicability

Applicable patches by computer group

Reporting

Tool

Description

get_reports

Saved report list

get_report_result_data

Report result data

Threat Response

Tool

Description

get_endpoint_threat_alerts

Endpoint threat alerts

resolve_threat_alert

Resolve an alert (write)

List-type queries use the Tanium Gateway common FieldFilter (path / op / value / any / filters). The syntax is also available in the MCP Resource tanium://docs/field-filter-syntax.

Prompts

Prompt

Purpose

weekly_vuln_report

Summary of Critical/CISA KEV CVEs in the last N days

patch_compliance_snapshot

Compliance Pass/Fail and violation grouping

asset_classification_report

Asset classification + Discover managed ratio

Project Structure

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

Before Uploading to GitHub

  1. Do not commit .env. (Already in .gitignore)

  2. If mcp.json or .cursor/mcp.json contains a real token, do not include it in the repository. Use placeholders only in examples.

  3. dist/ and node_modules/ are not committed. They are generated by npm install and npm run build after cloning.

Known Limitations

The following areas are not currently queried by tools. See the Resource tanium://docs/known-limitations for details.

  • Asset lifecycle/EOL dates, custom importance ratings

  • Patch SLA, approval workflows, automatic rollback

  • Separate module-wide features such as Self Service Portal, MDM, and Disk Encryption

License

If this repository has no license file, it is recommended to state the terms of use when uploading.

Available Tools

21 tools
get_all_assetsC

Tanium에 등록된 전체 IT자산(엔드포인트) 목록과 상세 정보(OS, 프로세서, 가상화 여부, 도메인 등)를 조회합니다. (업무요건: IT자산 식별·관리)

Inputs: first.

get_asset_product_endpointsB

특정 소프트웨어 제품(벤더/제품명/버전)이 설치된 자산 목록을 Asset 솔루션 기준으로 조회합니다. (업무요건: 오픈소스/설치 SW 관리)

Inputs: name, first, vendor, version.

get_compliance_findingsB

엔드포인트의 보안 정책/표준(Compliance) 위반 findings를 조회합니다 (카테고리, 표준, 규칙, 상태 포함). (업무요건: 패치 준수율/컴플라이언스)

Inputs: first.

get_cve_findingsC

엔드포인트의 CVE 취약점 findings를 조회합니다 (CVSS v3 점수/심각도, CISA KEV 포함 여부 포함). (업무요건: 오픈소스 취약점, 자산-취약점 연계)

Inputs: first.

get_deployment_statusA

소프트웨어 배포(deployment)의 진행 상태를 조회합니다 (완료/실패/대기/다운로드중 건수). ID 미지정 시 전체 배포 상태를 반환합니다. (업무요건: 패치 배포 성공률)

Inputs: id.

get_deploy_packagesA

Deploy 솔루션에 등록된 소프트웨어 패키지 카탈로그를 조회합니다 (제품명/벤더/버전/적용 가능 대수 포함). (업무요건: 패치/SW 배포 현황)

Inputs: no named parameters.

get_discover_interfacesA

Discover 네트워크 스캔으로 발견된 인터페이스(자산) 목록을 조회합니다. isManaged 값으로 Tanium 관리 여부를 확인할 수 있습니다. (업무요건: 전산화 수준, Tanium 관리 비율)

Inputs: first.

get_discover_labelsA

Discover 레이블(태그)별 관리(managed)/미관리(unmanaged) 자산 수 집계를 조회합니다. Tanium 관리 비율 대시보드를 만들 때 유용합니다. (업무요건: 전산화 수준)

Inputs: first.

get_endpoint_threat_alertsA

특정 엔드포인트의 Threat Response 알림(성능/이상 탐지 alert)을 조회합니다. 내부적으로 Direct Connect 연결을 연 뒤 최근 24시간 alert를 가져옵니다. (업무요건: 제로데이/이상탐지 이력)

Inputs: endpointId (required).

get_filtered_cve_findingsA

특정 조건(cveYear, severity, isCisaKev, firstFound 등)으로 필터링한 CVE 취약점 findings를 조회합니다. filter 파라미터는 Tanium Gateway의 FieldFilter 형식을 그대로 사용합니다. (업무요건: Critical 취약점, CISA KEV, 최근 N일 신규 CVE)

Inputs: filter (required), first.

get_installed_applicationsA

각 엔드포인트에 설치된 애플리케이션 및 실행 중인 애플리케이션 목록을 조회합니다 (오픈소스 컴포넌트 파악에 활용). (업무요건: 오픈소스 관리)

Inputs: no named parameters.

get_integrity_monitor_monitorsB

Integrity Monitor 모니터(엔드포인트별 스캔 설정, 우선순위, 대상 컴퓨터 그룹) 목록을 조회합니다. (업무요건: 무결성 모니터링 정책 현황)

Inputs: first.

get_integrity_monitor_statusB

Integrity Monitor의 모니터/워치리스트 배포가 현재 진행 중인지 상태를 조회합니다. (업무요건: 무결성 모니터링 운영 현황)

Inputs: no named parameters.

get_integrity_monitor_watchlistsA

Integrity Monitor 워치리스트(감시 대상 파일/디렉터리/레지스트리 경로) 목록을 조회합니다. (업무요건: 무결성 변경 감시 대상 현황)

Inputs: first.

get_patch_applicabilityB

지정한 컴퓨터 그룹에 적용 가능한 패치 목록을 센서 기반으로 조회합니다. (업무요건: 패치 적용 대상 파악)

Inputs: computerGroup (required).

get_patch_definitionsC

CVE ID 등의 조건으로 Patch 정의(패치 카탈로그)를 검색합니다 (심각도, 릴리즈일, 슈퍼시드 여부 포함). (업무요건: EOL/패치 대응)

Inputs: cveId, first.

get_patch_deploymentB

특정 ID의 Patch 배포(deployment) 상세 정보(대상 그룹, 일정, 상태, 재시작 여부 등)를 조회합니다. (업무요건: 패치 배포 현황)

Inputs: id (required).

get_report_result_dataB

특정 보고서(Report) ID의 실제 결과 데이터(행/열 값)를 조회합니다. (업무요건: 보고서 데이터 추출 및 자동화)

Inputs: id (required), first.

get_reportsC

Tanium Reporting 솔루션에 저장된 보고서(Report) 목록을 조회합니다 (이름, 모듈, 작성자, 라벨, 수정일 포함). (업무요건: 정기 보고/대시보드 현황 파악)

Inputs: text, first, moduleName.

get_unmanaged_interfacesA

Tanium 에이전트가 설치되지 않은 미관리(Unmanaged) 자산 목록만 조회합니다. (업무요건: 미관리 자산 목록)

Inputs: first.

resolve_threat_alertA

특정 Threat Response 알림(GUID)을 해결됨(Resolved) 상태로 변경합니다. ⚠️ 상태를 되돌릴 수 없으니 사용자 확인 후 호출하세요. (업무요건: 위협 대응 처리)

Inputs: guid (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 21 tools

    Disambiguation5/5

    Each tool targets a distinct Tanium module and resource (assets, CVEs, patches, discovery, integrity, reporting, threat alerts). Even similar tools like get_cve_findings and get_filtered_cve_findings are clearly differentiated by the filtering purpose. No two tools have overlapping responsibilities.

    Naming Consistency4/5

    Almost all tools follow the consistent 'get_' + noun phrase pattern (e.g., get_all_assets, get_cve_findings). The single exception is resolve_threat_alert, which uses an action verb instead of 'get'. This minor deviation is acceptable but prevents a perfect score.

    Tool Count4/5

    With 21 tools, the server covers a broad range of Tanium functionality (asset, compliance, CVE, patch, discovery, integrity, reporting, threat). This is on the higher end of what's reasonable, but each tool maps to a specific business need and no redundant tools exist, so the count is appropriate for the scope.

    Completeness4/5

    The tool surface covers all major query capabilities for the described business requirements (asset identification, CVE findings, patch applicability, reporting). While it lacks create/update/delete actions for most resources, the server appears intended primarily for read-oriented operations, and the one action (resolve_threat_alert) is included. Minor gaps exist, such as no filtered asset listing or deployment creation, but core workflows are covered.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      C
      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
      11
      MIT
    • A
      license
      B
      quality
      C
      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
      104
      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
    • A
      license
      Not graded
      quality
      D
      maintenance
      An MCP server for Tenable Vulnerability Management and the Tenable One platform, enabling LLMs to query assets, vulnerabilities, scans, exposure metrics, attack paths, and more via natural language.
      2
      MIT