Skip to main content
Glama
godrix

@godrix/argocd-mcp

by godrix

argocd_login

Authenticate to Argo CD using SSO (browser) or username/password with configurable profile, callback port, and gRPC-web support.

Instructions

Authenticate to Argo CD for a profile. Default: SSO via argocd CLI (opens browser). Alternative: username/password with sso=false. For API tokens without CLI login, use argocd_set_api_key or ARGOCD_API_KEY env vars.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ssoNoUse SSO login (default: true). Set false for username/password.
grpcWebNoUse gRPC-web (recommended behind ingress). Default: true
profileNoEnvironment profile. Available: default. Default: default
ssoPortNoLocal OAuth callback port for SSO (default 8085)
passwordNoArgo CD password when sso=false
usernameNoArgo CD username when sso=false
launchBrowserNoAutomatically open the browser for SSO. Default: true
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full burden. It discloses browser opening for SSO and the need for credentials when sso=false. However, it does not mention any side effects (e.g., setting environment variables after login) or error states, which would enhance transparency.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences packed with essential information: purpose, defaults, alternatives. No filler words. Front-loaded with the primary action.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a login tool with 7 parameters and no output schema, the description covers authentication methods, alternatives, and key parameters. It is complete enough for an agent to select and use correctly, though missing a note about output or post-login state.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3. The description adds context by explaining the 'sso' parameter's default and the relationship between 'sso', 'username', and 'password'. This goes beyond the schema's descriptions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb 'Authenticate' and the resource 'Argo CD for a profile'. It distinguishes from sibling tools like 'argocd_set_api_key' and 'argocd_auth_status', making the tool's unique purpose evident.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides explicit guidance on when to use this tool (default SSO or username/password) and when to use alternatives (argocd_set_api_key for API tokens). It also mentions environment variables for flexibility.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/godrix/mcp-argocd'

If you have feedback or need assistance with the MCP directory API, please join our Discord server