MCPVault

deleteSession

MCP tool from Sauce Api MCP by saucelabs

Close a session and release the device back to the pool

How to use it

deleteSession is exposed by the Sauce Api MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the deleteSession tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.

Install Sauce Api MCP

$pip install sauce-api-mcp
FULL SAUCE API MCP LISTING

Other tools in Sauce Api MCP (39)

createSession

Allocate a real device and return an ACTIVE session. Polls until ACTIVE or times out (~55 s)

filter_har_data

Filter cached HAR data efficiently (avoids re-downloading)

get_account_info

Retrieve current user account information

get_build

Get detailed information about a specific build

get_build_for_job

Get the build associated with a job

get_current_jobs_for_tunnel

See how many jobs are using a tunnel

get_devices_status

List all devices and their current status

get_job_details

Get comprehensive details about a specific job

get_log_json_file

Get structured test execution logs for a VDC job

get_my_active_team

Get the active team for the authenticated user

get_network_har_file

Get HAR network capture data with filtering

get_private_devices

List private devices available to your account

get_real_device_jobs

List active jobs on real devices

get_recent_jobs

Retrieve your most recent test jobs

get_service_account

Get service account details

get_session_details

Get full details of a specific session

get_specific_device

Get detailed information about a specific device

get_specific_real_device_job

Get details about a specific real device job

get_specific_real_device_job_asset

Download job assets (logs, videos, screenshots)

get_storage_files

List uploaded application files

get_storage_groups

List app storage groups

get_storage_groups_settings

Get settings for a storage group

get_team

Get team details

get_test_assets

Retrieve test artifacts for a VDC job

get_tunnel_information

Get details about a specific tunnel

get_tunnel_version_downloads

Get download URLs for Sauce Connect versions

get_tunnels_for_user

List active Sauce Connect tunnels

get_user

Get detailed user information

list_device_status

Get live availability status of devices

list_team_members

List all members of a specific team

listDevices

Browse the full device catalogue with OS/model filters

listSessions

List current device sessions with optional filtering

lookup_builds

Search for builds with filters

lookup_jobs_in_build

List all jobs within a build

lookup_service_accounts

List service accounts

lookup_teams

Find teams in your organisation

lookup_users

Find users in your organisation

update_storage_group_settings

Update app group settings (resigning, instrumentation, etc.)

upload_file_to_storage

Upload an app file to Sauce Storage