jetlag-mcp
Allows to list and run Ansible playbooks, list roles, and manage configuration variables for the jetlag project.
Click on "Deploy 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., "@jetlag-mcplist the available playbooks"
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.
jetlag-mcp
A Model Context Protocol Server for jetlag Jetlag MCP Server
This directory contains a Model Context Protocol (MCP) server that exposes helpers for the jetlag project:
List and run Ansible playbooks in
jetlag/ansibleList roles in
jetlag/ansible/rolesList and read docs under
jetlag/docsRead arbitrary text files inside the
jetlagrepository
Quick start
Bootstrap (creates venv and installs deps):
./bootstrap.shRun the server over stdio (typical for local MCP clients):
python server.pyRelated MCP server: MCP Ansible Server
Client configuration
Point your MCP client to run this server via stdio. Example client config snippet:
{
"mcpServers": {
"jetlag-mcp": {
"command": "python",
"args": [
"/absolute/path/to/your/checkout/jetlag-mcp/server.py"
],
"env": {
"PYTHONUNBUFFERED": "1"
}
}
}
}Tools
list_playbooks()→ Returns objects withnameandpathunderjetlag/ansible.list_roles()→ Returns array of role directory names.list_docs()→ Returns markdown file paths underjetlag/docs.read_text_file(relative_path)→ Reads a UTF-8 text file withinjetlag.run_playbook(playbook_name, inventory_relpath?, limit?, tags?, extra_vars_json?, check?, timeout_seconds?)→ Executesansible-playbookfrom thejetlagrepo root, honoringansible.cfg.create_all_yml_vars_file(lab, lab_cloud, cluster_type, ocp_build, ocp_version, public_vlan?, sno_use_lab_dhcp?, ssh_private_key_file?, ssh_public_key_file?, sno_install_disk?, control_plane_install_disk?, worker_install_disk?, pull_secret_lookup?, extra_vars_json?)→ Creates/overwritesansible/vars/all.ymlwith provided values (supports SNO and MNO install disk settings). Pull secret is set using a Jinja file lookup path (default../pull_secret.txt).
Notes
The server assumes the
jetlagrepository is a sibling of this directory.Paths outside
jetlagare rejected for safety.Ensure Ansible is installed and available in
PATHto run playbooks.
This server cannot be deployed
Maintenance
Related MCP Connectors
Dispatch and track Alchemist Cloud tickets, watch deploys, read logs, and query your project DB.
Build, test, deploy, and operate Connic agents.
Manage portable AI agent playbooks, Agent Skills, MCP configurations, personas, and memory.
Provides capabilities that let LLM agents perform a range of infrastructure management tasks.
Related MCP Servers
- AlicenseCqualityFmaintenanceThis Model Context Protocol server enables AI assistants to interact directly with Ansible, allowing them to execute playbooks, manage inventory, check syntax, and perform other Ansible operations.1826MIT
- FlicenseNot gradedqualityFmaintenanceEnables comprehensive Ansible automation management through natural language, including playbook creation and execution, inventory management, role scaffolding, and project workflows. Supports both local inventories and full project lifecycle management with syntax validation and idempotency testing.30-
- FlicenseCqualityDmaintenanceEnables comprehensive management of Ansible Automation Platform Controller and Gateway through 17 specialized tools covering job execution, inventory management, workflows, credentials, user administration, and system monitoring.18-
- FlicenseNot gradedqualityDmaintenanceEnables LLMs to discover and launch Ansible job templates on Ansible Automation Platform, monitor job status, and retrieve outputs.4-