infra-tak-mcp
Provides marketplace-based lifecycle management for Authentik, including deployment, control, and uninstallation on the infra-TAK host.
Provides marketplace-based lifecycle management for Caddy, including deployment, control, and uninstallation on the infra-TAK host.
Provides marketplace-based lifecycle management for Cesium, including deployment, control, and uninstallation on the infra-TAK host.
Provides tools for inspecting Docker containers and retrieving their logs.
Allows managing Node-RED through its Admin API, including listing, adding, and deploying flows, installing nodes, and injecting messages.
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., "@infra-tak-mcp check the health of the TAK stack"
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.
infra-tak-mcp
MCP server that drives an infra-TAK host from Grok Build, Cursor, Claude Desktop, or any MCP client.
Run it on the Ubuntu TAK box. Clients on a laptop speak stdio over SSH. Do not publish the MCP HTTP port or the MediaMTX control API.
This is not an official takwerx product.
What it talks to
Target | Where |
infra-TAK marketplace | console |
Node-RED Admin API |
|
MediaMTX control API |
|
TAK Marti video |
|
Docker | local |
Related MCP server: Woow Podman MCP Server
Install on the TAK host (Ubuntu 22.04)
/opt is root-owned. After a sudo git clone, chown the tree to your login user. Use a venv. Do not pip install -e . — Ubuntu 22.04 system pip has no PEP 660 editable hook.
Pin MCP 1.x. This server uses the FastMCP 1.x API. mcp 2.x breaks the Grok Build handshake.
sudo apt-get update
sudo apt-get install -y python3-venv python3-pip git
sudo git clone https://github.com/misterdallas/infra-tak-mcp.git /opt/infra-tak-mcp
sudo chown -R "$USER:$USER" /opt/infra-tak-mcp
cd /opt/infra-tak-mcp
python3 -m venv .venv
. .venv/bin/activate
pip install -U pip setuptools wheel
pip install . -c constraints.txt
cp -n .env.example .env
nano .env
python -c "import mcp; print(mcp.__version__)" # must be 1.xOne-shot:
curl -fsSL https://raw.githubusercontent.com/misterdallas/infra-tak-mcp/main/install.sh | sudo bashGrok Build (laptop)
Passwordless SSH first:
ssh-copy-id USER@TAK_HOST
ssh USER@TAK_HOST 'echo ok'grok mcp add infra-tak -- ssh USER@TAK_HOST 'cd /opt/infra-tak-mcp && . .venv/bin/activate && set -a && . ./.env && set +a && python -m infra_tak_mcp.server'
grok mcp list
grok mcp doctor infra-takOr copy mcp.grok.example.toml into ~/.grok/config.toml.
Do not add this server as a public custom connector on grok.com. That requires a reachable HTTPS URL and would expose marketplace deploy/stop.
Cursor / Claude Desktop
See mcp.cursor.example.json.
Tools
Marketplace: marketplace_list, marketplace_call, marketplace_deploy, marketplace_control, marketplace_uninstall
Keys: takserver, federationhub, authentik, takportal, caddy, cloudtak, mediamtx, tvr, nodered, emailrelay, guarddog, cesium, webodm, netbird, eudassist, atlas, simulator, clientfeed.
action="raw" hits extra module routes. Deploy / uninstall / start / stop / restart require confirm=true.
Node-RED: nodered_info, nodered_list_flows, nodered_add_flow, nodered_deploy_flows, nodered_install_node, nodered_inject
Host: stack_health, mediamtx_paths, mediamtx_info, tak_list_videos, tak_publish_video, advertise_ready_streams, docker_ps, docker_logs
Troubleshooting
Symptom | Fix |
|
|
| Use |
| The venv is not active, or you used system pip |
Grok Build handshake fails / doctor dies after connect | Host pulled |
MediaMTX curl refused | Use |
Node-RED tools 401/empty | Hit loopback |
License
MIT
Available Tools
19 toolsadvertise_ready_streamsB
POST every ready MediaMTX path into TAK Video Manager.
Inputs: no named parameters. Returns: result
docker_logsC
Tail logs for a Docker container.
Inputs: name (required), tail. Returns: result
docker_psA
List Docker containers (ALLOW_DOCKER=1).
Inputs: no named parameters. Returns: result
marketplace_callA
Call /api// on the infra-TAK console.
action: status | log | logs | version | update-status | start | stop | restart | deploy | uninstall | raw raw body_json: {"method":"GET","path":"deployment-config","json":{}} confirm=true required for deploy, uninstall, start, stop, restart.
Inputs: action (required), module (required), confirm, body_json. Returns: result
marketplace_controlC
Start, stop, or restart a marketplace module.
Inputs: action (required), module (required), confirm. Returns: result
marketplace_deployB
Start a marketplace deploy job. Poll marketplace_call(module, 'log').
Inputs: module (required), confirm, params_json. Returns: result
marketplace_listA
Catalog of infra-TAK marketplace module keys this MCP knows how to drive.
Inputs: no named parameters. Returns: result
marketplace_uninstallB
Uninstall a marketplace module. Requires confirm=true.
Inputs: module (required), confirm, admin_password. Returns: result
mediamtx_infoC
MediaMTX server info.
Inputs: no named parameters. Returns: result
mediamtx_pathsB
List MediaMTX paths. infra-TAK binds the control API on :9898.
Inputs: no named parameters. Returns: result
nodered_add_flowB
Append nodes to the current flows and redeploy. confirm=true required.
Inputs: flow_json (required), confirm. Returns: result
nodered_deploy_flowsB
POST /flows and replace the running Node-RED document. confirm=true required.
Inputs: flows_json (required), confirm. Returns: result
nodered_infoA
Node-RED settings, diagnostics, and palette from the loopback Admin API.
Inputs: no named parameters. Returns: result
nodered_injectC
Trigger an inject node by id.
Inputs: node_id (required). Returns: result
nodered_install_nodeC
Install a palette package such as node-red-contrib-tak.
Inputs: package (required), confirm. Returns: result
nodered_list_flowsB
GET /flows from Node-RED Admin API on 127.0.0.1:1880.
Inputs: no named parameters. Returns: result
stack_healthB
Probe MediaMTX, Node-RED Admin, TAK Marti, and infra-TAK console.
Inputs: no named parameters. Returns: result
tak_list_videosB
List TAK Server Video Manager feeds.
Inputs: no named parameters. Returns: result
tak_publish_videoC
Register a MediaMTX path on TAK Video Manager with decomposed fields.
Inputs: path (required), alias. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 19 tools
The domain-prefixed tools mostly target distinct resources, but marketplace_call is a generic escape hatch that explicitly supports deploy/start/stop/restart/uninstall, directly overlapping marketplace_deploy, marketplace_control, and marketplace_uninstall. nodered_deploy_flows vs nodered_add_flow also sit close together (replace vs append the flow document). An agent could reasonably pick the wrong tool for marketplace operations.
Strong, predictable snake_case with domain prefixes (marketplace_*, nodered_*, mediamtx_*, docker_*, tak_*). Two outliers lack a prefix (stack_health, advertise_ready_streams), which is a minor deviation but still readable.
19 tools is on the heavy side but justified by spanning five subsystems (marketplace, Node-RED, MediaMTX, Docker, TAK). The count is slightly inflated by the redundant marketplace_call umbrella overlapping three dedicated marketplace tools.
Covers lifecycle across its domains: marketplace list/call/deploy/control/uninstall, Node-RED flows and palette, MediaMTX listing, Docker listing/logs, and TAK video publish/advertise. Minor gaps exist (no Docker container start/stop or MediaMTX path mutation), but core workflows are reachable.
Maintenance
Related MCP Connectors
Secure and manage MCP servers through the Speakeasy AI Control Plane from your agent.
Host any HTTP API as a standard MCP server; auto-distribute to 12+ mainstream agent platforms.
MCP-first control plane for ProAgentStore agents and private instances.
Linux server administration over OAuth MCP: shell, Docker, systemd, files and monitoring.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables ERPNext management, file operations, read-only database access, and ERPNext API integration through a standardized MCP server.4MIT
- AlicenseBqualityBmaintenanceMCP server that exposes Podman host management as tools, allowing natural language control of containers, images, volumes, networks, and pods. Includes an administrative console with safety profiles for gated access.18MIT
- AlicenseAqualityCmaintenanceEnables MCP clients to manage a self-hosted RPort fleet by listing and inspecting connected devices, opening and closing SSH tunnels, and executing commands through RPort agents.10MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI clients to securely operate a local machine via MCP or REST, providing file read/write, Playwright browser automation, and shell/service administration.3MIT