NuGet · Capability

NuGet Search API — Search

NuGet Search API — Search. 1 operations. Lead operation: Search for packages. Self-contained Naftiko capability covering one Nuget business surface.

Run with Naftiko NugetSearch

What You Can Do

GET
Searchpackages — Search for packages
/v1/query

MCP Tools

search-packages

Search for packages

read-only idempotent

Capability Spec

search-search.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: NuGet Search API — Search
  description: 'NuGet Search API — Search. 1 operations. Lead operation: Search for packages. Self-contained Naftiko capability
    covering one Nuget business surface.'
  tags:
  - Nuget
  - Search
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    NUGET_API_KEY: NUGET_API_KEY
capability:
  consumes:
  - type: http
    namespace: search-search
    baseUri: https://azuresearch-usnc.nuget.org
    description: NuGet Search API — Search business capability. Self-contained, no shared references.
    resources:
    - name: query
      path: /query
      operations:
      - name: searchpackages
        method: GET
        description: Search for packages
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
  exposes:
  - type: rest
    namespace: search-search-rest
    port: 8080
    description: REST adapter for NuGet Search API — Search. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/query
      name: query
      description: REST surface for query.
      operations:
      - method: GET
        name: searchpackages
        description: Search for packages
        call: search-search.searchpackages
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: search-search-mcp
    port: 9090
    transport: http
    description: MCP adapter for NuGet Search API — Search. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: search-packages
      description: Search for packages
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: search-search.searchpackages
      outputParameters:
      - type: object
        mapping: $.