tanium-gateway-mcp
Tanium Gateway MCP
Tanium Gateway GraphQL APIをModel Context Protocol (MCP)サーバーとして公開するNode.jsプロジェクトです。Claude Desktop、Cursor、VS Code、Gemini CLIなどのMCPホストから、自然言語でTaniumの資産・脆弱性・パッチ・配布情報を照会できます。
機能概要
MCP機能 | 内容 |
Tools | 8モジュール、約20ツール(Asset、Comply、Deploy、Discover、Integrity Monitor、Patch、Reporting、Threat Response) |
Resources | FieldFilter構文、ツールカタログ、既知の制限事項(静的ドキュメント) |
Prompts | 週次脆弱性レポート、パッチ準拠スナップショット、資産分類レポート |
サーバーはstdioトランスポートを使用します。LLMはMCPを通じてツールを呼び出し、サーバーがTanium Gateway GraphQLに代わりにリクエストします。
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
要件
Node.js 18以上(ES2022 / ESM)
Tanium環境のGateway GraphQLエンドポイント
APIトークン(
sessionヘッダーで送信)
インストール
git clone <이 저장소 URL>
cd tanium-gateway-mcp_dev # 또는 클론한 디렉터리 이름
npm install環境変数
プロジェクトルートに.envファイルを作成します。トークンはコミットしないでください。 .gitignoreに.envが含まれています。
TANIUM_BASE_URL=https://your-tanium-instance.example.com
TANIUM_GRAPHQL_PATH=/plugin/products/gateway/graphql
TANIUM_API_TOKEN=your-api-token変数 | 必須 | 説明 |
| はい | TaniumインスタンスのベースURL |
| はい | Gateway APIトークン |
| いいえ | デフォルト |
| いいえ |
|
社内バージョンによっては、認証ヘッダー名がsessionでない場合があります。401が返る場合はsrc/tanium-client.tsを確認してください。
ビルドおよび実行
npm run build # TypeScript → dist/
node dist/index.js # stdio MCP 서버 (Host가 spawn하는 방식과 동일)開発時にTypeScriptを直接実行する場合:
npm run devツール一覧をGUIで確認する場合:
npm run inspect(@modelcontextprotocol/inspectorを使用)
MCPホスト設定例(Cursor)
~/.cursor/mcp.jsonまたはプロジェクトの.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"
}
}
}
}設定後、npm run buildを一度実行し、CursorでMCPサーバーを再読み込みしてください。
Gemini CLI、VS Code Copilotなど他のホスト連携はdocs/Gemini_MCP_Host_연동_가이드.mdを参照してください。
ツール一覧
Asset
Tool | 説明 |
| 全資産(OS、プロセッサ、仮想化有無など) |
| ベンダー/製品/バージョン基準のインストール資産 |
| インストール・実行中のアプリケーションセンサー |
Comply
Tool | 説明 |
| ポリシー/標準違反のfindings |
| CVE findings全体 |
| 深刻度、CISA KEV、日付などでフィルタリング |
Deploy
Tool | 説明 |
| パッケージカタログ |
| 配布の進行状況 |
| グループにパッケージを配布(書き込み、環境によって制限) |
Discover
Tool | 説明 |
| Discoverインターフェース(資産)一覧 |
| 未管理資産のみ |
| ラベル別の管理/未管理集計 |
Integrity Monitor
Tool | 説明 |
| IM配布状態 |
| モニター(スキャン設定) |
| ウォッチリスト(監視パス) |
Patch
Tool | 説明 |
| CVE基準のパッチカタログ |
| 特定の配布詳細 |
| コンピューターグループ別の適用可能パッチ |
Reporting
Tool | 説明 |
| 保存済みレポート一覧 |
| レポート結果データ |
Threat Response
Tool | 説明 |
| エンドポイント脅威アラート |
| アラート解決処理(書き込み) |
一覧型クエリはTanium Gateway共通のFieldFilter(path / op / value / any / filters)を使用します。構文はMCPリソースtanium://docs/field-filter-syntaxにもあります。
Prompts
Prompt | 用途 |
| 直近N日間のCritical/CISA KEV CVEの要約 |
| コンプライアンスのPass/Failおよび違反のグルーピング |
| 資産分類 + Discover管理比率 |
プロジェクト構造
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_구축_가이드.mdGitHubにアップロードする前に
.envをコミットしないでください。(すでに.gitignoreに含まれています)mcp.json、.cursor/mcp.jsonに実際のトークンが含まれている場合はリポジトリに置かないでください。 例ではプレースホルダーのみを使用してください。dist/とnode_modules/はコミットしません。クローン後にnpm installおよびnpm run buildで生成します。
既知の制限
次の領域は現在のツールでは照会しません。詳細はリソースtanium://docs/known-limitationsを参照してください。
資産ライフサイクル・EOL予定日、カスタム重要度グレード
パッチSLA、承認ワークフロー、自動ロールバック
Self Service Portal、MDM、Disk Encryptionなど別モジュール全体
ライセンス
このリポジトリにライセンスファイルがない場合は、アップロード時に利用条件を明記することを推奨します。
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