tanium-gateway-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@tanium-gateway-mcp show me all critical CVE findings from the last 30 days"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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
sessionheader)
Installation
git clone <이 저장소 URL>
cd tanium-gateway-mcp_dev # 또는 클론한 디렉터리 이름
npm installEnvironment 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-tokenVariable | Required | Description |
| Yes | Tanium instance base URL |
| Yes | Gateway API token |
| No | Defaults to |
| No |
|
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 devTo 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 |
| All assets (OS, processor, virtualization, etc.) |
| Installed assets by vendor/product/version |
| Installed and running application sensors |
Comply
Tool | Description |
| Policy/standard violation findings |
| All CVE findings |
| Filter by severity, CISA KEV, date, etc. |
Deploy
Tool | Description |
| Package catalog |
| Deployment progress status |
| Deploy package to a group (write; may be restricted by environment) |
Discover
Tool | Description |
| Discover interface (asset) list |
| Unmanaged assets only |
| Managed/unmanaged counts by label |
Integrity Monitor
Tool | Description |
| IM deployment status |
| Monitors (scan settings) |
| Watchlists (monitored paths) |
Patch
Tool | Description |
| Patch catalog by CVE |
| Details of a specific deployment |
| Applicable patches by computer group |
Reporting
Tool | Description |
| Saved report list |
| Report result data |
Threat Response
Tool | Description |
| Endpoint threat alerts |
| 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 |
| Summary of Critical/CISA KEV CVEs in the last N days |
| Compliance Pass/Fail and violation grouping |
| 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_구축_가이드.mdBefore Uploading to GitHub
Do not commit
.env. (Already in.gitignore)If
mcp.jsonor.cursor/mcp.jsoncontains a real token, do not include it in the repository. Use placeholders only in examples.dist/andnode_modules/are not committed. They are generated bynpm installandnpm run buildafter 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 toolsget_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
Scored across 21 tools
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.
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.
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.
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
Related MCP Connectors
Query your org's data in natural language — read-only MCP access to SQL, NoSQL, files & warehouses.
Access New Relic observability data through MCP - query metrics, logs, traces, entities, and more
Official Microsoft MCP Server to query Microsoft Entra data using natural language
Query your warehouse or a CSV with Claude/ChatGPT over MCP, governed by table-level ACL + audit.
Related MCP Servers
AlicenseBqualityCmaintenanceAllows 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.1711MIT
Purple AI MCP Serverofficial
AlicenseBqualityCmaintenanceEnables 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.33104MIT- AlicenseAqualityCmaintenanceExposes Tenable security operations as MCP tools for AI-powered security workflows, enabling asset, vulnerability, scan, plugin, and tag management via natural language.17MIT
- AlicenseNot gradedqualityDmaintenanceAn 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.2MIT