naftiko: 1.0.0-alpha2 info: label: Jenkins Remote Access API — Server description: 'Jenkins Remote Access API — Server. 2 operations. Lead operation: Get top-level Jenkins information (JSON). Self-contained Naftiko capability covering one Jenkins business surface.' tags: - Jenkins - Server created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: JENKINS_API_KEY: JENKINS_API_KEY capability: consumes: - type: http namespace: jenkins-server baseUri: https://{jenkinsHost} description: Jenkins Remote Access API — Server business capability. Self-contained, no shared references. resources: - name: api-json path: /api/json operations: - name: getjenkinsinfo method: GET description: Get top-level Jenkins information (JSON) outputRawFormat: json outputParameters: - name: result type: object value: $. - name: api-xml path: /api/xml operations: - name: getjenkinsinfoxml method: GET description: Get top-level Jenkins information (XML) outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: basic username: '{{env.JENKINS_USER}}' password: '{{env.JENKINS_PASS}}' exposes: - type: rest namespace: jenkins-server-rest port: 8080 description: REST adapter for Jenkins Remote Access API — Server. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/json name: api-json description: REST surface for api-json. operations: - method: GET name: getjenkinsinfo description: Get top-level Jenkins information (JSON) call: jenkins-server.getjenkinsinfo outputParameters: - type: object mapping: $. - path: /v1/api/xml name: api-xml description: REST surface for api-xml. operations: - method: GET name: getjenkinsinfoxml description: Get top-level Jenkins information (XML) call: jenkins-server.getjenkinsinfoxml outputParameters: - type: object mapping: $. - type: mcp namespace: jenkins-server-mcp port: 9090 transport: http description: MCP adapter for Jenkins Remote Access API — Server. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-top-level-jenkins-information description: Get top-level Jenkins information (JSON) hints: readOnly: true destructive: false idempotent: true call: jenkins-server.getjenkinsinfo outputParameters: - type: object mapping: $. - name: get-top-level-jenkins-information-2 description: Get top-level Jenkins information (XML) hints: readOnly: true destructive: false idempotent: true call: jenkins-server.getjenkinsinfoxml outputParameters: - type: object mapping: $.