
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
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, MCP2025-06-18,2025-03-26, and2024-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-serverand/.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, andidempotentHint: 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; calllist_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)
- Create a free API key at middle.network/account/api-keys/ (starts with
mn_live_). - 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
| Tool | Description & Protocols | Cost |
|---|---|---|
dns_lookup | Look up all common DNS records (A, AAAA, CNAME, MX, NS, TXT, SOA, CAA) with plain-English explanations | 2 units |
dns_record | Query a single DNS record type (A, AAAA, CNAME, MX, NS, TXT, SOA, CAA, PTR, SRV, DS, DNSKEY, TLSA, HTTPS, SVCB) with RCODE and timing | 2 units |
dns_propagation | Check global DNS propagation across worldwide resolvers and regional probes | 3 units |
reverse_dns | Reverse DNS (rDNS / PTR) hostname lookup for an IPv4 or IPv6 address | 2 units |
dnssec | Validate the DNSSEC chain of trust (DS, DNSKEY, RRSIG, NSEC/NSEC3) | 2 units |
dns_health | Audit every authoritative nameserver: glue records, SOA serial sync, delegation consistency, and timing | 2 units |
dns_auth_vs_cache | Compare authoritative nameserver answers against cached resolvers (Google, Cloudflare, Quad9) to spot stale TTLs | 3 units |
dns_speed | Benchmark public DNS resolver latency (cached and uncached) across global probes | 3 units |
subdomains | Discover live subdomains from Certificate Transparency logs and common prefixes | 2 units |
zone_precheck | Compare live DNS records against proposed new nameservers before migrating DNS providers | 2 units |
zone_format | Lint, validate, and format a BIND DNS zone file | 1 unit |
Email Authentication, Deliverability & Reputation
| Tool | Description & Protocols | Cost |
|---|---|---|
mx | Look up Mail Exchange (MX) servers, verify A/AAAA resolution, and identify the email provider | 2 units |
spf | Validate SPF (TXT v=spf1), expand nested include/redirect chains, and count toward the RFC 7208 10-DNS-lookup limit | 2 units |
dkim | Look up DKIM selector TXT/CNAME keys, check RSA/Ed25519 key length and syntax | 2 units |
dmarc | Inspect _dmarc TXT policy (p=none/quarantine/reject, sp, pct, adkim, aspf, rua, ruf) | 2 units |
bimi | Validate default._bimi record, SVG Tiny PS logo URL, and VMC/CMC mark certificate | 2 units |
mta_sts | Validate MTA-STS (_mta-sts TXT record and HTTPS policy file) for enforced SMTP TLS encryption | 2 units |
tls_rpt | Validate SMTP TLS Reporting (_smtp._tls TLS-RPT) record for TLS delivery failure reports | 2 units |
blacklist | Check an IP or domain against major spam blacklists and blocklists (DNSBL, RBL, Spamhaus, Barracuda, SURBL) | 2 units |
email_headers | Parse raw email headers (Received hops, Authentication-Results, SPF, DKIM, DMARC, ARC) | 2 units |
bulk_sender | Audit compliance with Gmail, Yahoo, and Microsoft Outlook bulk sender rules | 2 units |
email_score | Overall 0 to 100 email authentication and deliverability score across SPF, DKIM, DMARC, MX, BIMI, MTA-STS, TLS-RPT, and blacklists | 2 units |
email_generators | Generate copy-paste SPF, DMARC, DKIM, BIMI, and MTA-STS DNS records | 1 unit |
dmarc_reports | Analyse DMARC aggregate (RUA) reports from pasted XML or base64 .xml, .gz, or .zip files | 2 units |
SSL/TLS Certificates, Fingerprints & Crawlers
| Tool | Description & Protocols | Cost |
|---|---|---|
ct_logs | Search Certificate Transparency (CT) logs for every SSL/TLS certificate issued for a domain | 2 units |
cert_decoder | Decode a PEM X.509 SSL/TLS certificate, chain, or CSR (SANs, issuer, expiry, key size) | 1 unit |
ja4 | Decode JA4 and JA4+ fingerprints (JA4 TLS, JA4S, JA4H HTTP, JA4L, JA4X X.509, JA4T TCP, JA4SSH) | 1 unit |
user_agent | Parse a User-Agent string or look up a known bot / AI crawler operator by name | 2 units |
BGP/ASN Routing, WHOIS/RDAP, GeoIP & Ownership
| Tool | Description & Protocols | Cost |
|---|---|---|
asn | Look up BGP prefixes, RPKI ROA validity, upstreams, peers, and PeeringDB IXPs for an ASN, IP, or domain | 2 units |
whois | Domain WHOIS and RDAP registration lookup (registrar, creation/expiry dates, EPP status, nameservers) | 2 units |
whois_ip | IP address WHOIS and RDAP ownership (RIR allocation, CIDR netblock, organisation, abuse contact) | 2 units |
domain_age | Check domain registration age, creation date, last update, and days until expiry | 2 units |
domain_available | Check whether a domain name is available to register | 2 units |
geoip | IPv4/IPv6 geolocation (country, region, city, coordinates, timezone, ASN/ISP) | 2 units |
reverse_ip | Find reverse DNS (PTR) hostnames published for an IP address | 2 units |
bulk_ip | Batch enrich up to 50 IPv4/IPv6 addresses at once with ASN, owner, CIDR, GeoIP country, and PTR | 8 units |
my_ip | Return the caller's public IPv4/IPv6 address, ISP, ASN, and approximate location | 2 units |
Network Calculators & Decoders
| Tool | Description & Protocols | Cost |
|---|---|---|
subnet | IPv4 and IPv6 CIDR subnet calculator (network, broadcast, usable host range, netmask, host count) | 1 unit |
ip_convert | Convert IPv4/IPv6 between decimal, integer, hex, binary, compressed, expanded, and IPv4-mapped forms | 1 unit |
punycode | Convert internationalised domain names (IDN / Unicode to xn-- Punycode) and detect homograph look-alikes | 1 unit |
mac_vendor | Look up MAC address hardware manufacturer (IEEE OUI / MA-L / MA-M / MA-S) and unicast/LAA flags | 1 unit |
mac_ipv6 | Convert a MAC address to its IPv6 EUI-64 link-local (fe80::) address and back | 1 unit |
encoders | Encode and decode Base64, Base64URL, URL percent-encoding, and hex, or decode JWT headers/claims | 1 unit |
time_convert | Convert Unix epoch timestamps (seconds/ms), ISO-8601/RFC 2822 dates, and DNS TTL durations | 1 unit |
Meta & Discovery Tools
| Tool | Description | Cost |
|---|---|---|
list_probes | Return available global probe locations (id, city, country, continent) for the regions parameter | 0 units |
verify_api_key | Verify your Bearer API key and inspect daily/per-minute quota limits without spending units | 0 units |
Built-In MCP Prompts (4)
| Prompt | Arguments | Workflow |
|---|---|---|
diagnose_email_deliverability | domain, selector? | Runs email_score, spf, dmarc, dkim, mx, and blacklist, then outputs prioritized copy-paste DNS fixes |
audit_dns_migration | domain, nameservers? | Runs dns_lookup, dns_health, dnssec, and zone_precheck before a nameserver cutover |
investigate_domain_ownership | domain | Runs whois, domain_age, ct_logs, subdomains, dns_lookup, and asn for vendor due diligence or triage |
inspect_ip_network | ip | Runs 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 scopemiddle-network://probes- Live global probe locations for theregionsparametermiddle-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/:
server.json- Official MCP Registry manifest (io.github.middle-dot-network/mcp)glama.json- Glama MCP Connector maintainer verification and live TDQS tracking
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.