Pipedream · Capability

Pipedream REST API — Connect

Pipedream REST API — Connect. 2 operations. Lead operation: List connected accounts for a project. Self-contained Naftiko capability covering one Pipedream business surface.

Run with Naftiko PipedreamConnect

What You Can Do

GET
Listconnectaccounts — List connected accounts for a project
/v1/connect/{project-id}/accounts
POST
Createconnecttoken — Create a Connect token
/v1/connect/{project-id}/tokens

MCP Tools

list-connected-accounts-project

List connected accounts for a project

read-only idempotent
create-connect-token

Create a Connect token

Capability Spec

pipedream-connect.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Pipedream REST API — Connect
  description: 'Pipedream REST API — Connect. 2 operations. Lead operation: List connected accounts for a project. Self-contained
    Naftiko capability covering one Pipedream business surface.'
  tags:
  - Pipedream
  - Connect
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    PIPEDREAM_API_KEY: PIPEDREAM_API_KEY
capability:
  consumes:
  - type: http
    namespace: pipedream-connect
    baseUri: https://api.pipedream.com/v1
    description: Pipedream REST API — Connect business capability. Self-contained, no shared references.
    resources:
    - name: connect-project_id-accounts
      path: /connect/{project_id}/accounts
      operations:
      - name: listconnectaccounts
        method: GET
        description: List connected accounts for a project
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: project_id
          in: path
          type: string
          required: true
        - name: X-PD-Environment
          in: header
          type: string
          required: true
    - name: connect-project_id-tokens
      path: /connect/{project_id}/tokens
      operations:
      - name: createconnecttoken
        method: POST
        description: Create a Connect token
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: project_id
          in: path
          type: string
          required: true
        - name: X-PD-Environment
          in: header
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.PIPEDREAM_API_KEY}}'
  exposes:
  - type: rest
    namespace: pipedream-connect-rest
    port: 8080
    description: REST adapter for Pipedream REST API — Connect. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/connect/{project-id}/accounts
      name: connect-project-id-accounts
      description: REST surface for connect-project_id-accounts.
      operations:
      - method: GET
        name: listconnectaccounts
        description: List connected accounts for a project
        call: pipedream-connect.listconnectaccounts
        with:
          project_id: rest.project_id
          X-PD-Environment: rest.X-PD-Environment
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/connect/{project-id}/tokens
      name: connect-project-id-tokens
      description: REST surface for connect-project_id-tokens.
      operations:
      - method: POST
        name: createconnecttoken
        description: Create a Connect token
        call: pipedream-connect.createconnecttoken
        with:
          project_id: rest.project_id
          X-PD-Environment: rest.X-PD-Environment
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: pipedream-connect-mcp
    port: 9090
    transport: http
    description: MCP adapter for Pipedream REST API — Connect. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: list-connected-accounts-project
      description: List connected accounts for a project
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: pipedream-connect.listconnectaccounts
      with:
        project_id: tools.project_id
        X-PD-Environment: tools.X-PD-Environment
      outputParameters:
      - type: object
        mapping: $.
    - name: create-connect-token
      description: Create a Connect token
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: pipedream-connect.createconnecttoken
      with:
        project_id: tools.project_id
        X-PD-Environment: tools.X-PD-Environment
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.