Figma · Capability

Figma Projects API — Projects

Figma Projects API — Projects. 1 operations. Lead operation: Figma Get Files in a Project. Self-contained Naftiko capability covering one Figma business surface.

Run with Naftiko FigmaProjects

What You Can Do

GET
Getprojectfiles — Figma Get Files in a Project
/v1/v1/projects/{project-id}/files

MCP Tools

figma-get-files-project

Figma Get Files in a Project

read-only idempotent

Capability Spec

projects-projects.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Figma Projects API — Projects
  description: 'Figma Projects API — Projects. 1 operations. Lead operation: Figma Get Files in a Project. 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: projects-projects
    baseUri: https://api.figma.com
    description: Figma Projects 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 Files in a Project
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.FIGMA_API_KEY}}'
  exposes:
  - type: rest
    namespace: projects-projects-rest
    port: 8080
    description: REST adapter for Figma Projects 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 Files in a Project
        call: projects-projects.getprojectfiles
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: projects-projects-mcp
    port: 9090
    transport: http
    description: MCP adapter for Figma Projects API — Projects. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: figma-get-files-project
      description: Figma Get Files in a Project
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: projects-projects.getprojectfiles
      outputParameters:
      - type: object
        mapping: $.