Skip to main content

AdminKit MCP server + MCP endpoint scan Action

Open-source Model Context Protocol server that gives AI agents (Claude, ChatGPT, Cursor, VS Code, any MCP client) real network, DNS and mail checks from AdminKit, plus a read-only GitHub Action that scans your own MCP endpoint for anonymous-access exposure.

Every tool returns real data from the live AdminKit Check API (https://api.adminkit.net) or pure local computation. When a check cannot be reached, the tool says so; it never invents a result.

Tools

Tool What it does
check_ip Your own public IP, ASN and a CGNAT hint (only the caller's own IP).
dns_lookup A / AAAA / MX / TXT / NS / CAA / PTR / SOA / CNAME lookup.
check_mail_auth SPF and DMARC posture for a domain.
check_domain Aggregate domain health: whois, TLS certificate, HTTP security headers.
check_owned_ports Port exposure check for targets you have verified you own.
check_mcp_endpoint Exposure probe for an MCP server (initialize + tools/list only).
explain_report Plain-language AI explanation of a shared AdminKit report (needs an API key).
get_radar Aggregated honeypot / telemetry trends from AdminKit Radar.
subnet_calc, ip_info, ipv6_info, mac_vendor, user_agent Offline utilities: subnet math, address info, OUI vendor lookup, User-Agent parsing.

Install

Python 3.12+.

pip install "git+https://github.com/netbasecorp/adminkit-mcp@v0.1.0"

or run it without installing, with uv:

uvx --from "git+https://github.com/netbasecorp/adminkit-mcp@v0.1.0" adminkit-mcp

Claude Desktop / Claude Code / Cursor (stdio)

{
  "mcpServers": {
    "adminkit": {
      "command": "uvx",
      "args": ["--from", "git+https://github.com/netbasecorp/adminkit-mcp@v0.1.0", "adminkit-mcp"]
    }
  }
}

Streamable HTTP

adminkit-mcp --http 127.0.0.1:8080

Configuration (environment only)

Variable Default Purpose
ADMINKIT_API_BASE https://api.adminkit.net Check API base URL.
ADMINKIT_SITE_BASE https://adminkit.net Site base URL (fallback for some checks).
ADMINKIT_API_KEY unset Optional AdminKit API key (explain_report, higher limits). Never logged.
ADMINKIT_MCP_TIMEOUT_SECONDS 10 Per-request timeout.
ADMINKIT_MCP_RATE_LIMIT_PER_SECOND 5 Client-side rate limit.

GitHub Action: scan your MCP endpoint

Checks one MCP endpoint for: initialize accepted without credentials, tool list readable anonymously, tool names that look like shell/file/network access, and no TLS. It only sends initialize and tools/list and never calls tools/call, so it is safe against a live server. Outputs a 0-100 exposure score, a job summary, and score / findings-json outputs.

- name: Scan our MCP endpoint
  id: scan
  uses: netbasecorp/adminkit-mcp@v0.1.0
  with:
    url: https://mcp.example.com/mcp
    fail-on: critical # none | warning | critical
- run: echo "score ${{ steps.scan.outputs.score }}"
Input Default Description
url (required) MCP endpoint URL to scan.
fail-on critical none, warning (any finding) or critical (high/critical finding).
api-key "" Reserved for sending results to the AdminKit dashboard; never sent to the target.
allow-private false Allow a private/loopback target (only for CI fixtures you started yourself).

An unreachable target always fails the step. A private target refused with allow-private: false is reported as skipped. Full workflow: examples/scan-mcp-endpoint.yml.

The same probe runs from the command line:

adminkit-mcp probe https://mcp.example.com/mcp

Scan only endpoints you own or are authorised to test.

Development

pip install -e ".[dev]"
pytest            # every test runs against local fakes on 127.0.0.1, no network
ruff check . && mypy
bash action/test/test_action.sh

Licence

MIT, see LICENSE. The AdminKit website, API and platform are separate proprietary services operated by Netbase JSC; this repository contains only the open-source client.

Metadata

Release files for adminkit-mcp 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for adminkit-mcp 0.1.0
File Size Uploaded Provenance Actions
adminkit_mcp-0.1.0.tar.gz 41.2 kB Without provenance Details for adminkit_mcp-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for adminkit-mcp 0.1.0
File Interpreter ABI Platform Actions
adminkit_mcp-0.1.0-py3-none-any.whl Python 3 none any Details for adminkit_mcp-0.1.0-py3-none-any.whl

Total release size: 76.9 kB

Release files / adminkit_mcp-0.1.0.tar.gz

Download URL adminkit_mcp-0.1.0.tar.gz
Size 41.2 kB
Tags Source
SHA-256 checksum
How to use checksums
3eb014087d47ddf7a03e667fb34f18c287dab0990bd7774268f72bfd9b1c863f
BLAKE2b-256 checksum
How to use checksums
f4a78b6af58cffedd96581c57501717f1433a4ba56928ea9e7366d849fdf8d22
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / adminkit_mcp-0.1.0-py3-none-any.whl

Download URL adminkit_mcp-0.1.0-py3-none-any.whl
Size 35.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9bd475f8f8e2b458d59700689c6bdb2108079733f5c09d584fb1c70dec6f2026
BLAKE2b-256 checksum
How to use checksums
dda82fc33ddf14d5a8002cfa74843a14a2bbc7c871426627df22d4807ae28f83
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for adminkit-mcp 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page