Basecamp · Capability

Basecamp API — Campfires

Basecamp API — Campfires. 6 operations. Lead operation: List campfires. Self-contained Naftiko capability covering one Basecamp business surface.

Run with Naftiko BasecampCampfires

What You Can Do

GET
Listcampfires — List campfires
/v1/chats-json
GET
Getcampfire — Get a campfire
/v1/chats/campfireid-json
GET
Listcampfirelines — List campfire lines
/v1/chats/{campfireid}/lines-json
POST
Createcampfireline — Create a campfire line
/v1/chats/{campfireid}/lines-json
GET
Getcampfireline — Get a campfire line
/v1/chats/{campfireid}/lines/lineid-json
DELETE
Deletecampfireline — Delete a campfire line
/v1/chats/{campfireid}/lines/lineid-json

MCP Tools

list-campfires

List campfires

read-only idempotent
get-campfire

Get a campfire

read-only idempotent
list-campfire-lines

List campfire lines

read-only idempotent
create-campfire-line

Create a campfire line

get-campfire-line

Get a campfire line

read-only idempotent
delete-campfire-line

Delete a campfire line

idempotent

Capability Spec

basecamp-campfires.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Basecamp API — Campfires
  description: 'Basecamp API — Campfires. 6 operations. Lead operation: List campfires. Self-contained Naftiko capability
    covering one Basecamp business surface.'
  tags:
  - Basecamp
  - Campfires
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    BASECAMP_API_KEY: BASECAMP_API_KEY
capability:
  consumes:
  - type: http
    namespace: basecamp-campfires
    baseUri: https://3.basecampapi.com/{accountId}
    description: Basecamp API — Campfires business capability. Self-contained, no shared references.
    resources:
    - name: chats.json
      path: /chats.json
      operations:
      - name: listcampfires
        method: GET
        description: List campfires
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: chats-campfireId}.json
      path: /chats/{campfireId}.json
      operations:
      - name: getcampfire
        method: GET
        description: Get a campfire
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: chats-campfireId-lines.json
      path: /chats/{campfireId}/lines.json
      operations:
      - name: listcampfirelines
        method: GET
        description: List campfire lines
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createcampfireline
        method: POST
        description: Create a campfire line
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: chats-campfireId-lines-lineId}.json
      path: /chats/{campfireId}/lines/{lineId}.json
      operations:
      - name: getcampfireline
        method: GET
        description: Get a campfire line
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: deletecampfireline
        method: DELETE
        description: Delete a campfire line
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.BASECAMP_API_KEY}}'
  exposes:
  - type: rest
    namespace: basecamp-campfires-rest
    port: 8080
    description: REST adapter for Basecamp API — Campfires. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/chats-json
      name: chats-json
      description: REST surface for chats.json.
      operations:
      - method: GET
        name: listcampfires
        description: List campfires
        call: basecamp-campfires.listcampfires
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/chats/campfireid-json
      name: chats-campfireid-json
      description: REST surface for chats-campfireId}.json.
      operations:
      - method: GET
        name: getcampfire
        description: Get a campfire
        call: basecamp-campfires.getcampfire
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/chats/{campfireid}/lines-json
      name: chats-campfireid-lines-json
      description: REST surface for chats-campfireId-lines.json.
      operations:
      - method: GET
        name: listcampfirelines
        description: List campfire lines
        call: basecamp-campfires.listcampfirelines
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createcampfireline
        description: Create a campfire line
        call: basecamp-campfires.createcampfireline
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/chats/{campfireid}/lines/lineid-json
      name: chats-campfireid-lines-lineid-json
      description: REST surface for chats-campfireId-lines-lineId}.json.
      operations:
      - method: GET
        name: getcampfireline
        description: Get a campfire line
        call: basecamp-campfires.getcampfireline
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletecampfireline
        description: Delete a campfire line
        call: basecamp-campfires.deletecampfireline
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: basecamp-campfires-mcp
    port: 9090
    transport: http
    description: MCP adapter for Basecamp API — Campfires. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: list-campfires
      description: List campfires
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: basecamp-campfires.listcampfires
      outputParameters:
      - type: object
        mapping: $.
    - name: get-campfire
      description: Get a campfire
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: basecamp-campfires.getcampfire
      outputParameters:
      - type: object
        mapping: $.
    - name: list-campfire-lines
      description: List campfire lines
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: basecamp-campfires.listcampfirelines
      outputParameters:
      - type: object
        mapping: $.
    - name: create-campfire-line
      description: Create a campfire line
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: basecamp-campfires.createcampfireline
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-campfire-line
      description: Get a campfire line
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: basecamp-campfires.getcampfireline
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-campfire-line
      description: Delete a campfire line
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: basecamp-campfires.deletecampfireline
      outputParameters:
      - type: object
        mapping: $.