workspaces-euc-mcp-server

v0.1.23
workspaces-euc-mcp-server Checked 1 day ago Published 5 months ago

MCP server for administering the Amazon WorkSpaces family of End User Computing services (Personal, Pools, Applications, Secure Browser, Core).

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_euc_inventory_summary

Summarize all Amazon WorkSpaces EUC resources in an AWS region. Fans out across WorkSpaces Personal, WorkSpaces Pools, WorkSpaces Applications (formerly AppStream 2.0), and WorkSpaces Secure Browser (formerly WorkSpaces Web), returning per-service counts broken down by state, the grand total, and any per-service collection errors (e.g. missing permissions). Read-only. by_state is the lifecycle/power state (e.g. AVAILABLE = running, STOPPED) — use it for "what is running right now?" questions; use generate_inventory_report for the per-resource…

ParameterTypeDescription
region

diagnose_workspace_connectivity

Diagnose why a WorkSpaces Personal desktop may be unreachable. Correlates the WorkSpace state, live connection status, backing directory health, and recent CloudWatch connection metrics into a single verdict with severity-ranked findings and recommendations. Read-only. Args: workspace_id: The WorkSpace ID (e.g. ws-xxxxxxxxx). region: AWS region. Defaults to the server's configured region. lookback_hours: Window for CloudWatch connection metrics (default 24).

ParameterTypeDescription
workspace_id *string
lookback_hoursinteger
region

diagnose_application_fleet

Diagnose a WorkSpaces Applications (formerly AppStream 2.0) fleet's health and capacity. Use this for any "AppStream" fleet request — WorkSpaces Applications is the rebranded AppStream 2.0 (same service/API). Correlates fleet state, fleet errors, compute capacity, auto-scaling activity, and recent insufficient-capacity CloudWatch errors into a single verdict. Read-only. Args: fleet_name: The fleet name. region: AWS region. Defaults to the server's configured region. lookback_hours: Window for CloudWatch capacity me…

ParameterTypeDescription
fleet_name *string
lookback_hoursinteger
region

check_directory_health

Check the health of WorkSpaces-registered directories. Reports registration state and AWS Directory Service stage for one directory, or all WorkSpaces-registered directories in the region when no id is given. Read-only. Args: directory_id: A specific directory id, or omit to check all registered directories. region: AWS region. Defaults to the server's configured region.

ParameterTypeDescription
directory_id
region

diagnose_pool

Diagnose a WorkSpaces Pool's health and session capacity. Correlates pool state, pool errors, user-session capacity, backing directory health, and recent CloudWatch session-capacity utilization into a single verdict. Read-only. Args: pool_id: The WorkSpaces Pool ID (wspool-...). region: AWS region. Defaults to the server's configured region. lookback_hours: Window for CloudWatch utilization (default 24).

ParameterTypeDescription
pool_id *string
lookback_hoursinteger
region

get_euc_active_alarms

List CloudWatch alarms currently firing (ALARM state) on EUC resources. Surfaces your own configured monitoring: any metric alarm in ALARM whose metric lives in an EUC namespace (AWS/WorkSpaces, AWS/AppStream for WorkSpaces Applications, AWS/WorkSpacesWeb for Secure Browser), with the metric, dimensions, reason, and when it entered ALARM. Use for "is anything wrong right now?" checks. Read-only. Args: region: AWS region. Defaults to the server's configured region.

ParameterTypeDescription
region

analyze_workspace_utilization

Classify WorkSpaces Personal desktops as unused / idle / active BY USER CONNECTIONS. Uses the AWS/WorkSpaces UserConnected metric over the window to count active days per desktop, returning per-desktop classifications and a rollup. Read-only. IMPORTANT: classifications reflect user connections over the lookback window, NOT power state — an AVAILABLE (running) desktop with no logons is "unused", not stopped. For "which WorkSpaces are running/powered on?" use get_euc_inventory_summary or generate_inventory_report (lifecycle State) instead.…

ParameterTypeDescription
lookback_daysinteger
region

recommend_running_mode

Recommend AlwaysOn -> AutoStop running-mode changes for under-used desktops. Identifies AlwaysOn WorkSpaces Personal desktops with low usage that would typically cost less on AutoStop (and flags the reverse, low-confidence, for daily-used AutoStop desktops). Read-only. Args: region: AWS region. Defaults to the server's configured region. lookback_days: Window for the usage analysis (default 14).

ParameterTypeDescription
lookback_daysinteger
region

get_euc_cost_summary

Summarize EUC spend by service over a window (account-wide via Cost Explorer). Returns unblended cost grouped by service for the EUC portfolio (WorkSpaces, including Personal/Pools/Core which Cost Explorer bills together as "Amazon WorkSpaces"; WorkSpaces Applications/AppStream; and Secure Browser). Services are matched by keyword, so naming variants are never dropped. Cost Explorer is not region-scoped, so figures are account-wide. Read-only. Returns `by_service` (totals per service), `by_period` (a per-bucket time series — one entry…

ParameterTypeDescription
end_date
granularitystring
lookback_daysinteger
split_workspacesboolean
start_date

get_euc_cost_forecast

Forecast upcoming EUC spend (account-wide, via Cost Explorer's forecasting model). Answers "what will my WorkSpaces/EUC bill be?" — returns the mean forecast total for the window plus per-period values with an 80% prediction interval. The forecast is filtered to the EUC services discovered in the last 30 days of actual spend, so naming variants are never guessed. Needs sufficient usage history; a data-unavailable error is reported in the payload rather than raised. Read-only. Args: days_ahead: How far ahead to forecast, starting t…

ParameterTypeDescription
days_aheadinteger
granularitystring

compare_euc_costs

Compare two windows of EUC spend and explain WHY the cost changed. Answers "why is this month higher than last month?" — returns totals for both windows, the delta (absolute and %), per-service deltas, and the top usage-type-level drivers of the change (WorkSpaces usage types bucketed into Personal / Pools / Core). Account-wide via Cost Explorer. Read-only. Defaults: with no dates, compares the last 30 days against the 30 days before. With only start_date/end_date, the baseline is the preceding window of equal length. End dates are EX…

ParameterTypeDescription
baseline_end
baseline_start
end_date
start_date
top_ninteger

generate_inventory_report

Produce a detailed per-resource inventory across the EUC portfolio. Lists WorkSpaces Personal desktops, WorkSpaces Pools, WorkSpaces Applications (formerly AppStream 2.0) fleets, and WorkSpaces Secure Browser (formerly WorkSpaces Web) portals with key attributes per resource — including each desktop's lifecycle State (AVAILABLE = running/powered on, STOPPED, ...), the authoritative answer to "which WorkSpaces are running right now?". Read-only. Args: region: AWS region. Defaults to the server's configured region. inclu…

ParameterTypeDescription
include_tagsboolean
max_resources_per_serviceinteger
region
servicesstring

export_inventory_report_csv

Export the FULL EUC inventory to a local CSV file (for large estates / Excel). Writes every resource (no cap — unlike generate_inventory_report's default) to a CSV on THIS machine and returns the file path and row count. Use when the estate has hundreds or thousands of resources, when the user asks for a spreadsheet/export, or when a full list would be too large to return inline. Reads AWS only; the sole write is the local CSV file (nothing is uploaded anywhere). Args: region: AWS region. Defaults to the server's configured region…

ParameterTypeDescription
include_tagsboolean
path
region

audit_security_posture

Audit EUC security posture against common best practices. Checks WorkSpaces Personal root/user volume encryption and whether directories have IP access control groups, returning severity-ranked findings. Read-only. Args: region: AWS region. Defaults to the server's configured region.

ParameterTypeDescription
region

list_unused_resources

List candidate idle/unused EUC resources worth reclaiming. Surfaces unused WorkSpaces Personal desktops (no connections in the window) and stopped or zero-capacity WorkSpaces Applications fleets. Read-only. Args: region: AWS region. Defaults to the server's configured region. lookback_days: Window for WorkSpace usage (default 14).

ParameterTypeDescription
lookback_daysinteger
region

get_workspace_performance

Get native CPU/memory/disk/GPU/latency performance metrics for WorkSpaces Personal. Reads the AWS/WorkSpaces namespace (no CloudWatch agent needed) and returns latest, window average, and window peak for each metric per desktop. Stopped desktops report no data. Args: workspace_ids: One or more WorkSpace IDs. region: AWS region. Defaults to the server's configured region. lookback_hours: Window for the metrics (default 3).

ParameterTypeDescription
workspace_ids *array
lookback_hoursinteger
region

recommend_bundle_rightsizing

Recommend smaller/larger WorkSpace compute types from CPU & memory headroom. Uses native AWS/WorkSpaces CPUUsage/MemoryUsage over the window: flags desktops with ample headroom to downsize and pressured ones to upsize (general compute families only; graphics excluded). Read-only. Args: region: AWS region. Defaults to the server's configured region. lookback_days: Window for the analysis (default 7).

ParameterTypeDescription
lookback_daysinteger
region

get_application_fleet_usage

Get a WorkSpaces Applications (formerly AppStream 2.0) fleet's usage history. Returns the AWS/AppStream capacity time-series for the fleet (InUseCapacity, CapacityUtilization, Running/Available/Actual/Desired/PendingCapacity) over the window, as per-bucket points plus latest/average/peak, with a plain-language summary (e.g. flags idle running capacity). For a stack, resolve its fleet first (see generate_inventory_report). Read-only. Args: fleet_name: The fleet name (the fleet behind the stack, not the stack name). region…

ParameterTypeDescription
fleet_name *string
lookback_daysinteger
period_hoursinteger
region

get_workspace_connection_history

Get a WorkSpaces Personal desktop's connection/session history. Returns the AWS/WorkSpaces connection time-series for the desktop (UserConnected, and — when present — ConnectionAttempt/Success/Failure, SessionLaunchTime, InSessionLatency) as per-bucket points plus latest/average/peak, with a plain-language summary. Read-only. Args: workspace_id: The WorkSpace ID (ws-...). region: AWS region. Defaults to the server's configured region. lookback_days: Window length (default 7). period_hours: Bucket size in hour…

ParameterTypeDescription
workspace_id *string
lookback_daysinteger
period_hoursinteger
region

get_pool_session_history

Get a WorkSpaces Pool's user-session history. Returns the AWS/WorkSpaces session-capacity time-series for the pool (Active/Actual/Available/Desired/PendingUserSessionCapacity and UserSessionsCapacityUtilization) as per-bucket points plus latest/average/peak, with a plain-language summary that flags idle pool capacity. Read-only. Args: pool_id: The WorkSpaces Pool ID (wspool-...). region: AWS region. Defaults to the server's configured region. lookback_days: Window length (default 7). period_hours: Bucket…

ParameterTypeDescription
pool_id *string
lookback_daysinteger
period_hoursinteger
region

get_secure_browser_portal_details

Resolve a WorkSpaces Secure Browser portal's settings (security-relevant). Returns the portal's user settings (clipboard copy/paste, file download/upload, print controls + timeouts), network (VPC/subnets/security groups), whether a browser policy is attached, and — when data protection is configured — the resolved inline-redaction config (which built-in/custom patterns are redacted, global confidence, enforced/exempt URLs). Read-only. Args: portal_arn: The portal ARN (from get_euc_inventory_summary / generate_inventory_report).…

ParameterTypeDescription
portal_arn *string
region

get_secure_browser_portal_usage

Get a Secure Browser portal's CURRENT active sessions plus historic session metrics. Active sessions are retrieved **live** from ListSessions (the same source as the console's active-sessions view). Historic usage comes from CloudWatch (AWS/WorkSpacesWeb) over the window — CloudWatch is only meaningful for *past* activity, and idle portals publish none. Read-only. Args: portal: The portal id or ARN. region: AWS region. Defaults to the server's configured region. lookback_days: Window length (default 7).…

ParameterTypeDescription
portal *string
lookback_daysinteger
period_hoursinteger
region

audit_application_images

Audit WorkSpaces Applications (AppStream 2.0) images and image builders. Inventories your PRIVATE and SHARED images (skipping PUBLIC AWS base images) plus image builders, and raises admin/security findings: stale base images (likely unpatched OS), pinned/old AppStream agents, non-AVAILABLE or errored images, SHARED (cross-account) visibility, and image builders left RUNNING (cost + interactive admin surface). Read-only. Args: region: AWS region. Defaults to the server's configured region.

ParameterTypeDescription
region

audit_workspace_images

Audit WorkSpaces Personal custom images (state, age, cross-account sharing). Lists the account's own WorkSpaces Personal images with state, OS, creation age, and which accounts each image is shared with; flags ERROR-state images, cross-account sharing, and aging images worth refreshing. For WorkSpaces Applications (AppStream) images use audit_application_images. Read-only. Args: region: AWS region. Defaults to the server's configured region.

ParameterTypeDescription
region

get_euc_audit_trail

Audit recent EUC management activity from CloudTrail — "who changed what". Reads the always-on CloudTrail event history (last 90 days max; no trail required). By default returns only mutating events (creates/modifies/terminates) across WorkSpaces Personal/Pools/Core, WorkSpaces Applications, Secure Browser, and Core Managed Instances, with destructive actions and errors (e.g. AccessDenied) flagged. Read-only. IMPORTANT: when the user asks about ONE service (e.g. "recent AppStream changes"), pass that service — a single-service query additio…

ParameterTypeDescription
include_read_onlyboolean
lookback_daysinteger
max_eventsinteger
region
servicestring

get_euc_account_posture

Report account-level WorkSpaces configuration posture. Returns dedicated-tenancy (BYOL) status and management CIDR, recent account modifications, per-directory client properties (e.g. reconnect), and cross-region connection aliases. Read-only. Args: region: AWS region. Defaults to the server's configured region.

ParameterTypeDescription
region

get_euc_service_quotas

Report EUC Service Quotas limits and usage headroom (capacity planning). Lists each EUC service's quotas (limit + adjustability) and, where AWS publishes a linked usage metric, the current usage and utilisation %, flagging any quota at/above the approaching threshold. WorkSpaces and Secure Browser expose usage; most WorkSpaces Applications per-instance-type quotas are limit-only. Read-only. Args: region: AWS region. Defaults to the server's configured region. service: Limit to one service group, or "all". approaching…

ParameterTypeDescription
approaching_pctnumber
include_zero_limitboolean
region
servicestring

review_application_access

Review who has access to WorkSpaces Applications (formerly AppStream 2.0). Lists user-pool users (status, enabled, auth type) and which users are assigned to each stack — an access review for the streaming estate. SAML/OIDC-federated users are handled by your IdP and are not enumerable here (noted in the result). Read-only. Args: region: AWS region. Defaults to the server's configured region.

ParameterTypeDescription
region

generate_euc_health_report

Generate a full EUC estate health report in ONE call (inventory, cost, security, …). Orchestrates the inventory, active-alarm, cost (30d + forecast + savings), utilization, security-posture, image-audit, and quota tools concurrently, returning structured sections plus a ready-to-send `markdown` report — ideal for scheduled/weekly estate reports or emailing a summary. Sections are size-guarded (top-N) for large estates; use the individual tools for full detail. Cost sections need Tier 1 IAM. Read-only. Args: region: AWS region. D…

ParameterTypeDescription
lookback_daysinteger
region

get_euc_service_prices

Get authoritative AWS list prices for EUC resources in a region (AWS Price List API). ALWAYS use this instead of estimating prices from memory — rates vary by region and license model. Coverage: - applications: $/hour for a WorkSpaces Applications (AppStream) instance. PREFER passing fleet_name — the tool then resolves instance_type, fleet type, capacity, and the platform from the fleet's IMAGE (DescribeFleets omits Platform for non-Elastic fleets; WINDOWS_10/11 images = BYOL, cheaper than WINDOWS_SERVER_* included license) and adds…

ParameterTypeDescription
service *string
compute_type
fleet_name
instance_functionstring
instance_type
operating_system
platform
region
regions
root_volume_gib
user_volume_gib