The Trench MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@The Trench MCP Server What is the current simulation state?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
The Trench MCP Server
MCP Server for controlling satellite ground station operations in the Trench simulation.
Available Tools
π°οΈ Simulation State Tools
get_simulation_state()- Get comprehensive simulation state including satellite position, contact status, and timingget_current_time()- Get current simulation time and real-world UTC timerestart_simulation()- Restart simulation from beginning, resetting all state to epoch time
π‘ Pass Management Tools
get_all_passes()- Get complete schedule of all satellite passes over ground stationget_next_pass()- Get information about next upcoming satellite passget_current_pass()- Get information about currently active satellite pass (if any)
β° Timing and Waiting Tools
wait_until_time(target_sim_time)- Wait until simulation reaches specific time (seconds since epoch)wait_for_next_pass()- Wait until next satellite pass begins (AOS)
π₯ Downlink Control Tools
start_downlink(kb_requested, max_minutes=10)- Start data downlink session during active passstop_downlink()- Stop current data downlink session
π― Ground Station Control Tools
get_ground_station_state(gs_id="DEMO-GS")- Get current antenna position and modepoint_antenna(azimuth, elevation, gs_id="DEMO-GS")- Point antenna to specific anglestrack_satellite(sat_id="LEO-001", gs_id="DEMO-GS")- Start automatic satellite trackingstop_tracking(gs_id="DEMO-GS")- Stop satellite tracking, return to idlepark_antenna(gs_id="DEMO-GS")- Park antenna in safe position
π₯ Health and Monitoring Tools
get_satellite_health(sat_id="LEO-001")- Get satellite health and telemetry information
All tools use authenticated API calls with Bearer token authorization to interact with the Trench simulation API.
Related MCP server: spacetrack-mcp
Usage with Claude Desktop
To use this server with the Claude Desktop app, add the following configuration to the "mcpServers" section of your claude_desktop_config.json:
Option 1: Direct installation from GitHub (Recommended)
{
"mcpServers": {
"trench-mcp-server": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/jasonmeverett/the-trench-mcp@main",
"run-server"
],
"env": {
"TRENCH_API_URL": "https://the-trench.ml-2cba638a-03a.eng-ml-i.svbr-nqvp.int.cldr.work/",
"TRENCH_API_KEY": "<apiv2 key>"
}
}
}
}Transport
The MCP server's transport protocol is configurable via the MCP_TRANSPORT environment variable. Supported values:
stdio(default) β communicate over standard input/output. Useful for local tools, command-line scripts, and integrations with clients like Claude Desktop.http- expose an HTTP server. Useful for web-based deployments, microservices, exposing MCP over a network.sseβ use Server-Sent Events (SSE) transport. Useful for existing web-based deployments that rely on SSE.
Available Tools
7 toolsget_all_passesA
Get information about all passes defined in the scenario. Shows complete schedule of satellite passes over the ground station.
Inputs: no named parameters.
get_current_timeA
Get the current simulation time and real-world UTC time.
Inputs: no named parameters.
get_next_passA
Get information about the next upcoming satellite pass. Returns None if no future passes are scheduled.
Inputs: no named parameters.
start_downlink_simpleA
Start a data downlink session with default parameters (no arguments required). Must be called during an active satellite pass.
Inputs: no named parameters.
stop_downlink_simpleA
Stop the current data downlink session (no arguments required). Returns complete downlink status including total data downloaded.
Inputs: no named parameters.
test_api_connectionA
Test the connection to the Trench API server. Useful for debugging connectivity issues.
Inputs: no named parameters.
wait_until_timeA
Wait until the simulation reaches a specific UTC time. Polls the simulation every 0.1 seconds until the target time is reached.
Args: target_time_iso: Target UTC time in ISO format (e.g., "2025-09-15T17:30:00Z")
Inputs: target_time_iso (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
TDQS
Scored across 7 tools
Each tool targets a distinct concern: connectivity, time, pass scheduling (all vs. next), waiting, and downlink start/stop. Although get_all_passes and get_next_pass are related, their names and descriptions make the difference immediately clear.
Tool names consistently follow a verb_noun pattern with snake_case, such as test_api_connection, get_all_passes, and start_downlink_simple. The pattern is predictable and uniform across the entire set.
Seven tools is an appropriate, focused scope for a satellite ground-station simulation/downlink server. Each tool covers a necessary operation without redundancy or bloat.
The tool set covers the full workflow: verifying connectivity, checking simulation time, discovering passes, waiting for the right moment, and starting/stopping downlinks. No critical dead ends are apparent for the stated domain.
Maintenance
Related MCP Connectors
MCP server for aerospace calculations: orbital mechanics, ephemeris, DSN operations, ...
An MCP server that provides Javelin Standalone Guardrails
An MCP server that provides an API to LLMs to manage their JumpCloud resources.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceAn MCP server that enables Large Language Models or other MCP clients to interact with Ansys/AGI STK (Systems Tool Kit), allowing users to control STK Desktop simulations programmatically or via natural language.43-
- FlicenseNot gradedqualityDmaintenanceMCP server that wraps the NASA Space-Track API to provide tools for TLE lookup, conjunction query, and satellite catalog search.-
- AlicenseNot gradedqualityDmaintenanceMCP server for interacting with QUADS infrastructure systems via API, enabling resource management and automation through LLM applications.MIT
- AlicenseCqualityDmaintenanceMCP server for the Geopera geospatial data platform that enables AI agents to discover imagery, place and manage orders, and run analytics using the same API as other Geopera clients.100MIT