Skip to main content
Glama
do345

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.

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