> ## Documentation Index
> Fetch the complete documentation index at: https://smithery.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Transfer a server

> Move a server to another namespace. The caller must have server write access to both the source namespace and the destination namespace.



## OpenAPI

````yaml https://app.stainless.com/api/spec/documented/smithery/openapi.documented.yml post /servers/{qualifiedName}/transfer
openapi: 3.1.0
info:
  title: Smithery Platform API
  description: >-
    API for the Smithery platform — discover, deploy, and manage MCP (Model
    Context Protocol) servers. Provides endpoints for browsing the server
    registry, managing deployments, creating scoped access tokens, and
    connecting to MCP servers.
  version: 1.0.0
servers:
  - url: https://api.smithery.ai
security:
  - bearerAuth: []
tags:
  - name: servers
    description: >-
      Browse the MCP server registry, manage server configuration, and handle
      deployments
  - name: skills
    description: Discover and search reusable prompt-based skills for MCP servers
  - name: tools
    description: Search for MCP tools across all registered servers
paths:
  /servers/{qualifiedName}/transfer:
    post:
      tags:
        - servers
      summary: Transfer a server
      description: >-
        Move a server to another namespace. The caller must have server write
        access to both the source namespace and the destination namespace.
      operationId: postServers:namespaceTransfer
      parameters:
        - schema:
            type: string
          in: path
          name: qualifiedName
          required: true
          description: >-
            The server's qualified name (e.g. 'namespace/server' or 'namespace'
            for namespace-only servers). Use %2F to encode the slash.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TransferServerRequest'
      responses:
        '200':
          description: Server transferred
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TransferServerResponse'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RegistryError'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RegistryError'
        '404':
          description: Server or destination namespace not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RegistryError'
        '409':
          description: Destination conflict
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RegistryError'
      x-codeSamples:
        - lang: JavaScript
          source: |-
            import Smithery from '@smithery/api';

            const client = new Smithery({
              apiKey: process.env['SMITHERY_API_KEY'], // This is the default and can be omitted
            });

            const response = await client.servers.transfer('qualifiedName', {
              targetNamespace: 'my-team',
              targetOrganizationId: 'org_01H1234567890',
            });

            console.log(response.namespace);
components:
  schemas:
    TransferServerRequest:
      type: object
      properties:
        targetOrganizationId:
          type: string
          minLength: 1
          example: org_01H1234567890
        targetNamespace:
          type: string
          minLength: 1
          example: my-team
        targetSlug:
          example: weather
          type: string
      required:
        - targetOrganizationId
        - targetNamespace
      additionalProperties: false
    TransferServerResponse:
      type: object
      properties:
        success:
          type: boolean
        namespace:
          type: string
        server:
          type: string
        qualifiedName:
          type: string
          example: my-team/weather
      required:
        - success
        - namespace
        - server
        - qualifiedName
      additionalProperties: false
    RegistryError:
      type: object
      properties:
        error:
          type: string
          example: Server not found
      required:
        - error
      additionalProperties: false
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Smithery API key as Bearer token

````