aws-sso-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| AWS_SSO_MCP_CONFIG | No | Optional path to the aws-sso-mcp TOML config file. Defaults to ~/.config/aws-sso-mcp/config.toml (or %USERPROFILE%\.config\aws-sso-mcp\config.toml on Windows). |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Never assume. If you lack a value the user did not give you (an account, region, org, resource id or parameter), ask for it. If you do not have some information, say so plainly instead of guessing or inventing it. Calls that delete, terminate or detach resources make the server ask the user to confirm. If the user declines, or the client cannot ask, the call is not run: report that and do not retry it, rephrase it, or look for another way to do the same thing.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| orgs_listA | List every org configured in the aws-sso-mcp TOML config. |
| use_orgB | Set the active org for this session (one-off org= overrides still win). |
| current_orgA | Report the currently active org, if any. |
| org_statusB | Report token validity and cache freshness for an org (defaults to the active org). |
| token_statusB | Check cached SSO token validity WITHOUT ever opening a browser. |
| loginA | Authenticate to an org via SSO device authorization (opens a browser for approval). This is the only tool that will ever open a browser. Queries never start a sign-in on your behalf; they fail with a message telling you to call this first, so a browser window never appears unexpectedly mid-query. |
| refresh_accountsA | Force a refresh of the cached account directory for one org, or every configured org. |
| cache_statusA | Report cache freshness for one org, or every configured org. |
| search_accountsB | Search the cached account directory by exact name, substring, or account id. |
| list_rolesC | List the IAM roles granted to you on one account, via that account's SSO portal. |
| explain_role_selectionA | Dry-run deterministic role resolution for one account; makes no service call. Shows exactly which role the TOML environment rules would assume. The role is never chosen by the model or by the caller, and there is no override argument. |
| aws_queryA | Run one AWS API call across every account a selector resolves to. |
| run_dagA | Run a small declarative multi-step query DAG against every resolved account. |
| config_showA | Show the resolved, loaded configuration (it never contains secrets). |
| config_validateA | Re-load and validate the config file, reporting errors without applying them. |
| perf_statsA | Report cache hit/miss counts and executor sizing for the running server. Answers "why was that fan-out slow?" without turning on debug logging. A high credential-broker miss rate points to short-lived sessions or role churn; a high role-cache miss rate suggests the directory TTL is too short. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 16 tools
Most tools map to clearly distinct actions: aws_query vs run_dag (single call vs multi-step DAG), explain_role_selection vs list_roles (dry-run rule resolution vs listing actual roles), and login vs refresh_accounts are all unambiguous. The main blur is org_status, which duplicates the coverage of token_status and cache_status, leaving an agent unsure which of the three to call. orgs_list/current_org/use_org are clean enough despite being in the same area.
Multiple conventions coexist: verb_noun (use_org, refresh_accounts, search_accounts, list_roles, run_dag), noun_noun (perf_stats, org_status, token_status, cache_status), noun_verb (orgs_list, config_show, config_validate), and bare nouns (login, current_org). The singular/plural mismatch (orgs_list vs list_roles) and status-noun shortcuts add to the inconsistency. Names remain individually readable, so it is mixed rather than chaotic.
16 tools is just above the comfortable band, but the surface splits into coherent groups (auth, org selection, account cache, roles, querying, config, perf) where each group serves a real need. The one clearly redundant entry is org_status, which a trim could fold into token_status/cache_status. Slightly heavy but justified for an SSO + fan-out query server.
The lifecycle is well covered: login, token_status/org_status for auth health, org selection, account cache refresh/search, role inspection, aws_query and run_dag for reads and writes, plus config show/validate and perf stats. The notable gaps are no logout/token revocation and no config mutation tool, though config editing via a file is arguably out of scope. These are minor, workable omissions rather than dead ends.