Ansible Automation Controller API — Projects

Ansible Automation Controller API — Projects. 1 operations. Lead operation: Ansible List Projects. Self-contained Naftiko capability covering one Ansible Automation Platform business surface.

Run with Naftiko Ansible Automation PlatformProjects

What You Can Do

GET
Listprojects — Ansible List Projects
/v1/projects

MCP Tools

ansible-list-projects

Ansible List Projects

read-only idempotent

Capability Spec

ansible-controller-projects.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Ansible Automation Controller API — Projects
  description: 'Ansible Automation Controller API — Projects. 1 operations. Lead operation: Ansible List Projects. Self-contained
    Naftiko capability covering one Ansible Automation Platform business surface.'
  tags:
  - Ansible Automation Platform
  - Projects
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ANSIBLE_AUTOMATION_PLATFORM_API_KEY: ANSIBLE_AUTOMATION_PLATFORM_API_KEY
capability:
  consumes:
  - type: http
    namespace: ansible-controller-projects
    baseUri: https://controller-host/api/v2
    description: Ansible Automation Controller API — Projects business capability. Self-contained, no shared references.
    resources:
    - name: projects
      path: /projects/
      operations:
      - name: listprojects
        method: GET
        description: Ansible List Projects
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.ANSIBLE_AUTOMATION_PLATFORM_API_KEY}}'
  exposes:
  - type: rest
    namespace: ansible-controller-projects-rest
    port: 8080
    description: REST adapter for Ansible Automation Controller API — Projects. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/projects
      name: projects
      description: REST surface for projects.
      operations:
      - method: GET
        name: listprojects
        description: Ansible List Projects
        call: ansible-controller-projects.listprojects
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: ansible-controller-projects-mcp
    port: 9090
    transport: http
    description: MCP adapter for Ansible Automation Controller API — Projects. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: ansible-list-projects
      description: Ansible List Projects
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: ansible-controller-projects.listprojects
      outputParameters:
      - type: object
        mapping: $.