References

Git Tools

MCP tools for creating repositories and managing git credentials on Ink

create_repo

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

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

Returns: repo (full name), git_remote URL, expires_at, message

Example: Ink managed repo

Tool Call
(
  : "my-app"
)

The agent then pushes code and deploys with create_service(repo="ink/my-app-a1b2").

get_git_token

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

ParameterTypeRequiredDefaultDescription
namestringyesRepository as returned by create_repo (e.g. ink/myapp or user/myapp)
workspacestringnodefaultWorkspace slug
hoststringnoinkGit host. Values: ink, github
projectstringnodefaultProject name

Returns: git_remote URL (includes token), expires_at

On this page