tanium-gateway-mcp
Click on "Install 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-mcpshow 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.
Maintenance
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
AlicenseBqualityDmaintenanceAllows 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.179MIT
Purple AI MCP Serverofficial
AlicenseAqualityBmaintenanceEnables 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.3390MIT- AlicenseAqualityBmaintenanceEnables querying UniFi network devices and data using natural language through MCP clients like Claude Desktop.4531MIT
- AlicenseAqualityCmaintenanceExposes Tenable security operations as MCP tools for AI-powered security workflows, enabling asset, vulnerability, scan, plugin, and tag management via natural language.17MIT
Related MCP Connectors
Official Microsoft MCP Server to query Microsoft Entra data using natural language
Query and retrieve information about various adversarial tactics and techniques used in cyber atta…
Query metrics, targets, entities, and team data in your Steep workspace via MCP.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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