Back to Home
ansible icon

aap-mcp-server

Verified Safe

by ansible

Overview

A Model Context Protocol (MCP) service that provides access to Ansible Automation Platform (AAP) APIs through OpenAPI specifications.

Installation

Run Command
npm start

Environment Variables

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

Security Notes

The service allows disabling HTTPS certificate validation (`ignore-certificate-errors`) and uses permissive CORS (`origin: "*"`) by default, which can introduce security risks if deployed in production without hardening. However, these are configurable options, and `allow_write_operations` provides granular control over HTTP methods. Authentication relies on a Bearer token validated against the upstream AAP instance. Test tokens in scripts are for local development/scanning and not used in the main server logic for production.

Similar Servers

Stats

Interest Score34
Security Score7
Cost ClassLow
Avg Tokens1000
Stars3
Forks6
Last Update2025-12-05

Tags

OpenAPIAAPMCPAPI GatewayNode.jsAutomation