mlab.sh exposes a Model Context Protocol (MCP) server that lets Claude and other AI assistants query threat intelligence, run scans, and manage your account directly from a conversation.
The MCP server is available at a single URL and supports two transports:
POST https://mlab.sh/mcp
GET https://mlab.sh/mcp
Authorization header. Tokens start with mcp_ and
can be created in Account → Settings → MCP Tokens or
via OAuth from any compatible AI client (e.g. Claude.ai).
Claude.ai supports remote MCP connectors via OAuth 2.0. No token to copy — authorization is handled automatically.
Claude Desktop uses a stdio bridge (mcp-remote) to connect to
remote HTTP servers. Requires Node.js.
mcp_xxx with your token):
| Tool | Description | Parameters |
|---|---|---|
| detect_ioc | Auto-detect IOC type and enrich IPs with geolocation & reputation | value |
| scan_ip | Look up threat intelligence for an IPv4 or IPv6 address | ip |
| start_domain_scan | Launch a domain scan (returns cached results instantly if available) | domain |
| get_domain_scan_results | Poll scan results — DNS, subdomains, SSL, security.txt, robots.txt | domain |
| get_scan_history | Recent scan history, optionally filtered by type | type? limit? |
| get_bookmarks | List saved bookmarks (IPs, domains, hashes) | limit? |
| add_bookmark | Save an IOC to bookmarks | value |
| remove_bookmark | Remove an IOC from bookmarks | value |
| get_scan_limits | Remaining daily quotas for IP, domain and file scans | — |
| get_account_info | Current user, organization and subscription plan | — |
MCP tokens are personal and scoped to your user account. You can create up to
5 active tokens. Tokens can be revoked at any time from
Account → Settings.
Tokens issued via OAuth (e.g. from Claude.ai) are also listed there,
labeled OAuth: <client name>.