Skip to content

MCP Tools Reference

This document provides a technical reference for the tools available through the Txlog MCP server.

Requirements

  • Txlog Server: Version 1.19.0 or higher

Starting the Server

ModeCommand
Stdio (Claude Desktop)txlog mcp serve
SSE (Web clients)txlog mcp serve --transport sse --port 3000
Custom configtxlog mcp serve --config /path/to/txlog.yaml

Available Tools

list_assets

List datacenter servers with optional OS/version filters.

Arguments:

NameTypeRequiredDescription
osstringNoFilter by operating system (e.g., "AlmaLinux")
versionstringNoFilter by OS version (e.g., "9.4")

Example Query: "List all servers running AlmaLinux 9"


get_asset_details

Get detailed information about a specific server.

Arguments:

NameTypeRequiredDescription
hostnamestringNo*Server hostname
machine_idstringNo*Server machine ID

*At least one of hostname or machine_id is required.

Example Query: "Show me details for server webserver01"


list_transactions

Get package transaction history for a specific server.

Arguments:

NameTypeRequiredDescription
hostnamestringNo*Server hostname
machine_idstringNo*Server machine ID
limitintegerNoMaximum transactions to return

*At least one of hostname or machine_id is required.

Example Query: "Show me the last 10 transactions on dbserver01"


get_transaction_details

Get package changes in a specific transaction.

Arguments:

NameTypeRequiredDescription
transaction_idstringYesTransaction ID

Example Query: "What packages were changed in transaction abc123?"


get_restart_required

List servers that need to be restarted after package updates.

Arguments: None

Example Query: "Which servers need to be restarted?"


search_package

Find servers with a specific package installed.

Arguments:

NameTypeRequiredDescription
packagestringYesPackage name to search
versionstringNoSpecific version to match

Example Query: "Which servers have openssl installed?"


generate_executive_report

Generate a monthly management report with update statistics, CVE analysis, and impact patterns.

Arguments:

NameTypeRequiredDescription
monthintegerYesMonth (1-12)
yearintegerYesYear (e.g., 2024)

Example Query: "Generate an executive report for December 2024"

Available Prompts

PromptDescriptionRequired Arguments
infrastructure_reportComplete infrastructure overviewNone
security_auditSecurity-focused package analysispackage (optional)
troubleshoot_assetDebug guide for a specific serverhostname
compliance_checkInfrastructure compliance verificationNone
executive_reportMonthly management reportmonth, year