Skip to main content

MCP server for tibet-pol — machine & process health monitoring with TIBET provenance

Project description

tibet-pol-mcp

MCP server for tibet-pol — machine & process health monitoring with TIBET provenance.

Run infrastructure integrity checks via JSON templates. Every step is verified, dependency-chained, and signed with TIBET tokens. Like htop meets audit trail.

Part of the TIBET ecosystem by HumoticaOS.

Install

pip install tibet-pol-mcp

Claude Code / Claude Desktop Config

{
  "mcpServers": {
    "pol": {
      "command": "tibet-pol-mcp",
      "env": {
        "TIBET_POL_TEMPLATES": "/path/to/your/templates"
      }
    }
  }
}

Available Tools

Tool Description
pol_check Run health check against a template
pol_templates List available check templates
pol_template_info Get template details and steps
pol_diff Compare two runs — track infrastructure drift
pol_report Generate HTML report from results
pol_quick_health One-shot health percentage + failed steps

How It Works

Define infrastructure checks as JSON templates:

{
  "process_id": "my_stack",
  "name": "My Infrastructure",
  "steps": [
    {
      "id": "api_health",
      "name": "API responds",
      "check": "curl -sf http://localhost:8000/health",
      "critical": true,
      "intent": "Core API must be reachable"
    },
    {
      "id": "db_connected",
      "name": "Database connection",
      "check": "pg_isready -h localhost",
      "dependencies": ["api_health"],
      "critical": true
    }
  ]
}

Then check via MCP:

pol_check("my_stack")
# → 100% health, all steps valid, TIBET token chain

pol_quick_health("my_stack")
# → {"health": "100%", "checksum": "2/2", "failed_steps": []}

Step Statuses

Status Meaning
valid Check passed
drift Was passing, now failing (state change)
broken Check failed
blocked Dependency failed, step skipped
pending Not yet checked

Template Features

  • Dependencies: Steps can depend on other steps (topological sort)
  • Critical flags: Critical failures block dependent steps
  • Remediation: on_failure commands for auto-fix
  • Intents: Document WHY each check exists
  • Success criteria: Min percentage, all-critical rules
  • Alerts: Commands on critical failure or threshold breach

Environment Variables

Variable Default Description
TIBET_POL_TEMPLATES /srv/jtel-stack/tibet-pol-processes Templates directory

Related TIBET Packages

License

MIT — HumoticaOS

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tibet_pol_mcp-0.1.0.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tibet_pol_mcp-0.1.0-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file tibet_pol_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: tibet_pol_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for tibet_pol_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5853b6b950dcb344d2826634050068ca47af4c85b4926f401455335463703e5a
MD5 38fd0559a2b46a98fa1b899a04cf3f0e
BLAKE2b-256 e4ece9afc9bd97f6d0ba710d823fc3eafc03ee7d60bb1bdb13d24a6d75efc4df

See more details on using hashes here.

File details

Details for the file tibet_pol_mcp-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: tibet_pol_mcp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for tibet_pol_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 30bcbe782aac7abf423f44979f61714d00d645d61cf5b1c97509d1427c27f683
MD5 717a2c502cfe2b098b5606eb4f6cfa03
BLAKE2b-256 e18c3dacd1c6e827b24fdabddaee1484315c7d907709d9fb1479fbf70e928688

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page