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.comIt 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:
OAuth (recommended)
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
Open Settings in the sidebar
Navigate to Connectors and select Add custom connector
Configure the connector:
Name:
ArgosURL:
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
Open the Command Palette
Run MCP: Add Server
Select HTTP
Enter the following details:
URL:
https://mcp.argos-ci.comName:
Argos
Select Global or Workspace depending on your needs
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?