mcp

3Modules4Plugins1Dependency

Overview

Description

An Ansible collection for interacting with MCP servers. **Technology Preview**

Readme

Ansible MCP Collection

This repository contains the ansible.mcp Ansible Collection.

Ansible version compatibility

This collection has been tested against the following Ansible versions: >=2.16.0.

Plugins and modules within a collection may be tested with only specific Ansible versions. A collection may contain metadata that identifies these versions. PEP440 is the schema used to describe the versions of Ansible.

External requirements

Some modules and plugins require external libraries. Please check the requirements for each plugin or module you use in the documentation to find out which requirements are needed.

Included content

Connection plugins

NameDescription
ansible.mcp.mcpPersistent connection to an Model Context Protocol (MCP) server

Modules

NameDescription
ansible.mcp.run_toolCall a specific tool on an MCP server
ansible.mcp.server_infoRetrieve MCP server information
ansible.mcp.tools_infoRetrieve a list of supported tools from an MCP server

Using this collection

    ansible-galaxy collection install ansible.mcp

You can also include it in a requirements.yml file and install it via ansible-galaxy collection install -r requirements.yml using the format:

collections:
  - name: ansible.mcp

To upgrade the collection to the latest available version, run the following command:

ansible-galaxy collection install ansible.mcp --upgrade

You can also install a specific version of the collection, for example, if you need to downgrade when something is broken in the latest version (please report an issue in this repository). Use the following syntax where X.Y.Z can be any available version:

ansible-galaxy collection install ansible.mcp:==X.Y.Z

See Ansible Using Collections for more details.

Release notes

See the changelog.

Roadmap

More information

Licensing

GNU General Public License v3.0 or later.

See LICENSE to see the full text.

Certification

Product
2.4
2.5
2.6
DocumentationDependencies

This collection requires the following collections for use:

NameSummary
No dependencies
This collection is not being used by other collections.
View in Automation Hub
Red Hat logoLinkedInYouTubeFacebookTwitter

Platforms

Products & services

Try, buy, sell

Help

About Red Hat Ecosystem Catalog

The Red Hat Ecosystem Catalog is the official source for discovering and learning more about the Red Hat Ecosystem of both Red Hat and certified third-party products and services.

We’re the world’s leading provider of enterprise open source solutions—including Linux, cloud, container, and Kubernetes. We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2025 Red Hat