JUHE API Marketplace
jfuginay avatar
MCP Server

TAK Server MCP

A Model Context Protocol server that integrates TAK Server with AI systems, providing geospatial-aware tools for querying, analyzing, and interacting with tactical data.

3
GitHub Stars
11/22/2025
Last Updated
No Configuration
Please check the documentation below.
  1. Home
  2. MCP Servers
  3. tak-server-mcp

README Documentation

TAK Server MCP (Model Context Protocol)

A Model Context Protocol (MCP) server for integrating TAK Server with AI systems, enabling geospatial-aware deep research and analysis capabilities.

πŸš€ Features

Multi-Transport Support

  • stdio - Standard input/output for CLI integration
  • HTTP+SSE - Server-Sent Events for web integration
  • WebSocket - Real-time bidirectional communication

Complete Tool Suite (11 Tools)

πŸ“ Geospatial Operations

  • tak_spatial_query - Query entities within geographic areas
  • tak_calculate_distance - Distance calculations with travel time estimates
  • tak_find_nearest - Find nearest entities with bearings
  • tak_create_geofence - Create geofenced areas with alerts
  • tak_analyze_movement - Track movements and detect anomalies

πŸ“‘ Real-time Operations

  • tak_get_cot_events - Retrieve Cursor on Target events
  • tak_send_cot_event - Send CoT messages
  • tak_subscribe_events - Subscribe to live event streams
  • tak_get_entities - Get current entity states

🚨 Mission & Emergency

  • tak_get_missions - List and manage missions
  • tak_get_alerts - Retrieve and filter alerts
  • tak_send_emergency - Send emergency broadcasts
  • tak_manage_data_packages - Upload/download data packages

Advanced Features

  • πŸ” Multiple authentication methods (OAuth 2.0, API tokens, certificates)
  • πŸ“Š H3 hexagonal indexing for spatial queries
  • πŸ—ΊοΈ MGRS coordinate conversion
  • ⚑ Real-time WebSocket subscriptions
  • πŸ’Ύ Intelligent caching with TTL
  • πŸ” Comprehensive error handling

πŸ“‹ Prerequisites

  • Node.js >= 18.0.0
  • TAK Server instance (one of):
    • TAK Server (Official)
    • FreeTAKServer (Open Source)
    • taky (Lightweight, CoT only)

πŸ› οΈ Installation

Using NPM

npm install @skyfi/tak-server-mcp

From Source

git clone https://github.com/skyfi/tak-server-mcp.git
cd tak-server-mcp
npm install
npm run build

Using Docker

docker pull skyfi/tak-server-mcp:latest

βš™οΈ Configuration

Environment Variables

# TAK Server Connection
TAK_SERVER_URL=https://your-tak-server.com
TAK_SERVER_API_TOKEN=your-api-token
TAK_SERVER_CLIENT_CERT=/path/to/cert.pem
TAK_SERVER_CLIENT_KEY=/path/to/key.pem

# MCP Configuration
MCP_TRANSPORT=stdio
MCP_PORT=3000
MCP_AUTH_ENABLED=false

Configuration File

Create a config.json:

{
  "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"]
  }
}

πŸš€ Quick Start

1. With Claude Desktop

Add to your Claude Desktop config:

{
  "mcpServers": {
    "tak-server": {
      "command": "npx",
      "args": ["@skyfi/tak-server-mcp"],
      "env": {
        "TAK_SERVER_URL": "https://your-tak-server.com",
        "TAK_SERVER_API_TOKEN": "your-token"
      }
    }
  }
}

2. With Docker

docker run -it --rm \
  -e TAK_SERVER_URL=https://your-tak-server.com \
  -e TAK_SERVER_API_TOKEN=your-token \
  skyfi/tak-server-mcp:latest

3. Command Line

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

# Run with environment variables
TAK_SERVER_URL=https://your-tak-server.com \
TAK_SERVER_API_TOKEN=your-token \
tak-server-mcp

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

πŸ“š Usage Examples

Calculate Distance Between Points

{
  "tool": "tak_calculate_distance",
  "arguments": {
    "from": { "coordinates": [37.7749, -122.4194] },
    "to": { "coordinates": [37.7849, -122.4094] },
    "units": "kilometers"
  }
}

Find Nearest Friendly Units

{
  "tool": "tak_find_nearest",
  "arguments": {
    "point": { "coordinates": [37.7749, -122.4194] },
    "maxDistance": 5000,
    "entityTypes": ["a-f-*"],
    "maxResults": 5
  }
}

Create Security Geofence

{
  "tool": "tak_create_geofence",
  "arguments": {
    "name": "Base Perimeter",
    "shape": {
      "type": "circle",
      "center": [37.7749, -122.4194],
      "radius": 2000
    },
    "alertLevel": "high",
    "triggers": {
      "onEntry": true,
      "onExit": true
    }
  }
}

πŸ§ͺ Testing

Run Tests

# Run all tests
npm test

# Run with coverage
npm run test:coverage

# Run integration tests
npm run test:integration

Test with TAK Server

# Test connection
./test-all-tools.js

# Run specific tool tests
./test-all-tools.js --tool tak_spatial_query

🐳 Docker Deployment

Build Image

docker build -t tak-server-mcp .

Run Container

docker run -d \
  --name tak-mcp \
  -e TAK_SERVER_URL=https://tak.example.com \
  -e TAK_SERVER_API_TOKEN=your-token \
  -p 3000:3000 \
  tak-server-mcp

Docker Compose

version: '3.8'
services:
  tak-mcp:
    image: skyfi/tak-server-mcp:latest
    environment:
      TAK_SERVER_URL: ${TAK_SERVER_URL}
      TAK_SERVER_API_TOKEN: ${TAK_SERVER_API_TOKEN}
      MCP_TRANSPORT: http
      MCP_PORT: 3000
    ports:
      - "3000:3000"

🀝 Integration Examples

With LangChain

from langchain.tools import MCPTool

tak_tool = MCPTool(
    name="tak-server",
    server_url="http://localhost:3000",
    auth_token="your-mcp-token"
)

result = agent.run("Find all units within 10km of coordinates 37.7749, -122.4194")

With Anthropic SDK

import { MCPClient } from '@modelcontextprotocol/sdk';

const mcp = new MCPClient({
  serverUrl: 'http://localhost:3000',
  transport: 'http'
});

const tools = await mcp.listTools();
const result = await mcp.callTool('tak_spatial_query', {
  center: [37.7749, -122.4194],
  radius: 10000
});

πŸ—οΈ Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚   AI Systems    │────▢│  MCP Server  │────▢│ TAK Server  β”‚
β”‚  (LLMs, Agents) │◀────│              │◀────│             β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜     β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜     β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
         β”‚                      β”‚                     β”‚
         β”‚                      β–Ό                     β”‚
         β”‚              β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”              β”‚
         └─────────────▢│ Tool Handlersβ”‚β—€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                        β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

πŸ”’ Security

  • TLS 1.2+ for all communications
  • OAuth 2.0 and certificate-based authentication
  • Input validation and sanitization
  • Rate limiting and access controls
  • Audit logging for all operations

πŸ“– Documentation

  • API Reference
  • Tool Documentation
  • Integration Guide
  • Deployment Guide
  • Troubleshooting

🀝 Contributing

We welcome contributions! Please see our Contributing Guide for details.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

πŸ™ Acknowledgments

  • TAK Product Center for TAK Server documentation
  • Anthropic for the MCP specification
  • The open-source geospatial community

πŸ“ž Support

  • Issues: GitHub Issues
  • Discussions: GitHub Discussions
  • Email: support@skyfi.com

🚦 Status

  • βœ… All 11 advertised tools implemented
  • βœ… Multi-transport support (stdio, HTTP, SSE)
  • βœ… Docker support
  • βœ… FreeTAKServer compatible
  • 🚧 Test coverage in progress
  • 🚧 Additional tool development ongoing

Made with ❀️ by SkyFi

Quick Actions

View on GitHubView All Servers

Key Features

Model Context Protocol
Secure Communication
Real-time Updates
Open Source

Boost your projects with Wisdom Gate LLM API

Supporting GPT-5, Claude-4, DeepSeek v3, Gemini and more.

Enjoy a free trial and save 20%+ compared to official pricing.

Learn More
JUHE API Marketplace

Accelerate development, innovate faster, and transform your business with our comprehensive API ecosystem.

JUHE API VS

  • vs. RapidAPI
  • vs. API Layer
  • API Platforms 2025
  • API Marketplaces 2025
  • Best Alternatives to RapidAPI

For Developers

  • Console
  • Collections
  • Documentation
  • MCP Servers
  • Free APIs
  • Temp Mail Demo

Product

  • Browse APIs
  • Suggest an API
  • Wisdom Gate LLM
  • Global SMS Messaging
  • Temp Mail API

Company

  • What's New
  • Welcome
  • About Us
  • Contact Support
  • Terms of Service
  • Privacy Policy
Featured on Startup FameFeatured on Twelve ToolsFazier badgeJuheAPI Marketplace - Connect smarter, beyond APIs | Product Huntai tools code.marketDang.ai
Copyright Β© 2025 - All rights reserved