Back to Home
ansible icon

aap-mcp-server

Verified Safe

by ansible

Overview

A Model Context Protocol (MCP) service providing an OpenAPI-based interface for AI agents to interact with Ansible Automation Platform (AAP) APIs.

Installation

Run Command
npm start

Environment Variables

  • BASE_URL
  • MCP_PORT
  • SESSION_TIMEOUT
  • ANALYTICS_KEY
  • ALLOW_WRITE_OPERATIONS
  • IGNORE_CERTIFICATE_ERRORS
  • ENABLE_METRICS
  • BEARER_TOKEN_OAUTH2_AUTHENTICATION

Security Notes

The server offers an 'ignore-certificate-errors' option that disables HTTPS certificate validation (via NODE_TLS_REJECT_UNAUTHORIZED='0'). While explicitly noted for development/testing, it's a critical risk in production. The 'ALLOW_WRITE_OPERATIONS' flag controls access to potentially sensitive API methods (POST, PUT, PATCH, DELETE). The bundled mock AAP server is intentionally insecure (no token validation) and strictly for testing, with clear warnings. Telemetry generates a deterministic, anonymous user ID from the user token and a process-specific salt, which is a good practice.

Similar Servers

Stats

Interest Score35
Security Score8
Cost ClassMedium
Avg Tokens750
Stars5
Forks6
Last Update2026-01-19

Tags

AAPOpenAPIAPI GatewayNode.jsAI Agents