jetlag-mcp
Allows to list and run Ansible playbooks, list roles, and manage configuration variables for the jetlag project.
Click on "Install 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 installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
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/akrzos/jetlag-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server