tanium-gateway-mcp
Tanium Gateway MCP
Ein Node.js-Projekt, das die Tanium Gateway GraphQL API als Model Context Protocol (MCP)-Server bereitstellt. Von MCP-Hosts wie Claude Desktop, Cursor, VS Code, Gemini CLI usw. können Tanium-Asset-, Schwachstellen-, Patch- und Bereitstellungsinformationen in natürlicher Sprache abgefragt werden.
Funktionsübersicht
MCP-Funktion | Inhalt |
Tools | 8 Module, ca. 20 Tools (Asset, Comply, Deploy, Discover, Integrity Monitor, Patch, Reporting, Threat Response) |
Resources | FieldFilter-Syntax, Tool-Katalog, bekannte Einschränkungen (statische Dokumente) |
Prompts | Wöchentlicher Schwachstellenbericht, Patch-Compliance-Snapshot, Asset-Klassifizierungsbericht |
Der Server verwendet die stdio-Übertragung. Das LLM ruft Tools über MCP auf, und der Server stellt die Tanium Gateway GraphQL-Anfragen stellvertretend.
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
Voraussetzungen
Node.js 18 oder höher (ES2022 / ESM)
Gateway-GraphQL-Endpunkt in der Tanium-Umgebung
API-Token (über den
session-Header übergeben)
Installation
git clone <이 저장소 URL>
cd tanium-gateway-mcp_dev # 또는 클론한 디렉터리 이름
npm installUmgebungsvariablen
Erstellen Sie eine .env-Datei im Projektstamm. Committen Sie das Token nicht. .env ist in .gitignore enthalten.
TANIUM_BASE_URL=https://your-tanium-instance.example.com
TANIUM_GRAPHQL_PATH=/plugin/products/gateway/graphql
TANIUM_API_TOKEN=your-api-tokenVariable | Erforderlich | Beschreibung |
| Ja | Basis-URL der Tanium-Instanz |
| Ja | Gateway-API-Token |
| Nein | Standardwert |
| Nein |
|
Je nach interner Version kann der Authentifizierungs-Header anders als session heißen. Bei einem 401 prüfen Sie src/tanium-client.ts.
Build und Ausführung
npm run build # TypeScript → dist/
node dist/index.js # stdio MCP 서버 (Host가 spawn하는 방식과 동일)Um TypeScript während der Entwicklung direkt auszuführen:
npm run devUm die Tool-Liste in einer GUI anzuzeigen:
npm run inspect(mit @modelcontextprotocol/inspector)
Beispiel für die MCP-Host-Konfiguration (Cursor)
~/.cursor/mcp.json oder .cursor/mcp.json im Projekt:
{
"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"
}
}
}
}Führen Sie nach der Konfiguration einmal npm run build aus und laden Sie den MCP-Server in Cursor neu.
Für die Integration mit anderen Hosts wie Gemini CLI, VS Code Copilot usw. siehe docs/Gemini_MCP_Host_연동_가이드.md.
Tool-Liste
Asset
Tool | Beschreibung |
| Alle Assets (OS, Prozessor, Virtualisierung usw.) |
| Installierte Assets nach Anbieter/Produkt/Version |
| Sensor für installierte und laufende Anwendungen |
Comply
Tool | Beschreibung |
| Findings zu Richtlinien-/Standardverstößen |
| Alle CVE-Findings |
| Filter nach Schweregrad, CISA KEV, Datum usw. |
Deploy
Tool | Beschreibung |
| Paketkatalog |
| Bereitstellungsstatus |
| Paket an Gruppe bereitstellen (Schreibzugriff, je nach Umgebung eingeschränkt) |
Discover
Tool | Beschreibung |
| Liste der Discover-Schnittstellen (Assets) |
| Nur nicht verwaltete Assets |
| Verwaltete/nicht verwaltete Aggregation nach Label |
Integrity Monitor
Tool | Beschreibung |
| IM-Bereitstellungsstatus |
| Monitore (Scan-Einstellungen) |
| Watchlists (überwachte Pfade) |
Patch
Tool | Beschreibung |
| Patch-Katalog auf CVE-Basis |
| Details einer bestimmten Bereitstellung |
| Anwendbare Patches nach Computergruppe |
Reporting
Tool | Beschreibung |
| Liste gespeicherter Berichte |
| Ergebnisdaten von Berichten |
Threat Response
Tool | Beschreibung |
| Endpoint-Bedrohungswarnungen |
| Warnung auflösen (Schreibzugriff) |
Listenabfragen verwenden den gemeinsamen FieldFilter von Tanium Gateway (path / op / value / any / filters). Die Syntax ist auch in der MCP-Ressource tanium://docs/field-filter-syntax verfügbar.
Prompts
Prompt | Zweck |
| Zusammenfassung der Critical-/CISA-KEV-CVEs der letzten N Tage |
| Compliance Pass/Fail und Gruppierung von Verstößen |
| Asset-Klassifizierung + Discover-Verwaltungsquote |
Projektstruktur
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_구축_가이드.mdVor dem Hochladen auf GitHub
Committen Sie
.envnicht. (bereits in.gitignoreenthalten)Legen Sie
mcp.jsonbzw..cursor/mcp.jsonnicht ins Repository, wenn echte Tokens enthalten sind. Verwenden Sie in Beispielen nur Platzhalter.dist/undnode_modules/werden nicht committet. Sie werden nach dem Klonen pernpm installundnpm run builderzeugt.
Bekannte Einschränkungen
Die folgenden Bereiche werden derzeit nicht über Tools abgefragt. Details finden Sie in der Ressource tanium://docs/known-limitations.
Asset-Lebenszyklus, geplante EOL-Termine, benutzerdefinierte Kritikalitätsstufen
Patch-SLA, Genehmigungsworkflows, automatisches Rollback
Globale Einstellungen separater Module wie Self Service Portal, MDM, Disk Encryption
Lizenz
Wenn dieses Repository keine Lizenzdatei enthält, wird empfohlen, beim Hochladen die Nutzungsbedingungen anzugeben.
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