Skip to content

AI Integration with SSMLeveraging Model Context Protocol (MCP)

Connect AI agents securely to manage your infrastructure

SSM AI

Integrating AI with Your Infrastructure Management

Squirrel Servers Manager embraces the future of automation by integrating with the Model Context Protocol (MCP). This allows you to securely connect AI agents (like large language models or specialized automation tools) to your SSM instance, enabling them to interact with your managed infrastructure in a controlled manner.

How it Works

  1. Enable MCP Server: Activate the MCP endpoint in SSM settings.
  2. Generate API Key: Use your API key for your AI agent user.
  3. Configure Agent: Set up your agent to communicate with the SSM MCP endpoint using the API key for authentication.
  4. Define Permissions: Specify exactly which Ansible playbooks the agent is allowed to execute via the SSM settings.
  5. Interact: The agent can now make MCP requests to query information (e.g., list devices, check container status) or invoke allowed tools (e.g., run an approved playbook).

Key Capabilities via MCP

🚀
Execute Allowed Playbooks: Trigger pre-approved Ansible playbooks (executePlaybook).
⏱️
Check Playbook Status: Monitor the progress of running playbooks (getPlaybookStatus).
🖥️
List Devices: Get a list of managed devices (devices://).
🔍
Query Containers: Find container details (findAllContainers, findContainerById).
▶️
Manage Containers: Perform basic actions like start/stop on containers (containerAction).

Security First

MCP integration is powerful, but security is paramount. Always restrict agent permissions by carefully selecting allowed playbooks in the MCP Settings. Never allow all playbooks unless you fully understand the implications. Treat API keys as sensitive credentials.

Made with love