---
title: "Get repository connection"
method: GET
path: "/servers/{qualifiedName}/repo"
tags: ["servers"]
---

# Get repository connection

`GET /servers/{qualifiedName}/repo`

Get the connected GitHub repository, if one exists.

## Path parameters

- `qualifiedName` string, required

## Response `200`

Repository connection found

- object
  - `repoOwner` string, required
  - `repoName` string, required
  - `baseDirectory` string, required
  - `branch` string, nullable, required
  - `autoDeploy` boolean, nullable, required
  - `isPrivate` boolean, required
  - `type` 'github', required

## Other responses

- `403` — Forbidden
- `404` — Server not found or no repository connection

## Changes

- **2026-01-25** `55f4a37b970f` — 1 breaking
  - api path removed without deprecation
- **2026-01-25** `ea538dc2369a` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/smithery-ai/apis/smithery-platform-api/changes/servers/:qualifiedName/repo/get.md)

---

[API](https://skmtc.dev/smithery-ai/apis/smithery-platform-api.md) · [All operations](https://skmtc.dev/smithery-ai/apis/smithery-platform-api/llms.txt) · [OpenAPI document](https://skmtc.dev/smithery-ai/apis/smithery-platform-api/revisions/3f57836881dd?raw)
