Chapter 6 of 19 · Understand your project
Fix what Orviqa found with your coding agent
Connect Claude Code to Orviqa over MCP with a personal API key, ask it to fix what Orviqa found, and watch each fix complete on your dashboard.
Most of what the analysis finds is repository work: README sections, a missing licence or contributing guide, GitHub topics, examples. Orviqa does not edit your repository itself. Instead it hands every finding, with the steps and rules for each, to the coding agent you already use. The agent prepares the changes in your own checkout and commits only what you approve.
There are two ways to do this.
The quick way: copy the fixes
On Repository Analysis, press Copy N fixes for your coding agent and paste the result into Claude Code, Codex, Cursor or any coding agent running inside your repository. This works with any agent and needs no setup, but the agent cannot tell Orviqa what it finished, so you mark progress by hand.
The connected way: MCP
Connecting the agent over MCP lets it fetch the fixes itself and record each one as done, so your dashboard, the README audit and the plan update on their own. None of the MCP tools call a model, so this costs no tokens.
Step 1: create an API key
- Open Settings and go to Coding agents. Keys are personal to you, in this workspace.
- Type a name in New key name, such as "Laptop" or "Claude Code", and press Create key.
- Copy the key now. It is not stored and cannot be shown again. Copy command copies the full setup command with the key already in it.
- Press I have saved it.
You can have up to ten active keys. Each row shows when the key was last used, and Revoke turns one off immediately. A key also stops working if you leave the workspace.
Step 2: connect Claude Code
Run the command you copied in a terminal. It looks like this:
claude mcp add --transport http orviqa https://orviqa.dev/mcp --header "Authorization: Bearer orv_..."
Other agents that support remote MCP servers over HTTP can connect to the same address, https://orviqa.dev/mcp, sending the key as a bearer token in the Authorization header.
Step 3: ask it to fix what Orviqa found
Open your agent inside the repository's checkout and say:
Fix what Orviqa found
The agent works through every task:
- It calls
get_fix_tasksto fetch the open findings for this repository, each with the steps and rules to follow. - It prepares every fix: file changes, the GitHub settings commands Orviqa provides (such as setting the description and topics), and any steps you must do by hand.
- It shows you all of it at once and asks before committing, opening a pull request or running a command.
- It records each task with
complete_taskas done (with the pull request link), dismissed or left open. - Once the pull request is merged, it calls
recheck_repositoryso Orviqa re-reads the repository. This takes about a minute and reads the default branch.
Repository checks update straight away after the re-check. README and discoverability findings are judged again by the next analysis, so run Re-analyse after merging README changes.
The four tools
| Tool | What it does |
|---|---|
list_repositories | The repositories in your workspace |
get_fix_tasks | The open findings for a repository, with steps and rules |
complete_task | Marks a finding in progress, done, dismissed or open |
recheck_repository | Re-reads the repository from GitHub |
Plan tasks that cover these fixes complete themselves once their fixes are done, which is what the next two chapters build on.