Skip to main content

Prerequisites

Before you connect, make sure you have:
  • An Autonomy account with access to Studio.
  • At least one repository connected to Autonomy (the Autonomy GitHub App installed on it). New repos start in PENDING_INITIALIZATION - the setup step walks you through getting one to READY.
  • An MCP client - Claude Code or Claude Desktop.

The two MCP servers

You connect two MCP servers. They do different jobs and complement each other: Wiring both means your agent can read the docs and act on the platform in the same session. The fastest path is the “Connect your AI tools (MCP)” card in Studio’s User Settings. It gives a copyable Claude Code command, pointed at the hosted URL and wired to the OAuth login/consent flow.

Connect manually

On first use of the autonomy server your client opens a browser to sign in and consent (your existing Autonomy identity and project permissions apply). The docs server is read-only and needs no auth.

Run your first task

Once connected, ask your agent to drive it:
1

Pick a project

Call list_projects and choose a project_id + workspace_id. If a just-connected repo isn’t READY, call initialize_project and poll list_projects until it is.
2

Start the task

start_task(project_id, workspace_id, instruction) returns a task_id immediately - the work runs in the background.
3

Watch it

Poll get_task(project_id, task_id) until the status is terminal or it needs input. Read the agent’s work with get_task_messages and the code changes with get_task_pr_diff.
4

Ship it

When you’ve approved the changes, complete_task opens or updates the pull request for your developers.
If you’re unsure how to drive a flow, the product MCP ships built-in guides: call load_autonomy_skill (names: setup, full-mode, tasks, troubleshooting) or use the /autonomy-getting-started prompt.

A full example, start to finish

Here’s a complete run - from a plain-English ask to an open pull request. You talk to your agent in natural language; under the hood it makes these calls:
With the skill installed, your agent runs this sequence correctly on its own - including waiting for your approval before complete_task.

Next steps

Projects & workspaces

Run a coding task

Full Mode

Troubleshooting