maltego-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MALTEGO_BIN | No | Path to the Maltego launcher binary. | /usr/bin/maltego |
| MALTEGO_HOME | No | Path to the Maltego user configuration directory. | ~/.maltego/v4.13.0 |
| MCP_HTTP_HOST | No | Default HTTP bind host. | 127.0.0.1 |
| MCP_HTTP_PORT | No | Default HTTP listen port. | 3000 |
| MCP_TRANSPORT | No | Default transport (stdio or http). | stdio |
| MCP_HTTP_TOKEN | No | Default Bearer token required for Streamable HTTP /mcp requests. | |
| MALTEGO_PYTHON_BIN | No | Python interpreter used by generated Python local transform templates. | python3 |
| MALTEGO_WORKSPACE_DIR | No | Base directory confining relative/workspace .mtgx, .entity, .machine, and transform outputs. | Current working directory |
| MALTEGO_MAX_GRAPH_BYTES | No | Maximum uncompressed GraphML / .mtgx graph size (default 32 MiB). | 33554432 |
| MALTEGO_TRANSFORM_TIMEOUT_MS | No | Default timeout (ms) for local and remote transforms. | 30000 |
| MALTEGO_ALLOW_EXTERNAL_TRANSFORMS | No | Set "true" to allow remote TDS/TRX, external DNS, RDAP/WHOIS, or HTTP/TLS fetches against non-localhost targets. | false |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| mtgx_inspectA | Inspect a Maltego .mtgx archive: returns metadata, entity/link type counts, and paginated entities and links. Cleanly detects and explains .mtgl (Pandora/Lucene) files. |
| mtgx_createA | Create a new Maltego v4.13.0 .mtgx archive atomically from entities and directed links. |
| mtgx_add_entitiesB | Add one or more entities to an existing .mtgx archive with auto-generated IDs and automatic grid layout when position is omitted. |
| mtgx_add_linksA | Add directed links between existing entities in a .mtgx archive (validates that sourceId and targetId exist). |
| mtgx_query_graphA | Query entities and induced links in a .mtgx archive by entity type, value substring, property match, bookmark, or k-hop BFS neighborhood from an entity_id. |
| mtgx_update_entityC | Update an entity's value, properties, notes, bookmark, position, or weight in a .mtgx archive. |
| mtgx_remove_entitiesA | Remove one or more entities by ID from a .mtgx archive and cascade-delete all incident links. |
| mtgx_export_graphmlA | Export a .mtgx archive as a standalone GraphML XML string or JSON, optionally writing atomically to an output .graphml or .json file. |
| entity_list_typesB | List built-in Maltego v4.13.0 entity types and optionally scan a custom directory or local Maltego Entities directory for plain-XML .entity files (skipping binary/encoded files with warnings). Supports filtering by category/search and pagination. |
| entity_get_schemaA | Return the full property schema, inheritance chain, primary value key, and canonical JSON/XML examples for a Maltego entity type. |
| entity_buildB | Validate an entity's type, primary value, and typed fields against Maltego v4.13.0 rules and emit canonical JSON plus optional Transform XML and GraphML mtg:MaltegoEntity XML. |
| entity_parse_xmlA | Parse Transform (or ), GraphML mtg:MaltegoEntity (or ), or .entity definition XML into normalized JSON. |
| entity_create_definitionB | Build a custom Maltego .entity XML definition and optionally write it safely within the configured workspace directory. |
| transform_run_localA | Execute a local Maltego transform binary/script directly (shell: false) using the Maltego v4.13.0 CLI protocol ( |
| transform_list_localB | Discover local and installed Maltego transforms, transform sets, and server definitions from Maltego v4.13.0 config directories ( |
| transform_discover_tdsB | Discover transforms, config/performance (TDS v2 XML) or transforms/machines/sets/entities (TRX v3 JSON) from a TDS/TRX server URL. Always permits localhost/127.0.0.1/::1; external hosts require MALTEGO_ALLOW_EXTERNAL_TRANSFORMS=true. |
| transform_run_tdsA | Execute a remote transform via TDS v2 XML ( |
| transform_build_requestA | Build a Maltego TDS v2 XML ( |
| transform_parse_responseB | Parse a Maltego TDS v2 / local XML ( |
| transform_create_local_templateB | Generate a ready-to-run local Maltego transform script (Python 3 or Node.js) with executable permissions plus a matching |
| osint_domain_to_dnsA | Resolve DNS records (A, AAAA, MX, NS, TXT, CNAME) for a domain via node:dns/promises, parse SPF/DMARC policies, and return normalized Maltego entities, links, GraphML, and MaltegoTransformResponseMessage XML. |
| osint_ip_analyzeB | Validate and classify an IPv4/IPv6 address (RFC1918, loopback, link-local, CGNAT, multicast, public), optionally perform reverse DNS PTR and RDAP/WHOIS enrichment, and emit Maltego graph/XML outputs. |
| osint_website_and_tlsA | Fetch an HTTP(S) page and inspect its TLS certificate via node:tls, extracting status, headers, title, tech hints, links, hosts, emails, and TLS SANs/Issuer/Subject into Maltego entities and GraphML/Transform XML. Non-local targets require allowExternalTransforms=true. |
| osint_extract_entitiesB | Extract deduplicated Maltego entities (EmailAddress, Domain, IPv4Address, URL, Hash, PhoneNumber) from input text or a safe local file path within workspaceDir, linking back to a root Document/Phrase. |
| osint_run_pipelineB | Run a bounded, cycle-free multi-step OSINT transform pipeline chaining extraction, DNS, IP analysis, and HTTP/TLS inspection, returning { graph, graphml, transform_xml, trace }. |
| maltego_environment_infoA | Inspect Maltego v4.13.0 installation binary, JVM info, non-secret userdir summary (TransformRepositories, TransformSets, Servers, Machines, Seeds), and optional var/log/messages.log tail. Strictly excludes MaltegoID/Certificates/credentials. |
| maltego_list_servers_and_machinesA | List .tas servers (credentials redacted), .seed/.hub files, TransformSets, and .machine scripts from Maltego userdir, or read/inspect a specific .machine script safely. |
| maltego_parse_machineB | Parse and validate a Maltego .machine DSL script (from inline source or a safe .machine file path), extracting machine id, displayName, execution blocks, and transform invocations. |
| maltego_create_machineA | Validate, format, and optionally write a Maltego .machine DSL script from structured fields or raw DSL source, enforcing balanced braces, valid transform IDs, and assertSafePath. |
| maltego_automation_pushA | Push a validated UTF-8 GraphML (...) payload over TCP to a running Maltego Desktop AutomationServer (--automationPort), closing write side (EOF) to trigger PasteRequestHandler. |
| maltego_cli_launchB | Build and optionally execute a validated shell-free argv invocation of Maltego CLI (/usr/bin/maltego) supporting --nosplash, --nogui, --open, --import, --machine, --automationPort, --userdir, --cachedir, --serverHttpAllowed, and --help. Defaults to dry_run=true. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 31 tools
Tools are grouped by domain and mostly target distinct operations across .mtgx archives, entity schemas, transforms, machines, and OSINT. A few clusters are close, such as entity_build vs. entity_create_definition and mtgx_inspect vs. mtgx_query_graph, but their descriptions make the boundaries workable.
Names consistently use snake_case with semantic prefixes for domain grouping (mtgx_, entity_, transform_, osint_, maltego_). Most names follow prefix_action_object patterns, though a few like osint_domain_to_dns and maltego_automation_push are less verb-first.
Thirty-one tools is heavy for a single MCP server, but the breadth of the Maltego integration means the tools are split across several coherent subdomains. The count is on the high side and could overwhelm selection, but most tools do appear to earn their place.
The surface covers graph archive creation/inspection/editing, entity schema/build/parse, local and TDS transform workflows, machine scripting, automation push, and OSINT transforms. Minor gaps remain, such as standalone link removal/update and archive deletion lifecycle operations.