MCP SETUP

Connect ARKO
to your agent.

Connect ARKO’s tools to your coding agent, sign in once, and bring an independent check into the conversation.

1. Choose your coding client.

Before connecting, have your coding client, an ARKO account and Node.js LTS ready.

Check the prerequisitesClient installation, Node.js and your ARKO account.

Before you connect.

Install Claude Code.

For Claude Code, follow the official installation instructions, then open a new terminal and check the installation.

Check Claude Code
claude --version

For an editor-based agent, install your chosen editor and enable its agent chat before connecting ARKO.

You need an ARKO account, your chosen coding client and a current Node.js LTS release. Node supplies npx, which starts the ARKO MCP package.

Check Node.js
node -v

The client launches ARKO when it needs the server. You do not need to leave a separate ARKO terminal process running.

Claude Code

From the project folder, register ARKO with Claude Code:

Terminal
claude mcp add arko -- npx -y arko-mcp

Check the server registration:

Terminal
claude mcp list

Open or restart Claude Code after adding the server. Use its /mcp panel for connection status.

2. Sign in to ARKO.

Run the login command in your terminal, then complete the browser sign-in. Use your work email for your organisation account.

Terminal
npx -y arko-mcp login

Check the account you are using:

Terminal
npx -y arko-mcp whoami
Connected is not the same as signed in. Your client may show the server as connected before ARKO authentication is complete. Use the login command above for this local MCP setup.

3. Run your first ARKO check.

Open a project you own, then give your agent a specific request:

Example agent prompt
Use ARKO to review this project’s source code and dependency manifests. Explain the findings and identify the most important issue to fix first. Do not publish changes.

Source-code risks are checked with arko_scan_code. Dependency manifests are checked with arko_scan_project. Let the agent report what it submitted and what completed.

Try the interactive project guide

Troubleshooting.

node or npx is not found.
Install Node.js LTS, open a new terminal, then check node -v.
ARKO is connected, but its tools fail to authenticate.
Run npx -y arko-mcp login, complete the browser sign-in, then use npx -y arko-mcp whoami to confirm your account.
The server is missing from my client.
Check the configuration format and location for your chosen client. VS Code uses servers; Cursor and Kiro use mcpServers. Reconnect or reload after saving.
I am signed in with the wrong account.
Run npx -y arko-mcp logout, then log in with the intended account. Check whoami before scanning.
The server works in one project only.
Check whether you used a project-local or user-level configuration. Use your client’s documented scope settings for the coverage you want.
A scan has not finished or a gate failed.
Read the reported error or finding and wait for a completed result. An incomplete scan is not a passing scan. If the problem persists, include the relevant error when contacting support.

AFTER YOUR FIRST CHECK

Advanced setup.

Repository gatesPrepare the configuration and inspect its behaviour.

Optional: prepare a repository gate.

After you understand the manual workflow, the package can prepare repository configuration and agent instructions. Preview the proposed changes first:

Terminal
npx -y arko-mcp init --with-gate --dry-run

To apply the setup:

Terminal
npx -y arko-mcp init --with-gate
This writes files in the current repository and adds a Claude Code Stop hook. Other clients do not automatically receive identical enforcement. Review the generated changes and your organisation’s policy before adopting them.

A changed-files gate can be invoked from the terminal:

Terminal
npx -y arko-mcp gate --changed

For enterprise CI rollout and policy choices, talk to ARKO.

Terminal and CICarry checks into your delivery workflow.

Terminal and CI: carry the check into delivery.

Start with a local gate and inspect its output. In CI, agree the failure behaviour, submitted files and required-check policy before applying it across repositories.

Review the available gate options
npx -y arko-mcp gate --help

A repository’s branch protection or merge rules must require the check if you want a failed result to block merging. Keep source checks, dependency checks and artefact checks distinct in the recorded result.

Explore checks across the delivery path
Remediation toolsFind, fix and recheck with the complete validation scope.

Use the rest of the remediation loop.

Ask your agent to explain the finding, propose the change and use the available ARKO remediation tools. Review changes before accepting or publishing them.

arko_scan_code
Check supplied source code.
arko_scan_project
Check dependency manifests.
arko_fix_all
Request a prioritised remediation plan; review it before applying changes.
arko_validate_fix
Check whether changes resolve findings. Submit the complete file scope covering existing findings.
arko_raise_fix_pr
When explicitly requested, propose an AutoFix pull request for a finding in a GitHub-connected repository.
Example fix-and-recheck prompt
Review the ARKO findings and propose the relevant fixes. Apply only the changes we agree, run the project’s normal checks and recheck with ARKO. Preserve the complete file scope when validating existing findings. Summarise what was fixed, what remains and what was not checked. Do not create or publish a pull request without my instruction.

For a reviewed repository change, supported pull-request tooling can carry the proposed fix to the normal review workflow. Repository permissions and your team’s merge policy still apply.

Official references.

Guidance checked against published package and client documentation on 12 September 2026.

CORRECT BY DESIGN

Let your teams build.
Keep control of the outcome.

Start with one workflow. Bring its checks, policies and evidence into the organisation.

Example software inventory

This is sample data for the website demonstration.