mlab.sh

खतरा खुफिया जानकारी: IOC (IP, डोमेन, URL, हैश) समृद्ध करें, CVE और अभिनेताओं की खोज करें, SBOM स्कैन करें

दस्तावेज़

Skip to Content

mlab docs

Search⌘ K

Documentation Overview

Getting Started

First steps Reading results Plans and quotas Verify Your Infrastructure API Guide

Tutorials

Tutorials I received a suspicious email Check a suspicious file Monitor your domain Is my dependency vulnerable? Connect mlab to your AI assistant

Scans & Lookups

Unified Search Domain intelligence Microsoft 365 tenant scans File analysis & content inspection Email (EML) Analysis URL Lookup Crypto Address Lookup MAC Address Lookup Email Lookup Phone Number Lookup Custom Scan

Monitoring

Security monitoring

Inventory

Overview Assets Map, Graph, Mail and Providers

Cloud Connections

Overview Security OVHcloud Cloudflare

Incidents

Overview Reporting duties API and AI agents

Workspaces

Workspaces Security and data The agent Memory forensics Cluster security Virtualization security

Flows

Overview Blocks Run and schedule API and AI agents

Organization

Team and roles Cases and tags Data and privacy

Developer API

API Reference Errors Pagination and filters Webhooks Code examples Versioning and status

Integrations

Overview MCP Integration n8n Integration GitHub Action VS Code Extension Browser Extension

Tools

RedKit · Infrastructure Scanner RedKit alerting

Support

Troubleshooting FAQ Glossary Get in touch Become a Partner

GitHub

MCP Integration

Connect Claude and other AI assistants to mlab.sh through the Model Context Protocol server.

Copy MarkdownOpen

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.

Official support: Claude only. This MCP integration has been tested and is officially supported on Claude (claude.ai web and Claude Desktop). Other MCP-compatible clients may work but are neither tested nor guaranteed - use them at your own discretion and expect no dedicated support for third-party clients.

Endpoint and transportsCopy Anchor Link

The MCP server is available at a single URL and supports two transports:

  • Streamable HTTP - POST https://mlab.sh/mcp
  • SSE - GET https://mlab.sh/mcp

Authentication: All requests require a Bearer token in the 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 web connector (recommended)Copy Anchor Link

Claude.ai supports remote MCP connectors via OAuth 2.0. No token to copy - authorization is handled automatically.

Open Claude.ai → Settings → Integrations → Add connector (or the connector icon in the chat input bar).

Enter the MCP server URL:

Copy Text

https://mlab.sh/mcp

Claude.ai will redirect you to mlab.sh to authorize the connection. Click Authorize - done.

Claude Desktop (local)Copy Anchor Link

Claude Desktop uses a stdio bridge (mcp-remote) to connect to remote HTTP servers. Requires Node.js.

Create an MCP token in Account → Settings → MCP Tokens.

Open your Claude Desktop config file:

Copy Text

# macOS
~/Library/Application Support/Claude/claude_desktop_config.json

# Windows
%APPDATA%\Claude\claude_desktop_config.json

Add the following entry (replace mcp_xxx with your token):

Copy Text

{
  "mcpServers": {
    "mlab": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://mlab.sh/mcp",
        "--header",
        "Authorization: Bearer mcp_xxx"
      ]
    }
  }
}

Restart Claude Desktop. The mlab tools will appear in the tool picker.

Available toolsCopy Anchor Link

The server registers 85 tools. tools/list shows a token only the ones its role and plan can use, less the groups turned off for AI agents (see What AI agents may do): cases need the Team or Enterprise plan, and workspaces, monitoring and flows need a plan that includes them.

Account and bookmarksCopy Anchor Link

ToolDescriptionParameters
get_account_infoCurrent user, organization and subscription plan-
get_scan_limitsRemaining daily quotas for IP, domain, file and crypto scans-
get_scan_historyRecent scan history, optionally filtered by typetype? limit?
get_bookmarksList saved bookmarks (IPs, domains, hashes)limit?
add_bookmarkSave an IOC to bookmarksvalue
remove_bookmarkRemove an IOC from bookmarksvalue
watchdog_listThe organization's scheduled scans: type, target, frequency, next and last run-
get_file_reportReport of a file already analysed by mlab (sandbox, static tools, YARA), by SHA-256: verdict, findings, indicators, related samplessha256

Lookups and domain scansCopy Anchor Link

Each lookup spends scan quota.

ToolDescriptionParameters
detect_iocAuto-detect IOC type and enrich IPs with geolocation & reputationvalue
scan_ipLook up an IPv4 or IPv6 address, or a CIDR range. Geolocation, ISP, ASN, network type, TOR status, reverse DNS with forward confirmation, and the RDAP allocation with its abuse contactip
scan_cryptoLook up a blockchain address - labels, sanctions, risk score. 18 chains, all reachable. Pass chain for an EVM address: it cannot be derived, and a wrong guess loses every labeladdress chain?
scan_emailLook up an email addressemail
scan_phoneLook up a phone numbernumber
scan_macLook up a MAC address (vendor)mac
scan_urlAnalyse a URLurl
scan_hashLook up a file hash (MD5, SHA-1, SHA-256)hash
scan_bashAnalyse a pasted shell scriptcontent
scan_sbomScan a pasted lockfile or SBOM (npm, yarn, pnpm, Cargo, pip, Poetry, uv, Pipfile, Go, Composer, Bundler, Maven, Gradle, NuGet, Pub, Hex, CycloneDX, SPDX). One finding per package and CVE, worst first, with severity, CVSS, fixed version, and what the scan could not cover. 2 MB maxcontent format?
start_domain_scanLaunch a domain scan (returns cached results instantly if available)domain
get_domain_scan_resultsPoll scan results - DNS, subdomains, SSL, security.txt, robots.txtdomain

Threat intelligence and triageCopy Anchor Link

No quota.

ToolDescriptionParameters
cve_searchSearch CVEs by keyword, product, vendor or CVE ID. Returns CVSS score, severity, EPSS probability, KEV status and affected productsquery severity? date_start? date_end? limit? page?
cve_detailFull record for a single CVE - CVSS vector breakdown, CWE weaknesses, references, EPSS exploitation probability and CISA KEV datescve_id
search_actorsSearch threat actors by name or alias - optional filters on origin, incident type and targeted sector. MISP Galaxy data onlyquery origin? motivation? sector? limit?
get_actorProfile of a threat actor from MISP Galaxy (description, origin, state sponsor, synonyms, targeted countries & sectors, references) plus its MITRE ATT&CK tools and techniques. Keep the sources block when quotingslug
analyze_emailAnalyse a raw email (.eml source) for phishing: sender, Reply-To and Return-Path, relay path, SPF/DKIM/DMARC verdicts, attachments with SHA-256, URLs and indicatorsraw
triage_indicatorsTriage up to 200 pasted indicators from what mlab already knows, without spending quotaindicators

Cases and incidentsCopy Anchor Link

ToolDescriptionParameters
list_casesList the organization's cases-
get_caseOpen a case with its indicators and commentsuuid
create_caseOpen a casetitle
add_case_indicatorsFile indicators into a caseuuid indicators
add_case_commentComment on a caseuuid body
get_incidentRead an incident: deadlines, timeline, indicatorsuuid
open_incidentOpen an incidenttitle
update_incidentUpdate an incident's fieldsuuid
add_incident_entryWrite in an incident's timelineuuid body
mark_incident_noticeRecord a reporting notice as sentuuid deadline

RedKitCopy Anchor Link

ToolDescriptionParameters
redkit_assetsThe organization's domains and IP ranges declared for RedKit, whether each is validated, and each domain's latest audittype? state? query? limit? offset?
redkit_quotaRedKit credits: used, limit, remaining-
redkit_scansRecent web audits and IP range scans, newest first-
redkit_scan_resultFindings of one web audit, with counts by severity (dismissed findings flagged)scan include_info?
redkit_network_hostsHosts seen by the latest IP range scans, with open ports, services and versions-
redkit_network_hostHistory of one host across IP range scansip
redkit_network_vulnsLatest CVE report for the services exposed on the organization's IP ranges-
redkit_start_domain_auditStart a web audit of a validated domain. Spends one RedKit credit; intrusive plugins send attack payloadsdomain plugins
redkit_start_network_scanStart a port scan of an IP range inside a validated network (quick or deep). Spends one RedKit creditrange profile?
m365_tenantsConnected Microsoft 365 tenants and their status-
m365_scansMicrosoft 365 posture scans, newest first-
m365_scan_findingsFindings of one Microsoft 365 scan, worst firstscan
m365_start_scanStart a Microsoft 365 posture scan of a connected tenant. Spends one RedKit credittenant_id profile?
code_runsSource-code analysis runs from the organization's CI, newest firststatus? limit?
code_runOne source-code analysis run in full: findings, dependencies and their advisoriesrun

Security monitoringCopy Anchor Link

ToolDescriptionParameters
monitoring_findingsOpen monitoring findings across validated domains and networks, worst first, pagedasset? severity? kev? epss? sort? query? limit? offset?
monitoring_assetsThe infrastructure inventory with criticality, owner, environment, tags and verificationtype? verified? criticality? owner? tag? query? limit? offset?
domain_techTechnologies fingerprinted on a domain's hosts, from the last fingerprint rundomain hosts?

RedKit flowsCopy Anchor Link

ToolDescriptionParameters
flows_listList the organization's flows-
flow_catalogThe block catalog-
flow_getRead a flowuuid version?
flow_validateCheck a flow without saving itgraph
flow_saveSave a flow draftname graph
flow_publishPublish a flowuuid
flow_runRun a flow on verified domains (counts against the plan's monthly flow runs)uuid
flow_run_statusRead a flow run and what it foundrun
flow_runsList a flow's runsuuid
flow_run_cancelCancel a flow runrun

WorkspacesCopy Anchor Link

Investigation tools over data that stays on the organization's own hosts, through the workspace's agents. A workspace answers only if its AI agents (MCP) switch is on.

ToolDescription
workspace_listWorkspaces you can open, their agents and the tools they run
workspace_agentsThe agents of one workspace and their live state
workspace_memory_dumps, workspace_memory_indexList memory dumps on the engram agents, and index one on its host
workspace_memory_overview, workspace_memory_process, workspace_memory_read, workspace_memory_registryRead an indexed dump: process list and findings, one process in full, up to 4 KiB of memory, a registry key
workspace_memory_yara, workspace_memory_yara_statusRun YARA over a dump's processes on the host, and follow the job
workspace_cluster_list, workspace_cluster_images, workspace_cluster_image, workspace_cluster_events, workspace_cluster_configKubernetes clusters (k3sec): images and their vulnerabilities, runtime events, collection settings
workspace_virt_list, workspace_virt_guests, workspace_virt_guest, workspace_virt_events, workspace_virt_config, workspace_virt_auditProxmox VE clusters (virtsec): guests and isolation risks, runtime events, collection settings, security posture

What AI agents may doCopy Anchor Link

In Account → Settings, you can turn whole groups of tools off for every MCP token and OAuth grant you hold; the change applies from the next call. Your organization's role and plan still decide first: these switches only narrow them.

Most groups are on until you turn them off. Three stay off until you turn them on, because a finding or a crawled page can carry text written to steer an agent, and each of them acts on your behalf:

GroupToolsWhy it is off by default
Launch RedKit scansredkit_start_domain_audit, redkit_start_network_scan, m365_start_scanActive scans (SQLi, XSS, SSRF...) of your assets; each launch spends a RedKit credit
Write and publish flowsflow_save, flow_publishA flow is standing automation that can alert, page and call webhooks. Never deletes one
Run flowsflow_run, flow_run_cancelEach run counts against the plan's monthly flow runs, and its outputs act (alerts, tickets, pages)

Token managementCopy Anchor Link

MCP tokens are personal and scoped to your user account: they act as you, with your organization role, and are not affected by API key permissions, which apply to organization API keys only. You can create up to 5 active tokens, or 100 on the Team and Enterprise plans. 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>.

Overview Ways to plug mlab.sh into your stack - AI assistants, automation platforms, CI/CD, your editor and your browser. n8n Integration Automate mlab.sh scanning, CVE intelligence and threat-actor data from your n8n workflows with the official community node package.

On this page

Endpoint and transports Claude.ai web connector (recommended) Claude Desktop (local) Available tools Account and bookmarks Lookups and domain scans Threat intelligence and triage Cases and incidents RedKit Security monitoring RedKit flows Workspaces What AI agents may do Token management

[{"@context":"https://schema.org","@type":"Organization","name":"mlab","url":"https://mlab.sh","logo":"https://doc.mlab.sh/logo.png"},{"@context":"https://schema.org","@type":"WebSite","name":"mlab documentation","url":"https://doc.mlab.sh","description":"Documentation for the entire mlab stack - core platform, API, dashboard, CLI, SDKs and infrastructure."}]