SourceForge · Capability

SourceForge Allura API — Wikis

SourceForge Allura API — Wikis. 3 operations. Lead operation: List Wiki Pages. Self-contained Naftiko capability covering one Sourceforge business surface.

Run with Naftiko SourceforgeWikis

What You Can Do

GET
Listwikipages — List Wiki Pages
/v1/p/{project}/{wiki}
GET
Getwikipage — Get Wiki Page
/v1/p/{project}/{wiki}/{title}
POST
Createorupdatewikipage — Create Or Update Wiki Page
/v1/p/{project}/{wiki}/{title}

MCP Tools

list-wiki-pages

List Wiki Pages

read-only idempotent
get-wiki-page

Get Wiki Page

read-only idempotent
create-update-wiki-page

Create Or Update Wiki Page

Capability Spec

allura-wikis.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: SourceForge Allura API — Wikis
  description: 'SourceForge Allura API — Wikis. 3 operations. Lead operation: List Wiki Pages. Self-contained Naftiko capability
    covering one Sourceforge business surface.'
  tags:
  - Sourceforge
  - Wikis
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SOURCEFORGE_API_KEY: SOURCEFORGE_API_KEY
capability:
  consumes:
  - type: http
    namespace: allura-wikis
    baseUri: https://sourceforge.net
    description: SourceForge Allura API — Wikis business capability. Self-contained, no shared references.
    resources:
    - name: rest-p-project-wiki
      path: /rest/p/{project}/{wiki}
      operations:
      - name: listwikipages
        method: GET
        description: List Wiki Pages
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: rest-p-project-wiki-title
      path: /rest/p/{project}/{wiki}/{title}
      operations:
      - name: getwikipage
        method: GET
        description: Get Wiki Page
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: title
          in: path
          type: string
          description: Wiki page title
          required: true
      - name: createorupdatewikipage
        method: POST
        description: Create Or Update Wiki Page
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: title
          in: path
          type: string
          description: Wiki page title
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.SOURCEFORGE_API_KEY}}'
  exposes:
  - type: rest
    namespace: allura-wikis-rest
    port: 8080
    description: REST adapter for SourceForge Allura API — Wikis. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/p/{project}/{wiki}
      name: rest-p-project-wiki
      description: REST surface for rest-p-project-wiki.
      operations:
      - method: GET
        name: listwikipages
        description: List Wiki Pages
        call: allura-wikis.listwikipages
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/p/{project}/{wiki}/{title}
      name: rest-p-project-wiki-title
      description: REST surface for rest-p-project-wiki-title.
      operations:
      - method: GET
        name: getwikipage
        description: Get Wiki Page
        call: allura-wikis.getwikipage
        with:
          title: rest.title
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createorupdatewikipage
        description: Create Or Update Wiki Page
        call: allura-wikis.createorupdatewikipage
        with:
          title: rest.title
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: allura-wikis-mcp
    port: 9090
    transport: http
    description: MCP adapter for SourceForge Allura API — Wikis. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: list-wiki-pages
      description: List Wiki Pages
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: allura-wikis.listwikipages
      outputParameters:
      - type: object
        mapping: $.
    - name: get-wiki-page
      description: Get Wiki Page
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: allura-wikis.getwikipage
      with:
        title: tools.title
      outputParameters:
      - type: object
        mapping: $.
    - name: create-update-wiki-page
      description: Create Or Update Wiki Page
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: allura-wikis.createorupdatewikipage
      with:
        title: tools.title
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.