JetBrains · Capability

JetBrains TeamCity REST API — Server

JetBrains TeamCity REST API — Server. 2 operations. Lead operation: JetBrains Get Server Info. Self-contained Naftiko capability covering one Jetbrains business surface.

Run with Naftiko JetbrainsServer

What You Can Do

GET
Getserverinfo — JetBrains Get Server Info
/v1/server
GET
Getswaggerspec — JetBrains Get Swagger Spec
/v1/swagger-json

MCP Tools

jetbrains-get-server-info

JetBrains Get Server Info

read-only idempotent
jetbrains-get-swagger-spec

JetBrains Get Swagger Spec

read-only idempotent

Capability Spec

teamcity-server.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: JetBrains TeamCity REST API — Server
  description: 'JetBrains TeamCity REST API — Server. 2 operations. Lead operation: JetBrains Get Server Info. Self-contained
    Naftiko capability covering one Jetbrains business surface.'
  tags:
  - Jetbrains
  - Server
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    JETBRAINS_API_KEY: JETBRAINS_API_KEY
capability:
  consumes:
  - type: http
    namespace: teamcity-server
    baseUri: https://{server}/app/rest
    description: JetBrains TeamCity REST API — Server business capability. Self-contained, no shared references.
    resources:
    - name: server
      path: /server
      operations:
      - name: getserverinfo
        method: GET
        description: JetBrains Get Server Info
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: swagger.json
      path: /swagger.json
      operations:
      - name: getswaggerspec
        method: GET
        description: JetBrains Get Swagger Spec
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.JETBRAINS_API_KEY}}'
  exposes:
  - type: rest
    namespace: teamcity-server-rest
    port: 8080
    description: REST adapter for JetBrains TeamCity REST API — Server. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/server
      name: server
      description: REST surface for server.
      operations:
      - method: GET
        name: getserverinfo
        description: JetBrains Get Server Info
        call: teamcity-server.getserverinfo
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/swagger-json
      name: swagger-json
      description: REST surface for swagger.json.
      operations:
      - method: GET
        name: getswaggerspec
        description: JetBrains Get Swagger Spec
        call: teamcity-server.getswaggerspec
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: teamcity-server-mcp
    port: 9090
    transport: http
    description: MCP adapter for JetBrains TeamCity REST API — Server. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: jetbrains-get-server-info
      description: JetBrains Get Server Info
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: teamcity-server.getserverinfo
      outputParameters:
      - type: object
        mapping: $.
    - name: jetbrains-get-swagger-spec
      description: JetBrains Get Swagger Spec
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: teamcity-server.getswaggerspec
      outputParameters:
      - type: object
        mapping: $.