naftiko: 1.0.0-alpha2 info: label: Figma REST API — Projects description: 'Figma REST API — Projects. 2 operations. Lead operation: Figma Get Project Files. Self-contained Naftiko capability covering one Figma business surface.' tags: - Figma - Projects created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: FIGMA_API_KEY: FIGMA_API_KEY capability: consumes: - type: http namespace: rest-projects baseUri: https://api.figma.com description: Figma REST API — Projects business capability. Self-contained, no shared references. resources: - name: v1-projects-project_id-files path: /v1/projects/{project_id}/files operations: - name: getprojectfiles method: GET description: Figma Get Project Files outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: project_id in: path type: string description: The ID of the project to list files from. required: true - name: branch_data in: query type: boolean description: Set to true to include branch metadata. - name: v1-teams-team_id-projects path: /v1/teams/{team_id}/projects operations: - name: getteamprojects method: GET description: Figma Get Team Projects outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.FIGMA_API_KEY}}' exposes: - type: rest namespace: rest-projects-rest port: 8080 description: REST adapter for Figma REST API — Projects. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v1/projects/{project-id}/files name: v1-projects-project-id-files description: REST surface for v1-projects-project_id-files. operations: - method: GET name: getprojectfiles description: Figma Get Project Files call: rest-projects.getprojectfiles with: project_id: rest.project_id branch_data: rest.branch_data outputParameters: - type: object mapping: $. - path: /v1/v1/teams/{team-id}/projects name: v1-teams-team-id-projects description: REST surface for v1-teams-team_id-projects. operations: - method: GET name: getteamprojects description: Figma Get Team Projects call: rest-projects.getteamprojects outputParameters: - type: object mapping: $. - type: mcp namespace: rest-projects-mcp port: 9090 transport: http description: MCP adapter for Figma REST API — Projects. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: figma-get-project-files description: Figma Get Project Files hints: readOnly: true destructive: false idempotent: true call: rest-projects.getprojectfiles with: project_id: tools.project_id branch_data: tools.branch_data outputParameters: - type: object mapping: $. - name: figma-get-team-projects description: Figma Get Team Projects hints: readOnly: true destructive: false idempotent: true call: rest-projects.getteamprojects outputParameters: - type: object mapping: $.