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.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
name | string | yes | — | Repository name (e.g. myapp, not username/myapp) |
workspace | string | no | default | Workspace slug |
host | string | no | ink | Git host. Values: ink, github |
description | string | no | — | Repository description |
project | string | no | default | Project name |
Returns: name, git_remote URL, expires_at, and message.
Example: Ink managed repo
Tool Call
repo_create(
"name": "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.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
name | string | yes | — | Repository name returned by repo_create; ink/name and workspace/name are also accepted for Ink repos |
workspace | string | no | default | Workspace slug |
host | string | no | ink | Git host. Values: ink, github |
Returns: git_remote URL (includes token) and expires_at.