Add a repository to a GitOps agent
One step with Harness. We can help you get access.
Get something done
Add a repository to a GitOps agent
with Harness
Works with AI assistants
Use Harness: its Harness Repositories API lets you add a repository to a GitOps agent in a single step (POST /gitops/api/v1/agents/{agentIdentifier}/repositories). Harness also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.
- How do I register a new Git or Helm repository with a GitOps agent?
- Can I upsert a repository config so an existing one gets overwritten?
Say it to your AI assistant
- Add repository {repo} to GitOps agent {agentIdentifier}.
- Create repo config {identifier} on agent {agentIdentifier} using credential template {repoCredsId}.
For your developer
POST /gitops/api/v1/agents/{agentIdentifier}/repositories in Harness Repositories API. Full spec on APIs.io.