home / mcp / tak server mcp

TAK Server MCP

Model Context Protocol (MCP) server for TAK Server integration with geospatial support

Installation
Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "jfuginay-tak-server-mcp": {
      "command": "npx",
      "args": [
        "@skyfi/tak-server-mcp"
      ],
      "env": {
        "MCP_PORT": "3000",
        "MCP_TRANSPORT": "stdio",
        "TAK_SERVER_URL": "https://your-tak-server.com",
        "MCP_AUTH_ENABLED": "false",
        "TAK_SERVER_API_TOKEN": "your-token",
        "TAK_SERVER_CLIENT_KEY": "/path/to/key.pem",
        "TAK_SERVER_CLIENT_CERT": "/path/to/cert.pem"
      }
    }
  }
}

TAK Server MCP provides a Model Context Protocol interface that connects TAK Server with AI systems, enabling geospatial-aware queries, real-time events, and mission management for enhanced research and operational workflows.

How to use

You connect an MCP client to the local or remote MCP server and start issuing tool calls to access geospatial operations, real-time streams, and mission-related actions. Use a local stdio configuration when you want tight CLI or editor integrations, or run the server in a container or host where a remote TAK Server is available. Once connected, you can query entities by location, compute distances, subscribe to live events, and manage geofences or missions from your AI workflows.

How to install

Prerequisites: ensure you have Node.js installed on your system. You will also need access to TAK Server (official, FreeTAKServer, or taky) for MCP to reach.

# Install the MCP server client globally
npm install -g @skyfi/tak-server-mcp

# Run the MCP server using environment variables (stdio transport)
TAK_SERVER_URL=https://your-tak-server.com \
TAK_SERVER_API_TOKEN=your-token \
tak-server-mcp

# Or start with a configuration file
tak-server-mcp --config ./config.json

Additional notes

If you prefer a containerized setup, you can run the MCP server in Docker and expose the port to your environment.

Configuration and usage details

{
  "takServer": {
    "url": "https://your-tak-server.com",
    "apiToken": "your-token",
    "verifySsl": true
  },
  "mcp": {
    "transport": "stdio",
    "port": 3000
  },
  "tools": {
    "enabledTools": ["tak_get_cot_events", "tak_spatial_query"]
  }
}

Available tools

tak_spatial_query

Query entities within geographic areas to retrieve spatially scoped results.

tak_calculate_distance

Calculate distances between points, with optional travel time estimates.

tak_find_nearest

Find nearest entities with bearing information and distance constraints.

tak_create_geofence

Create geofenced zones and set up alerts for entry/exit events.

tak_analyze_movement

Track movements and detect anomalies across entity histories.

tak_get_cot_events

Retrieve Cursor on Target events for real-time situational awareness.

tak_send_cot_event

Send CoT messages to share observations with other systems.

tak_subscribe_events

Subscribe to live event streams for continuous updates.

tak_get_entities

Get current entity states from TAK Server.

tak_get_missions

List and manage missions and related data.

tak_get_alerts

Retrieve and filter mission or system alerts.

tak_send_emergency

Broadcast emergency communications to the network.

tak_manage_data_packages

Upload and download data packages associated with missions.