For the complete documentation index, see llms.txt. This page is also available as Markdown.

MCP server

Connect AI assistants to Argos with the official MCP server: inspect builds, review visual changes, and manage projects straight from your agent.

Connect your AI tools to Argos using the Model Context Protocol (MCP), an open standard that lets AI assistants interact with your Argos projects.

MCP defines a common way for an AI assistant to discover the tools a service exposes and call them on your behalf. Instead of a bespoke plugin for each assistant, a service publishes one MCP server, and every MCP-compatible client — Claude, Cursor, VS Code, and others — can use it.

What is the Argos MCP server?

The Argos MCP server is the official remote MCP server for Argos, available at:

https://mcp.argos-ci.com

It integrates with popular AI assistants like Claude, enabling them to:

  • List builds and inspect their screenshot diffs

  • Approve or reject builds, dismiss reviews, and request reviewers

  • Read and post comments on builds and tests

  • Investigate flaky tests and ignore the changes behind them

  • Read and update project settings, contributors, deployments, and automation rules

  • Manage a team's members, invites, and email domains

  • Retrieve project metadata, account analytics, plan, and usage

The server is remote and uses the streamable HTTP transport — there is no package to install or process to run locally. Configure your client with the transport http (sometimes labeled streamable-http) and the URL above. It implements the latest MCP Authorization and Streamable HTTP specifications.

Available tools

Tools are generated directly from the Argos REST API: every API operation that a user can call is exposed as an MCP tool with the same name, parameters, and permissions. When the API gains an endpoint, the MCP server gains the matching tool — with no client update on your side.

Agents can list builds and inspect their screenshot diffs, approve or reject changes, request reviewers, read and post comments, diagnose flaky tests and ignore their recurring changes, configure projects and their contributors, manage automation rules, administer a team's members and invites, and retrieve account analytics and usage. Ask your client to list the server's tools, or see the API reference for the underlying operations.

What an agent may actually do is decided by the scopes you grant it, not by the tool list: projects:read for inspecting projects, builds and tests, reviews:write for reviews, review requests and ignoring changes, comments:write for comments and notification subscriptions, projects:write for project configuration and automation rules, and account:admin for team administration.

Authentication

The MCP server supports two authentication methods:

Most MCP clients handle OAuth automatically: add the server URL, and your client opens a browser window where you sign in to Argos, choose which organizations to share, and select the scopes to grant. Tokens are scoped to the organizations and permissions you approve, and you can revoke an authorization at any time from your Argos settings under Authorized applications.

Personal access token

For clients or scripts where OAuth is impractical, authenticate with a personal access token sent as a bearer token:

Project tokens (the ones used by CI to upload screenshots) are not accepted by the MCP server — they identify a project, not a user.

Setup

Claude Code

Claude.ai and Claude for desktop

  1. Open Settings in the sidebar

  2. Navigate to Connectors and select Add custom connector

  3. Configure the connector:

    • Name: Argos

    • URL: https://mcp.argos-ci.com

Cursor

Add the snippet below to your project-specific or global .cursor/mcp.json file. See the Cursor documentation for details.

Once the server is added, Cursor displays a Needs login prompt. Click it to authorize Cursor to access your Argos account.

VS Code with Copilot

  1. Open the Command Palette

  2. Run MCP: Add Server

  3. Select HTTP

  4. Enter the following details:

    • URL: https://mcp.argos-ci.com

    • Name: Argos

  5. Select Global or Workspace depending on your needs

  6. Click Add, then start the server and complete the sign-in flow when prompted

Codex CLI

When adding the server, Codex detects OAuth support and opens your browser to authorize the connection.

Windsurf

Add the snippet below to your mcp_config.json file. See the Windsurf documentation for details.

Setup steps may vary based on your MCP client version. Always check your client's documentation for the latest instructions.

Security best practices

  • Verify the official endpoint. Always confirm you're connecting to Argos's official MCP endpoint: https://mcp.argos-ci.com.

  • Grant only what you need. During the OAuth consent, share only the organizations the agent needs, and prefer read-only scopes when the agent only inspects builds.

  • Review authorized applications. Audit and revoke authorizations from your Argos settings under Authorized applications.

  • Enable human confirmation. Keep your agent's approval prompts on for write actions like approving builds or posting comments, so you review each change before it happens.

Last updated

Was this helpful?