Repository avatar
Other Tools
v1.0.0
active

mcp

io.github.middle-dot-network/mcp

46 read-only DNS, SPF/DKIM/DMARC/DNSBL, WHOIS/RDAP, ASN/BGP, GeoIP, CT logs, SSL & decoder tools.

Documentation

middle.network MCP Server

middle.network MCP connector - tool definition quality and endpoint health on Glama Official MCP Registry Validate License: MIT

Hosted, remote-only Model Context Protocol (MCP) server for middle.network - giving AI agents and coding assistants 46 passive, read-only DNS, email authentication, WHOIS/RDAP, BGP/ASN, GeoIP, Certificate Transparency, SSL/TLS, and network decoder tools over Streamable HTTP.

  • Remote MCP Endpoint (API Key + Open Discovery): https://mcp.middle.network/ (Streamable HTTP, MCP 2025-06-18, 2025-03-26, and 2024-11-05)
  • Remote MCP Endpoint (OAuth 2.1 + PKCE): https://mcp.middle.network/oauth/mcp (one-click browser sign-in for Claude.ai Connectors, ChatGPT Apps/Connectors, and OAuth-enabled MCP clients)
  • OAuth Discovery: https://mcp.middle.network/.well-known/oauth-authorization-server and /.well-known/oauth-protected-resource/oauth/mcp
  • Documentation: middle.network/developers/mcp/
  • Free API Key: middle.network/account/api-keys/ (mn_live_...)
  • Agent Skills & Multi-Platform Plugin: middle-dot-network/agent-plugin
  • n8n Community Node: n8n-nodes-middle-network

No local Node.js, Python, or Docker runtime is required. Authenticate either with OAuth 2.1 + PKCE (https://mcp.middle.network/oauth/mcp, with RFC 9728 / RFC 8414 discovery, Dynamic Client Registration, and Client ID Metadata Documents) or with a Bearer API key (Authorization: Bearer mn_live_... on https://mcp.middle.network/, where discovery methods work unauthenticated).

Safety & Design

  • 100% passive and read-only: Every exposed MCP tool carries readOnlyHint: true, destructiveHint: false, and idempotentHint: true. Active traffic tools (port scanners, HTTP probes, ICMP ping) are excluded from MCP by default.
  • Plain-English + structured output: Every tool returns both a concise plain-English summary and structured technical findings with copy-paste remediation steps.
  • Global DNS probes: Multi-region DNS tools (dns_propagation, dns_auth_vs_cache, dns_speed) run across worldwide probes; call list_probes (0 units) to discover probe IDs.

Quick Setup

Option A: One-Click OAuth 2.1 Sign-In (Claude.ai Connectors, ChatGPT Apps/Connectors, OAuth Clients)

Use the strict OAuth endpoint https://mcp.middle.network/oauth/mcp:

  • Claude.ai (Web / Desktop / Mobile): Settings > Connectors > Add custom connector -> URL https://mcp.middle.network/oauth/mcp, Authentication Sign in now, OAuth client Use Claude's published identity (CIMD) or Register automatically (DCR), Transport Streamable HTTP.
  • ChatGPT Apps / Connectors: Add connector URL https://mcp.middle.network/oauth/mcp -> ChatGPT auto-discovers OAuth 2.1 metadata, registers dynamically via /oauth/register, and opens your middle.network sign-in consent screen.

Option B: Bearer API Key (Claude Code, Cursor, VS Code, Windsurf, Gemini CLI, Antigravity)

  1. Create a free API key at middle.network/account/api-keys/ (starts with mn_live_).
  2. Add https://mcp.middle.network/ to your MCP client using one of the configs below.

Claude Code

claude mcp add --transport http middle-network https://mcp.middle.network/ \
  --header "Authorization: Bearer YOUR_MN_LIVE_KEY"

Or add to .mcp.json in your project root:

{
  "mcpServers": {
    "middle-network": {
      "type": "http",
      "url": "https://mcp.middle.network/",
      "headers": {
        "Authorization": "Bearer ${MIDDLE_NETWORK_API_KEY}"
      }
    }
  }
}

Cursor

Add to ~/.cursor/mcp.json (or .cursor/mcp.json in your workspace):

{
  "mcpServers": {
    "middle-network": {
      "url": "https://mcp.middle.network/",
      "headers": {
        "Authorization": "Bearer YOUR_MN_LIVE_KEY"
      }
    }
  }
}

VS Code / GitHub Copilot

Add to .vscode/mcp.json:

{
  "inputs": [
    {
      "id": "middle-network-api-key",
      "type": "promptString",
      "description": "middle.network API key (mn_live_...)",
      "password": true
    }
  ],
  "servers": {
    "middle-network": {
      "type": "http",
      "url": "https://mcp.middle.network/",
      "headers": {
        "Authorization": "Bearer ${input:middle-network-api-key}"
      }
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "middle-network": {
      "serverUrl": "https://mcp.middle.network/",
      "headers": {
        "Authorization": "Bearer YOUR_MN_LIVE_KEY"
      }
    }
  }
}

Gemini CLI

Install the full middle-dot-network/agent-plugin extension (includes this MCP server + 4 network/email runbook skills):

gemini extensions install https://github.com/middle-dot-network/agent-plugin

Or configure ~/.gemini/settings.json directly:

{
  "mcpServers": {
    "middle-network": {
      "httpUrl": "https://mcp.middle.network/",
      "headers": {
        "Authorization": "Bearer $MIDDLE_NETWORK_API_KEY"
      }
    }
  }
}

Google Antigravity

Add to ~/.gemini/config/mcp_config.json (or install the middle-dot-network/agent-plugin bundle):

{
  "mcpServers": {
    "middle-network": {
      "url": "https://mcp.middle.network/",
      "headers": {
        "Authorization": "Bearer YOUR_MN_LIVE_KEY"
      }
    }
  }
}

Available Tools (46)

DNS Records, Health & Global Propagation

ToolDescription & ProtocolsCost
dns_lookupLook up all common DNS records (A, AAAA, CNAME, MX, NS, TXT, SOA, CAA) with plain-English explanations2 units
dns_recordQuery a single DNS record type (A, AAAA, CNAME, MX, NS, TXT, SOA, CAA, PTR, SRV, DS, DNSKEY, TLSA, HTTPS, SVCB) with RCODE and timing2 units
dns_propagationCheck global DNS propagation across worldwide resolvers and regional probes3 units
reverse_dnsReverse DNS (rDNS / PTR) hostname lookup for an IPv4 or IPv6 address2 units
dnssecValidate the DNSSEC chain of trust (DS, DNSKEY, RRSIG, NSEC/NSEC3)2 units
dns_healthAudit every authoritative nameserver: glue records, SOA serial sync, delegation consistency, and timing2 units
dns_auth_vs_cacheCompare authoritative nameserver answers against cached resolvers (Google, Cloudflare, Quad9) to spot stale TTLs3 units
dns_speedBenchmark public DNS resolver latency (cached and uncached) across global probes3 units
subdomainsDiscover live subdomains from Certificate Transparency logs and common prefixes2 units
zone_precheckCompare live DNS records against proposed new nameservers before migrating DNS providers2 units
zone_formatLint, validate, and format a BIND DNS zone file1 unit

Email Authentication, Deliverability & Reputation

ToolDescription & ProtocolsCost
mxLook up Mail Exchange (MX) servers, verify A/AAAA resolution, and identify the email provider2 units
spfValidate SPF (TXT v=spf1), expand nested include/redirect chains, and count toward the RFC 7208 10-DNS-lookup limit2 units
dkimLook up DKIM selector TXT/CNAME keys, check RSA/Ed25519 key length and syntax2 units
dmarcInspect _dmarc TXT policy (p=none/quarantine/reject, sp, pct, adkim, aspf, rua, ruf)2 units
bimiValidate default._bimi record, SVG Tiny PS logo URL, and VMC/CMC mark certificate2 units
mta_stsValidate MTA-STS (_mta-sts TXT record and HTTPS policy file) for enforced SMTP TLS encryption2 units
tls_rptValidate SMTP TLS Reporting (_smtp._tls TLS-RPT) record for TLS delivery failure reports2 units
blacklistCheck an IP or domain against major spam blacklists and blocklists (DNSBL, RBL, Spamhaus, Barracuda, SURBL)2 units
email_headersParse raw email headers (Received hops, Authentication-Results, SPF, DKIM, DMARC, ARC)2 units
bulk_senderAudit compliance with Gmail, Yahoo, and Microsoft Outlook bulk sender rules2 units
email_scoreOverall 0 to 100 email authentication and deliverability score across SPF, DKIM, DMARC, MX, BIMI, MTA-STS, TLS-RPT, and blacklists2 units
email_generatorsGenerate copy-paste SPF, DMARC, DKIM, BIMI, and MTA-STS DNS records1 unit
dmarc_reportsAnalyse DMARC aggregate (RUA) reports from pasted XML or base64 .xml, .gz, or .zip files2 units

SSL/TLS Certificates, Fingerprints & Crawlers

ToolDescription & ProtocolsCost
ct_logsSearch Certificate Transparency (CT) logs for every SSL/TLS certificate issued for a domain2 units
cert_decoderDecode a PEM X.509 SSL/TLS certificate, chain, or CSR (SANs, issuer, expiry, key size)1 unit
ja4Decode JA4 and JA4+ fingerprints (JA4 TLS, JA4S, JA4H HTTP, JA4L, JA4X X.509, JA4T TCP, JA4SSH)1 unit
user_agentParse a User-Agent string or look up a known bot / AI crawler operator by name2 units

BGP/ASN Routing, WHOIS/RDAP, GeoIP & Ownership

ToolDescription & ProtocolsCost
asnLook up BGP prefixes, RPKI ROA validity, upstreams, peers, and PeeringDB IXPs for an ASN, IP, or domain2 units
whoisDomain WHOIS and RDAP registration lookup (registrar, creation/expiry dates, EPP status, nameservers)2 units
whois_ipIP address WHOIS and RDAP ownership (RIR allocation, CIDR netblock, organisation, abuse contact)2 units
domain_ageCheck domain registration age, creation date, last update, and days until expiry2 units
domain_availableCheck whether a domain name is available to register2 units
geoipIPv4/IPv6 geolocation (country, region, city, coordinates, timezone, ASN/ISP)2 units
reverse_ipFind reverse DNS (PTR) hostnames published for an IP address2 units
bulk_ipBatch enrich up to 50 IPv4/IPv6 addresses at once with ASN, owner, CIDR, GeoIP country, and PTR8 units
my_ipReturn the caller's public IPv4/IPv6 address, ISP, ASN, and approximate location2 units

Network Calculators & Decoders

ToolDescription & ProtocolsCost
subnetIPv4 and IPv6 CIDR subnet calculator (network, broadcast, usable host range, netmask, host count)1 unit
ip_convertConvert IPv4/IPv6 between decimal, integer, hex, binary, compressed, expanded, and IPv4-mapped forms1 unit
punycodeConvert internationalised domain names (IDN / Unicode to xn-- Punycode) and detect homograph look-alikes1 unit
mac_vendorLook up MAC address hardware manufacturer (IEEE OUI / MA-L / MA-M / MA-S) and unicast/LAA flags1 unit
mac_ipv6Convert a MAC address to its IPv6 EUI-64 link-local (fe80::) address and back1 unit
encodersEncode and decode Base64, Base64URL, URL percent-encoding, and hex, or decode JWT headers/claims1 unit
time_convertConvert Unix epoch timestamps (seconds/ms), ISO-8601/RFC 2822 dates, and DNS TTL durations1 unit

Meta & Discovery Tools

ToolDescriptionCost
list_probesReturn available global probe locations (id, city, country, continent) for the regions parameter0 units
verify_api_keyVerify your Bearer API key and inspect daily/per-minute quota limits without spending units0 units

Built-In MCP Prompts (4)

PromptArgumentsWorkflow
diagnose_email_deliverabilitydomain, selector?Runs email_score, spf, dmarc, dkim, mx, and blacklist, then outputs prioritized copy-paste DNS fixes
audit_dns_migrationdomain, nameservers?Runs dns_lookup, dns_health, dnssec, and zone_precheck before a nameserver cutover
investigate_domain_ownershipdomainRuns whois, domain_age, ct_logs, subdomains, dns_lookup, and asn for vendor due diligence or triage
inspect_ip_networkipRuns asn, whois_ip, geoip, reverse_dns, and blacklist to profile an IP address

Built-In MCP Resources (3)

  • middle-network://catalog - Full MCP tool catalog grouped by category with cost units and execution scope
  • middle-network://probes - Live global probe locations for the regions parameter
  • middle-network://openapi - Complete OpenAPI 3.2 specification for the middle.network API

Registry Metadata

This repository hosts the canonical registry manifests for https://mcp.middle.network/:

Publishing to the Official MCP Registry

Organization owners can publish via the included GitHub Actions OIDC workflow (Actions > Publish to Official MCP Registry > Run workflow or by tagging v1.0.0), or locally with mcp-publisher:

mcp-publisher login github
mcp-publisher publish

License

MIT - Copyright (c) 2026 Middle Enterprises Pty Ltd (ABN 88 633 909 412, Australia). See LICENSE.md.

No installation packages available.

Remote