References

Git Tools

MCP tools for creating repositories and managing git credentials on Ink

repo_create

Create a git repository. Use host='ink' (default) for instant private repos, or host='github' for GitHub. Pass the returned name value directly to service_create.

ParameterTypeRequiredDefaultDescription
namestringyesRepository name (e.g. myapp, not username/myapp)
workspacestringnodefaultWorkspace slug
hoststringnoinkGit host. Values: ink, github
descriptionstringnoRepository description
projectstringnodefaultProject name

Returns: name, git_remote URL, expires_at, and message.

Example: Ink managed repo

Tool Call
(
  : "my-app"
)

The agent then pushes code and deploys with service_create(repo="my-app"). The ink/my-app shortcut is also accepted when a repo name needs to be disambiguated.

repo_get_token

Get a temporary git access token for pushing code to a repository.

ParameterTypeRequiredDefaultDescription
namestringyesRepository name returned by repo_create; ink/name and workspace/name are also accepted for Ink repos
workspacestringnodefaultWorkspace slug
hoststringnoinkGit host. Values: ink, github

Returns: git_remote URL (includes token) and expires_at.

On this page