naftiko: 1.0.0-alpha2 info: label: Apache Tomcat Manager API — Status description: 'Apache Tomcat Manager API — Status. 1 operations. Lead operation: Get Server Status. Self-contained Naftiko capability covering one Tomcat business surface.' tags: - Tomcat - Status created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: TOMCAT_API_KEY: TOMCAT_API_KEY capability: consumes: - type: http namespace: manager-status baseUri: http://localhost:8080/manager description: Apache Tomcat Manager API — Status business capability. Self-contained, no shared references. resources: - name: status path: /status operations: - name: getserverstatus method: GET description: Get Server Status outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: XML in: query type: boolean description: Return response in XML format - name: JSON in: query type: boolean description: Return response in JSON format authentication: type: basic username: '{{env.TOMCAT_USER}}' password: '{{env.TOMCAT_PASS}}' exposes: - type: rest namespace: manager-status-rest port: 8080 description: REST adapter for Apache Tomcat Manager API — Status. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/status name: status description: REST surface for status. operations: - method: GET name: getserverstatus description: Get Server Status call: manager-status.getserverstatus with: XML: rest.XML JSON: rest.JSON outputParameters: - type: object mapping: $. - type: mcp namespace: manager-status-mcp port: 9090 transport: http description: MCP adapter for Apache Tomcat Manager API — Status. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-server-status description: Get Server Status hints: readOnly: true destructive: false idempotent: true call: manager-status.getserverstatus with: XML: tools.XML JSON: tools.JSON outputParameters: - type: object mapping: $.