naftiko: 1.0.0-alpha2 info: label: SharePoint REST API — Site description: 'SharePoint REST API — Site. 1 operations. Lead operation: Get site collection. Self-contained Naftiko capability covering one Microsoft Sharepoint business surface.' tags: - Microsoft Sharepoint - Site created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MICROSOFT_SHAREPOINT_API_KEY: MICROSOFT_SHAREPOINT_API_KEY capability: consumes: - type: http namespace: microsoft-sharepoint-site baseUri: https://{tenant}.sharepoint.com/_api description: SharePoint REST API — Site business capability. Self-contained, no shared references. resources: - name: site path: /site operations: - name: getsite method: GET description: Get site collection outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.MICROSOFT_SHAREPOINT_API_KEY}}' exposes: - type: rest namespace: microsoft-sharepoint-site-rest port: 8080 description: REST adapter for SharePoint REST API — Site. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/site name: site description: REST surface for site. operations: - method: GET name: getsite description: Get site collection call: microsoft-sharepoint-site.getsite outputParameters: - type: object mapping: $. - type: mcp namespace: microsoft-sharepoint-site-mcp port: 9090 transport: http description: MCP adapter for SharePoint REST API — Site. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-site-collection description: Get site collection hints: readOnly: true destructive: false idempotent: true call: microsoft-sharepoint-site.getsite outputParameters: - type: object mapping: $.