aap-mcp

by jd1306

Not rated
GitHub

About

Ansible Automation Platform 2.4 management mcp

Details

Author
jd1306
Categories
Productivity

Option 2: Environment Variables (Recommended for CI/CD)

export AAP_BASE_URL="https://aap.example.com" export AAP_TOKEN="your-api-token"

A Model Context Protocol (MCP) server for Ansible Automation Platform (AAP) 2.4. Provides tools for managing jobs, templates, workflows, inventory, and infrastructure through Claude or other MCP clients.

- Node.js ≥ 18.0.0
- npm or yarn
- Access to an AAP instance

git clone <repo-url> cd aap-mcp npm install

This interactive setup guides you through:

- Choosing authentication method (API token or username/password)
- Entering credentials (with hidden password input)
- Selecting storage method (macOS Keychain, .env file, or environment variables)

Note: Interactive should be all you need to get started unless you care to follow one of the other paths

Option 2: Environment Variables (Recommended for CI/CD)

export AAP_BASE_URL="https://aap.example.com" export AAP_TOKEN="your-api-token"

Option 3: .env File (For Development Only)

AAP_BASE_URL=https://aap.example.com AAP_TOKEN=your-api-token AAP_USERNAME=admin

- AAP_BASE_URL- AAP instance URL (e.g.,https://aap.example.com)
- One of the following:

- AAP_TOKEN- API authentication token, OR
- AAP_USERNAMEandAAP_PASSWORD- Username and password authentication

- AAP_CONFIG_DIR- Configuration directory (default:~/.config/aap-mcp)
- AAP_DATA_DIR- Data directory (default:~/.data/aap-mcp)

- AAP_KEYCHAIN_SERVICE- Service name (default:aap-mcp)
- AAP_KEYCHAIN_TOKEN_ACCOUNT- Token account name (default:token)
- AAP_KEYCHAIN_BASE_URL_ACCOUNT- URL account name (default:base_url)
- AAP_KEYCHAIN_USERNAME_ACCOUNT- Username account name (default:username)
- AAP_KEYCHAIN_PASSWORD_ACCOUNT- Password account name (default:password)

- Client(src/client/): HTTP client for AAP API communication
- Tools(src/tools/): MCP tool implementations organized by domain

- system.ts- System health and metrics
- jobs.ts- Job execution and monitoring
- templates.ts- Job and workflow templates
- workflows.ts- Workflow management
- inventory.ts- Inventory and host management
- projects.ts- Project management
- infra.ts- Infrastructure tools
- Environment variables (highest priority)
- macOS Keychain (if available)
- .envfile
- Default or error (lowest priority)

- get_system_info- Retrieve AAP system information
- get_platform_metrics- Get platform capacity and job statistics

- list_jobs- List automation jobs with filtering
- get_job- Get job details
- run_job- Launch a job template
- get_job_output- Retrieve job execution logs

- list_job_templates- List available job templates
- list_workflow_templates- List workflow job templates

- list_workflow_jobs- List workflow executions
- get_workflow_job- Get workflow execution details

- list_hosts- List inventory hosts
- list_groups- List inventory groups

- list_projects- List projects
- get_project- Get project details

- list_nodes- List control and execution nodes
- get_node_details- Get node information

export AAP_BASE_URL="https://aap.example.com" export AAP_TOKEN="your-token"

"Failed to initialize config directory"

Ensure the config directory path is writable, or specify a custom path:

export AAP_CONFIG_DIR="/path/to/config" npm start
curl https://aap.example.com/api/v2/ping/

- Credentials Setup- Detailed credential management guide
-
Implementation Summary- Architecture and design decisions
-
Structure Assessment- Project structure analysis and recommendations

For issues and feature requests, please open a GitHub issue.

The 1Password MCP server creates a bridge that allows MCP clients such as Codex and Kiro to manage your 1Password Environments with secure authorization prompts.

This is the 1st, easiest, and cheapest PPT, slides, presentation AI generation MCP Server in the world.

Persistent memory for any AI assistant. Zero token cost until recall. Stores memories in local SQLite, ranks by 6-factor scoring, returns results 79% smaller than JSON. Works with Claude, ChatGPT, Grok, Cursor, Windsurf, and any MCP client.

A MCP server that enables AI assistants to interact with Anki, the spaced repetition flashcard application.

Enables LLM clients to interact with macOS applications through AppleScript. Built using the @beyondbetter/bb-mcp-server library, this server provides safe, controlled execution of predefined scripts with optional support for arbitrary script execution.

An MCP server for WordPress plugin audits

Turn your AI assistant into a digital marketing hub that creates, organizes, and analyzes links and QR Codes on demand.

Connect AI clients to Cal.com scheduling through the Model Context Protocol using the hosted server at mcp.cal.com or a local instance.

Sync Calendars, Scheduling Links, AI Executive Scheduling Assistant, Unified Calendar

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.