naftiko: 1.0.0-alpha2 info: label: Asana Projects API — Projects description: 'Asana Projects API — Projects. 11 operations. Lead operation: Asana Get multiple projects. Self-contained Naftiko capability covering one Asana business surface.' tags: - Asana - Projects created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: ASANA_API_KEY: ASANA_API_KEY capability: consumes: - type: http namespace: projects-projects baseUri: https://app.asana.com/api/1.0 description: Asana Projects API — Projects business capability. Self-contained, no shared references. resources: - name: projects path: /projects operations: - name: getprojects method: GET description: Asana Get multiple projects outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: workspace in: query type: string - name: team in: query type: string - name: archived in: query type: boolean - name: limit in: query type: integer - name: offset in: query type: string - name: createproject method: POST description: Asana Create a project outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: projects-project_gid path: /projects/{project_gid} operations: - name: getproject method: GET description: Asana Get a project outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: project_gid in: path type: string required: true - name: updateproject method: PUT description: Asana Update a project outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: project_gid in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: true - name: deleteproject method: DELETE description: Asana Delete a project outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: project_gid in: path type: string required: true - name: projects-project_gid-duplicate path: /projects/{project_gid}/duplicate operations: - name: duplicateproject method: POST description: Asana Duplicate a project outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: project_gid in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: true - name: projects-project_gid-task_counts path: /projects/{project_gid}/task_counts operations: - name: gettaskcountsforproject method: GET description: Asana Get task count of a project outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: project_gid in: path type: string required: true - name: teams-team_gid-projects path: /teams/{team_gid}/projects operations: - name: getprojectsforteam method: GET description: Asana Get a team's projects outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: team_gid in: path type: string required: true - name: archived in: query type: boolean - name: limit in: query type: integer - name: offset in: query type: string - name: createprojectforteam method: POST description: Asana Create a project in a team outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: team_gid in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: true - name: workspaces-workspace_gid-projects path: /workspaces/{workspace_gid}/projects operations: - name: getprojectsforworkspace method: GET description: Asana Get all projects in a workspace outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: workspace_gid in: path type: string required: true - name: archived in: query type: boolean - name: limit in: query type: integer - name: offset in: query type: string - name: createprojectforworkspace method: POST description: Asana Create a project in a workspace outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: workspace_gid in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.ASANA_API_KEY}}' exposes: - type: rest namespace: projects-projects-rest port: 8080 description: REST adapter for Asana Projects 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: getprojects description: Asana Get multiple projects call: projects-projects.getprojects with: workspace: rest.workspace team: rest.team archived: rest.archived limit: rest.limit offset: rest.offset outputParameters: - type: object mapping: $. - method: POST name: createproject description: Asana Create a project call: projects-projects.createproject with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/projects/{project-gid} name: projects-project-gid description: REST surface for projects-project_gid. operations: - method: GET name: getproject description: Asana Get a project call: projects-projects.getproject with: project_gid: rest.project_gid outputParameters: - type: object mapping: $. - method: PUT name: updateproject description: Asana Update a project call: projects-projects.updateproject with: project_gid: rest.project_gid body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteproject description: Asana Delete a project call: projects-projects.deleteproject with: project_gid: rest.project_gid outputParameters: - type: object mapping: $. - path: /v1/projects/{project-gid}/duplicate name: projects-project-gid-duplicate description: REST surface for projects-project_gid-duplicate. operations: - method: POST name: duplicateproject description: Asana Duplicate a project call: projects-projects.duplicateproject with: project_gid: rest.project_gid body: rest.body outputParameters: - type: object mapping: $. - path: /v1/projects/{project-gid}/task-counts name: projects-project-gid-task-counts description: REST surface for projects-project_gid-task_counts. operations: - method: GET name: gettaskcountsforproject description: Asana Get task count of a project call: projects-projects.gettaskcountsforproject with: project_gid: rest.project_gid outputParameters: - type: object mapping: $. - path: /v1/teams/{team-gid}/projects name: teams-team-gid-projects description: REST surface for teams-team_gid-projects. operations: - method: GET name: getprojectsforteam description: Asana Get a team's projects call: projects-projects.getprojectsforteam with: team_gid: rest.team_gid archived: rest.archived limit: rest.limit offset: rest.offset outputParameters: - type: object mapping: $. - method: POST name: createprojectforteam description: Asana Create a project in a team call: projects-projects.createprojectforteam with: team_gid: rest.team_gid body: rest.body outputParameters: - type: object mapping: $. - path: /v1/workspaces/{workspace-gid}/projects name: workspaces-workspace-gid-projects description: REST surface for workspaces-workspace_gid-projects. operations: - method: GET name: getprojectsforworkspace description: Asana Get all projects in a workspace call: projects-projects.getprojectsforworkspace with: workspace_gid: rest.workspace_gid archived: rest.archived limit: rest.limit offset: rest.offset outputParameters: - type: object mapping: $. - method: POST name: createprojectforworkspace description: Asana Create a project in a workspace call: projects-projects.createprojectforworkspace with: workspace_gid: rest.workspace_gid body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: projects-projects-mcp port: 9090 transport: http description: MCP adapter for Asana Projects API — Projects. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: asana-get-multiple-projects description: Asana Get multiple projects hints: readOnly: true destructive: false idempotent: true call: projects-projects.getprojects with: workspace: tools.workspace team: tools.team archived: tools.archived limit: tools.limit offset: tools.offset outputParameters: - type: object mapping: $. - name: asana-create-project description: Asana Create a project hints: readOnly: false destructive: false idempotent: false call: projects-projects.createproject with: body: tools.body outputParameters: - type: object mapping: $. - name: asana-get-project description: Asana Get a project hints: readOnly: true destructive: false idempotent: true call: projects-projects.getproject with: project_gid: tools.project_gid outputParameters: - type: object mapping: $. - name: asana-update-project description: Asana Update a project hints: readOnly: false destructive: false idempotent: true call: projects-projects.updateproject with: project_gid: tools.project_gid body: tools.body outputParameters: - type: object mapping: $. - name: asana-delete-project description: Asana Delete a project hints: readOnly: false destructive: true idempotent: true call: projects-projects.deleteproject with: project_gid: tools.project_gid outputParameters: - type: object mapping: $. - name: asana-duplicate-project description: Asana Duplicate a project hints: readOnly: false destructive: false idempotent: false call: projects-projects.duplicateproject with: project_gid: tools.project_gid body: tools.body outputParameters: - type: object mapping: $. - name: asana-get-task-count-project description: Asana Get task count of a project hints: readOnly: true destructive: false idempotent: true call: projects-projects.gettaskcountsforproject with: project_gid: tools.project_gid outputParameters: - type: object mapping: $. - name: asana-get-team-s-projects description: Asana Get a team's projects hints: readOnly: true destructive: false idempotent: true call: projects-projects.getprojectsforteam with: team_gid: tools.team_gid archived: tools.archived limit: tools.limit offset: tools.offset outputParameters: - type: object mapping: $. - name: asana-create-project-team description: Asana Create a project in a team hints: readOnly: false destructive: false idempotent: false call: projects-projects.createprojectforteam with: team_gid: tools.team_gid body: tools.body outputParameters: - type: object mapping: $. - name: asana-get-all-projects-workspace description: Asana Get all projects in a workspace hints: readOnly: true destructive: false idempotent: true call: projects-projects.getprojectsforworkspace with: workspace_gid: tools.workspace_gid archived: tools.archived limit: tools.limit offset: tools.offset outputParameters: - type: object mapping: $. - name: asana-create-project-workspace description: Asana Create a project in a workspace hints: readOnly: false destructive: false idempotent: false call: projects-projects.createprojectforworkspace with: workspace_gid: tools.workspace_gid body: tools.body outputParameters: - type: object mapping: $.