For the complete documentation index, see llms.txt. This page is also available as Markdown.

GitHub

Browse connected GitHub accounts, repositories, branches, commits and Dockerfiles.

Browse connected GitHub accounts, repositories, branches, commits and Dockerfiles.

These are action names. In default compact mode, call the indicated group tool with {"action":"<action-name>","params":{...}}; the arguments below go inside params. In ?mode=all, call the action name directly with those arguments. browse_github and read_docs are direct tools in both modes. Expand each schema for nested fields, enum values and validation constraints. Successful results are JSON in both text content and structuredContent; failures use isError and structuredContent.error.

browse_github

Browse what the user connected through the Kinesis GitHub App, for create_app's source. kind=accounts: the connected accounts with their installationId (and a connectUrl to connect one); repos: what an installation can read; branches; commits: the newest, or one by sha; dockerfiles: the Dockerfiles and the ports the chosen one exposes; contents: a directory listing (the root when path is omitted) or a text file. No Dockerfile: read the files that say how the repository is built, write one and pass it to create_app as source.dockerfileContent.

Group: github · Behavior: Read

Compact tool: browse_github (direct call)

MCP annotations: readOnlyHint: true · destructiveHint: false · idempotentHint: true · openWorldHint: false

Permissions and REST equivalents

Operation
REST
Required scopes

vcs.github.accounts

GET /vcs/github/accounts

vcs:read

vcs.github.repos

GET /vcs/github/repos

vcs:read

vcs.github.branches

GET /vcs/github/branches

vcs:read

vcs.github.commits

GET /vcs/github/commits

vcs:read

vcs.github.dockerfiles

GET /vcs/github/dockerfiles

vcs:read

vcs.github.contents

GET /vcs/github/contents

vcs:read

Arguments

Argument
Type
Required
Description

kind

"accounts" / "repos" / "branches" / "commits" / "dockerfiles" / "contents"

Yes

What to list

installationId

integer

No

Installation id; required for every kind but accounts

repo

string

No

owner/name; required for every kind but accounts and repos

search

string

No

Case-insensitive substring of owner/name

cursor

string

No

nextCursor from the previous page; omit for the first page

branch

string

No

Branch to list; default: the repository's default branch

sha

string

No

Look up this one commit instead of listing a branch

limit

integer

No

Commits to return, 1 to 100 (default 20)

contextDir

string

No

Build context directory (default /)

dockerfilePath

string

No

Dockerfile path relative to contextDir (default Dockerfile)

path

string

No

File or directory, relative to the repository root; omit for the root

maxBytes

integer

No

Bytes of a file to return, at most 262144 (default 65536)

Complete input schema

Result

vcs.github.accounts

  • enabled (boolean): GitHub deployments are enabled on this server

  • accounts (array<object>): See the complete response schema below.

  • connectUrl (string): Dashboard page where the user connects a GitHub account

Response schema: vcs.github.accounts

**`vcs.github.repos`**

  • repos (array<object>): See the complete response schema below.

  • nextCursor (string or null): Pass as cursor to fetch the next page; null on the last page

Response schema: vcs.github.repos

Operation-specific errors: 503 github_not_configured, 404 github_installation_not_found, 404 github_repo_not_found, 502 upstream_github. vcs.github.branches

  • defaultBranch (string): See the complete response schema below.

  • branches (array<object>): See the complete response schema below.

Response schema: vcs.github.branches

Operation-specific errors: 503 github_not_configured, 404 github_installation_not_found, 404 github_repo_not_found, 502 upstream_github. vcs.github.commits

  • branch (string or null): Branch listed; null for a sha lookup

  • commits (array<object>): Newest first

Response schema: vcs.github.commits

Operation-specific errors: 503 github_not_configured, 404 github_installation_not_found, 404 github_repo_not_found, 502 upstream_github, 404 github_branch_not_found, 404 github_commit_not_found. vcs.github.dockerfiles

  • dockerfiles (array<string>): Every Dockerfile path found, up to five directories deep; empty when there is none to build from

  • resolvedPathExists (boolean): contextDir plus dockerfilePath names an existing file

  • truncated (boolean): The repository tree was too large to list completely

  • exposedPorts (array<object>): EXPOSE lines of the resolved Dockerfile

  • command (array<string> or null): CMD of the resolved Dockerfile

  • entrypoint (array<string> or null): ENTRYPOINT of the resolved Dockerfile

Response schema: vcs.github.dockerfiles

Operation-specific errors: 503 github_not_configured, 404 github_installation_not_found, 404 github_repo_not_found, 502 upstream_github, 404 github_branch_not_found. vcs.github.contents

  • branch (string): See the complete response schema below.

  • path (string): Path read; empty for the root

  • type ("dir" / "file" / "symlink" / "submodule"): See the complete response schema below.

  • entries (array<object> or null): A directory's entries, directories first, then by name; null for anything else

  • content (string or null): A text file's content (UTF-8); null for a directory, a binary file or a file over 1 MB

  • size (integer or null): A file's size in bytes; null otherwise

  • truncated (boolean): A listing stopped at GitHub's 1,000 entries, or content stops at maxBytes, or the file was over 1 MB

  • binary (boolean): The file is not text, so content is null

  • target (string or null): A symlink's target; null otherwise

Response schema: vcs.github.contents

Operation-specific errors: 503 github_not_configured, 404 github_installation_not_found, 404 github_repo_not_found, 502 upstream_github, 404 github_path_not_found, 422 github_file_too_large, 429 github_rate_limited.

Was this helpful?