Skip to content
AdminKit

Connect an AI agent to AdminKit's MCP server

AdminKit's public MCP server is open-source and self-hostable today from the mcp/ directory, even though the hosted endpoint at adminkit.net/mcp is not live yet — run adminkit-mcp locally and an agent already gets working check_ip, check_mail_auth and check_mcp_endpoint tools, while the tools that need the not-yet-deployed Check API return a clear 'not available yet' response instead of fabricated data.

By AdminKit team, Netbase JSC · Updated October 25, 2026

Two ways to use AdminKit’s MCP server today

AdminKit’s MCP server overview lists the 8 planned tools and is honest that the hosted endpoint at adminkit.net/mcp is not live yet. What that page doesn’t dwell on is that the server behind it is open source (MIT) and already runs, self-hosted, from the mcp/ directory — this guide covers the self-hosting path and exactly which tools return real results versus an honest “not available yet” today.

Install and run it

# from a checkout of the AdminKit repository
pip install ./mcp

# stdio transport (default) — what a locally-spawned client like Claude Desktop expects
adminkit-mcp

# or streamable HTTP, for a remote/network client
adminkit-mcp --http :8080

adminkit-mcp is not published to PyPI, npm, Docker Hub or an MCP registry yet, so install it from a local checkout rather than a package index. Point your MCP client’s server config at the adminkit-mcp executable (stdio) or http://localhost:8080 (HTTP), the same as any other local MCP server.

Configuration (environment variables)

VariableDefaultPurpose
ADMINKIT_API_BASEhttps://api.adminkit.netCheck API base URL (not reachable yet — see below).
ADMINKIT_SITE_BASEhttps://adminkit.netInterim fallback base for the three tools that have one.
ADMINKIT_API_KEYunsetOptional API key, attached as X-API-Key; never logged.
ADMINKIT_MCP_TIMEOUT_SECONDS10.0HTTP timeout for both backends.
ADMINKIT_MCP_RATE_LIMIT_PER_SECOND5.0Client-side rate limit applied to outbound calls.
ADMINKIT_MCP_ALLOW_PRIVATEfalseAllow check_mcp_endpoint to probe loopback/private targets (CI use only).

Which of the 8 tools actually return real data today

Every tool first tries the real Check API (/v1/check/...) and gets a 404/501 back, since the Check API itself is not deployed anywhere reachable yet (see the OpenAPI reference). What happens next differs by tool:

ToolBehaviour today
check_mcp_endpointWorks fully. A local, self-contained probe — never calls the Check API at all.
check_ipWorks via interim fallback to AdminKit’s live site function (adminkit.net/api/ip) once the Check API returns 404/501.
check_mail_authWorks via interim fallback to the live site’s SPF/DMARC function (adminkit.net/api/mailauth), same mechanism as check_ip.
check_domainReturns a structured “not available” result — there is no interim fallback for the whois/TLS/HTTP sub-checks it aggregates.
check_owned_portsReturns “not available yet” — this is an ownership-gated endpoint that only exists on the Check API.
explain_reportReturns “not available yet” — depends on the Check API’s saved-report storage.
get_radarReturns “not available yet” — depends on AdminKit Radar’s aggregated telemetry endpoint.

None of the “not available” responses fabricate a result — each returns the same envelope shape (result, evidence, fix_hint, report_url) with a plain message saying what isn’t live yet and a link to the matching public page, so an agent calling the tool gets a clear, structured answer either way.

One-shot probe, no server required

If you only need the endpoint-exposure check — the same one the GitHub Action runs in CI — you don’t need to run a server at all:

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

This prints the same JSON result (url, status, score, findings, evidence) the check_mcp_endpoint tool returns, and is exactly what the GitHub Action calls under the hood.

Why this matters for agent builders

If you’re building an agent that needs to check its own exposure, or a user’s, before acting — whether an MCP endpoint is safe to call, whether a domain’s mail setup looks wrong, what a caller’s own IP looks like — self-hosting today means you don’t have to wait for the hosted endpoint or the Check API to ship to start integrating. Three of eight tools are fully functional now, and the rest fail honestly instead of silently returning nothing or guessing. See our AI agent builders solutions page and the MCP endpoint check tool page for the fuller picture, and our guide to securing an MCP server if you’re the one building the server an agent like this would call.

Where AdminKit fits

The planned MCP & Agent Gateway is a different, complementary piece: it sits in front of your MCP server to enforce auth and tool allowlists, rather than being a set of tools an agent calls outward. Self-hosting adminkit-mcp today gives an agent the outward-facing check tools; the gateway, once live, protects the inward-facing server side.

This guide is general information, not a security audit of your specific network — see our disclaimer for what AdminKit's guidance does and does not commit to.

Frequently asked questions

Is adminkit-mcp published on PyPI?

No — install it from a local checkout of the AdminKit repository's mcp/ directory (pip install ./mcp), the same way the GitHub Action installs it. It is not published to PyPI, npm, Docker Hub or an MCP registry yet.

Which of the 8 planned tools actually work if I self-host today?

check_mcp_endpoint always works (it is a local, self-contained probe). check_ip and check_mail_auth work via an interim fallback to AdminKit's live site functions when the Check API itself returns 404/501. check_domain, check_owned_ports, explain_report and get_radar currently return a structured 'not_available' response, never fabricated data, until the Check API ships the routes they need.

Does this call the live, hosted adminkit.net/mcp endpoint?

Not unless you point your MCP client at it, and that hosted endpoint is not live yet (see /developers/mcp/). This guide is about running the same open-source server yourself, which works today regardless of whether the hosted endpoint has shipped.

Can I run it over HTTP instead of stdio, for a remote agent?

Yes — adminkit-mcp --http :8080 serves streamable HTTP on that host:port instead of stdio. The default (no --http flag) serves over stdio, the usual transport for a locally-spawned MCP client like Claude Desktop or an IDE integration.

Is there a one-shot command for CI, without running a full server?

Yes — adminkit-mcp probe <url> runs the endpoint-exposure probe once and prints JSON, no server process involved. This is also what the AdminKit GitHub Action uses under the hood.

Want AdminKit to watch this for you?

Free checks tell you the state today. Protective DNS and monitoring tell you when it changes.